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

package trino

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

func (m *GetClusterRequest) SetClusterId(v string) {
	m.ClusterId = v
}

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

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

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

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

func (m *ListClustersResponse) SetClusters(v []*Cluster) {
	m.Clusters = v
}

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

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

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

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

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

func (m *CreateClusterRequest) SetTrino(v *TrinoConfigSpec) {
	m.Trino = v
}

func (m *CreateClusterRequest) SetNetwork(v *NetworkConfig) {
	m.Network = v
}

func (m *CreateClusterRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *CreateClusterRequest) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

func (m *CreateClusterRequest) SetLogging(v *LoggingConfig) {
	m.Logging = v
}

func (m *CreateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) {
	m.MaintenanceWindow = v
}

func (m *TrinoConfigSpec) SetCatalogs(v []*CatalogSpec) {
	m.Catalogs = v
}

func (m *TrinoConfigSpec) SetCoordinatorConfig(v *CoordinatorConfig) {
	m.CoordinatorConfig = v
}

func (m *TrinoConfigSpec) SetWorkerConfig(v *WorkerConfig) {
	m.WorkerConfig = v
}

func (m *TrinoConfigSpec) SetRetryPolicy(v *RetryPolicyConfig) {
	m.RetryPolicy = v
}

func (m *TrinoConfigSpec) SetVersion(v string) {
	m.Version = v
}

func (m *TrinoConfigSpec) SetAccessControl(v *AccessControlConfig) {
	m.AccessControl = v
}

func (m *CreateClusterMetadata) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *UpdateCoordinatorConfig) SetResources(v *Resources) {
	m.Resources = v
}

func (m *UpdateWorkerConfig) SetResources(v *Resources) {
	m.Resources = v
}

func (m *UpdateWorkerConfig) SetScalePolicy(v *UpdateWorkerConfig_WorkerScalePolicy) {
	m.ScalePolicy = v
}

type UpdateWorkerConfig_WorkerScalePolicy_ScaleType = isUpdateWorkerConfig_WorkerScalePolicy_ScaleType

func (m *UpdateWorkerConfig_WorkerScalePolicy) SetScaleType(v UpdateWorkerConfig_WorkerScalePolicy_ScaleType) {
	m.ScaleType = v
}

func (m *UpdateWorkerConfig_WorkerScalePolicy) SetFixedScale(v *FixedScalePolicy) {
	m.ScaleType = &UpdateWorkerConfig_WorkerScalePolicy_FixedScale{
		FixedScale: v,
	}
}

func (m *UpdateWorkerConfig_WorkerScalePolicy) SetAutoScale(v *AutoScalePolicy) {
	m.ScaleType = &UpdateWorkerConfig_WorkerScalePolicy_AutoScale{
		AutoScale: v,
	}
}

func (m *UpdateTrinoConfigSpec) SetCoordinatorConfig(v *UpdateCoordinatorConfig) {
	m.CoordinatorConfig = v
}

func (m *UpdateTrinoConfigSpec) SetWorkerConfig(v *UpdateWorkerConfig) {
	m.WorkerConfig = v
}

func (m *UpdateTrinoConfigSpec) SetVersion(v string) {
	m.Version = v
}

func (m *UpdateTrinoConfigSpec) SetRetryPolicy(v *RetryPolicyConfig) {
	m.RetryPolicy = v
}

func (m *UpdateTrinoConfigSpec) SetAccessControl(v *AccessControlConfig) {
	m.AccessControl = v
}

func (m *UpdateNetworkConfigSpec) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *UpdateClusterRequest) SetClusterId(v string) {
	m.ClusterId = v
}

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

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

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

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

func (m *UpdateClusterRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *UpdateClusterRequest) SetTrino(v *UpdateTrinoConfigSpec) {
	m.Trino = v
}

func (m *UpdateClusterRequest) SetNetworkSpec(v *UpdateNetworkConfigSpec) {
	m.NetworkSpec = v
}

func (m *UpdateClusterRequest) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

func (m *UpdateClusterRequest) SetLogging(v *LoggingConfig) {
	m.Logging = v
}

func (m *UpdateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) {
	m.MaintenanceWindow = v
}

func (m *UpdateClusterMetadata) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *DeleteClusterRequest) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *DeleteClusterMetadata) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *StartClusterRequest) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *StartClusterMetadata) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *StopClusterRequest) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *StopClusterMetadata) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *ListClusterOperationsRequest) SetClusterId(v string) {
	m.ClusterId = v
}

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

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

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

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