// Code generated by protoc-gen-goext. DO NOT EDIT.

package idp

import (
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *OpenSessionRequest) SetSubjectContainerId(v string) {
	m.SubjectContainerId = v
}

func (m *OpenSessionRequest) SetAgentId(v string) {
	m.AgentId = v
}

func (m *OpenSessionRequest) SetSessionType(v SessionType) {
	m.SessionType = v
}

func (m *SynchronizationSession) SetSessionId(v string) {
	m.SessionId = v
}

func (m *SynchronizationSession) SetAgentId(v string) {
	m.AgentId = v
}

func (m *SynchronizationSession) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *SynchronizationSession) SetExpiresAt(v *timestamppb.Timestamp) {
	m.ExpiresAt = v
}

func (m *SynchronizationSession) SetClosedAt(v *timestamppb.Timestamp) {
	m.ClosedAt = v
}

func (m *SynchronizationSession) SetSyncMode(v SyncMode) {
	m.SyncMode = v
}

func (m *SynchronizationSession) SetStatus(v SessionStatus) {
	m.Status = v
}

func (m *SynchronizationSession) SetProgressEntries(v []*ProgressEntry) {
	m.ProgressEntries = v
}

func (m *SynchronizationSession) SetFailReason(v string) {
	m.FailReason = v
}

func (m *SynchronizationSession) SetSessionType(v SessionType) {
	m.SessionType = v
}

type OpenSessionResponse_SessionInfo = isOpenSessionResponse_SessionInfo

func (m *OpenSessionResponse) SetSessionInfo(v OpenSessionResponse_SessionInfo) {
	m.SessionInfo = v
}

func (m *OpenSessionResponse) SetResult(v OpenSessionResult) {
	m.Result = v
}

func (m *OpenSessionResponse) SetOpenedSession(v *SynchronizationSession) {
	m.SessionInfo = &OpenSessionResponse_OpenedSession{
		OpenedSession: v,
	}
}

func (m *OpenSessionResponse) SetNextSessionAt(v *timestamppb.Timestamp) {
	m.SessionInfo = &OpenSessionResponse_NextSessionAt{
		NextSessionAt: v,
	}
}

func (m *OpenSessionResponse) SetReplicationToken(v string) {
	m.ReplicationToken = v
}

func (m *OpenSessionResponse) SetSynchronizationSettings(v *SynchronizationSettings) {
	m.SynchronizationSettings = v
}

func (m *OpenSessionMetadata) SetSessionId(v string) {
	m.SessionId = v
}

func (m *GetSessionRequest) SetSessionId(v string) {
	m.SessionId = v
}

func (m *GetSessionResponse) SetSession(v *SynchronizationSession) {
	m.Session = v
}

func (m *ReportSessionProgressRequest) SetSessionId(v string) {
	m.SessionId = v
}

func (m *ReportSessionProgressRequest) SetProgressEntries(v []*ProgressEntry) {
	m.ProgressEntries = v
}

func (m *ReportSessionProgressMetadata) SetSessionId(v string) {
	m.SessionId = v
}

func (m *ProgressEntry) SetObjectType(v RelatedObjectType) {
	m.ObjectType = v
}

func (m *ProgressEntry) SetChangeInfo(v []*ChangeInfo) {
	m.ChangeInfo = v
}

func (m *ChangeInfo) SetChangeType(v ChangeType) {
	m.ChangeType = v
}

func (m *ChangeInfo) SetSuccessful(v int64) {
	m.Successful = v
}

func (m *ChangeInfo) SetFailed(v int64) {
	m.Failed = v
}

func (m *ListSessionsRequest) SetSubjectContainerId(v string) {
	m.SubjectContainerId = v
}

func (m *ListSessionsRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListSessionsRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListSessionsRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListSessionsResponse) SetSessions(v []*SynchronizationSession) {
	m.Sessions = v
}

func (m *ListSessionsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *CloseSessionRequest) SetSessionId(v string) {
	m.SessionId = v
}

func (m *CloseSessionRequest) SetFailed(v bool) {
	m.Failed = v
}

func (m *CloseSessionRequest) SetFailReason(v string) {
	m.FailReason = v
}

func (m *CloseSessionMetadata) SetSessionId(v string) {
	m.SessionId = v
}

func (m *HeartbeatRequest) SetSessionId(v string) {
	m.SessionId = v
}

func (m *HeartbeatMetadata) SetSessionId(v string) {
	m.SessionId = v
}
