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

package connectionmanager

import (
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

type CreateConnectionRequest_SecretSpec = isCreateConnectionRequest_SecretSpec

func (m *CreateConnectionRequest) SetSecretSpec(v CreateConnectionRequest_SecretSpec) {
	m.SecretSpec = v
}

func (m *CreateConnectionRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *CreateConnectionRequest) SetName(v string) {
	m.Name = v
}

func (m *CreateConnectionRequest) SetDescription(v string) {
	m.Description = v
}

func (m *CreateConnectionRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *CreateConnectionRequest) SetParams(v *ConnectionParams) {
	m.Params = v
}

func (m *CreateConnectionRequest) SetLockboxSecretSpec(v *LockboxSecretSpec) {
	m.SecretSpec = &CreateConnectionRequest_LockboxSecretSpec{
		LockboxSecretSpec: v,
	}
}

func (m *CreateConnectionMetadata) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *UpdateConnectionRequest) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *UpdateConnectionRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateConnectionRequest) SetName(v string) {
	m.Name = v
}

func (m *UpdateConnectionRequest) SetDescription(v string) {
	m.Description = v
}

func (m *UpdateConnectionRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *UpdateConnectionRequest) SetParams(v *ConnectionParams) {
	m.Params = v
}

func (m *UpdateConnectionMetadata) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *DeleteConnectionRequest) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *ListConnectionRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *ListConnectionRequest) SetMdbClusterId(v string) {
	m.MdbClusterId = v
}

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

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

func (m *ListConnectionRequest) SetNamePatternOrId(v string) {
	m.NamePatternOrId = v
}

func (m *ListConnectionRequest) SetAuthorId(v string) {
	m.AuthorId = v
}

func (m *ListConnectionRequest) SetWithCanUse(v bool) {
	m.WithCanUse = v
}

func (m *ListConnectionRequest) SetIsOnpremise(v *wrapperspb.BoolValue) {
	m.IsOnpremise = v
}

func (m *ListConnectionRequest) SetIsManual(v *wrapperspb.BoolValue) {
	m.IsManual = v
}

func (m *ListConnectionRequest) SetDbType(v DBType) {
	m.DbType = v
}

func (m *ListConnectionResponse) SetConnection(v []*Connection) {
	m.Connection = v
}

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

func (m *GetConnectionRequest) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *ResolveClusterRequest) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *DeleteVersionMetadata) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *DeleteVersionMetadata) SetVersionId(v string) {
	m.VersionId = v
}

func (m *ListOperationsRequest) SetConnectionId(v string) {
	m.ConnectionId = v
}

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

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

func (m *ListOperationsResponse) SetOperations(v []*operation.Operation) {
	m.Operations = v
}

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