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

package k8s

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

type Cluster_InternetGateway = isCluster_InternetGateway

func (m *Cluster) SetInternetGateway(v Cluster_InternetGateway) {
	m.InternetGateway = v
}

type Cluster_NetworkImplementation = isCluster_NetworkImplementation

func (m *Cluster) SetNetworkImplementation(v Cluster_NetworkImplementation) {
	m.NetworkImplementation = v
}

func (m *Cluster) SetId(v string) {
	m.Id = v
}

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

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

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

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

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

func (m *Cluster) SetStatus(v Cluster_Status) {
	m.Status = v
}

func (m *Cluster) SetHealth(v Cluster_Health) {
	m.Health = v
}

func (m *Cluster) SetNetworkId(v string) {
	m.NetworkId = v
}

func (m *Cluster) SetMaster(v *Master) {
	m.Master = v
}

func (m *Cluster) SetIpAllocationPolicy(v *IPAllocationPolicy) {
	m.IpAllocationPolicy = v
}

func (m *Cluster) SetGatewayIpv4Address(v string) {
	m.InternetGateway = &Cluster_GatewayIpv4Address{
		GatewayIpv4Address: v,
	}
}

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

func (m *Cluster) SetNodeServiceAccountId(v string) {
	m.NodeServiceAccountId = v
}

func (m *Cluster) SetReleaseChannel(v ReleaseChannel) {
	m.ReleaseChannel = v
}

func (m *Cluster) SetNetworkPolicy(v *NetworkPolicy) {
	m.NetworkPolicy = v
}

func (m *Cluster) SetKmsProvider(v *KMSProvider) {
	m.KmsProvider = v
}

func (m *Cluster) SetLogGroupId(v string) {
	m.LogGroupId = v
}

func (m *Cluster) SetCilium(v *Cilium) {
	m.NetworkImplementation = &Cluster_Cilium{
		Cilium: v,
	}
}

func (m *Cluster) SetScheduledMaintenance(v *ScheduledMaintenance) {
	m.ScheduledMaintenance = v
}

func (m *Cluster) SetWorkloadIdentityFederation(v *WorkloadIdentityFederation) {
	m.WorkloadIdentityFederation = v
}

type Master_MasterType = isMaster_MasterType

func (m *Master) SetMasterType(v Master_MasterType) {
	m.MasterType = v
}

func (m *Master) SetZonalMaster(v *ZonalMaster) {
	m.MasterType = &Master_ZonalMaster{
		ZonalMaster: v,
	}
}

func (m *Master) SetRegionalMaster(v *RegionalMaster) {
	m.MasterType = &Master_RegionalMaster{
		RegionalMaster: v,
	}
}

func (m *Master) SetLocations(v []*Location) {
	m.Locations = v
}

func (m *Master) SetEtcdClusterSize(v int64) {
	m.EtcdClusterSize = v
}

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

func (m *Master) SetEndpoints(v *MasterEndpoints) {
	m.Endpoints = v
}

func (m *Master) SetMasterAuth(v *MasterAuth) {
	m.MasterAuth = v
}

func (m *Master) SetVersionInfo(v *VersionInfo) {
	m.VersionInfo = v
}

func (m *Master) SetMaintenancePolicy(v *MasterMaintenancePolicy) {
	m.MaintenancePolicy = v
}

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

func (m *Master) SetMasterLogging(v *MasterLogging) {
	m.MasterLogging = v
}

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

func (m *Master) SetScalePolicy(v *MasterScalePolicy) {
	m.ScalePolicy = v
}

func (m *MasterAuth) SetClusterCaCertificate(v string) {
	m.ClusterCaCertificate = v
}

func (m *ZonalMaster) SetZoneId(v string) {
	m.ZoneId = v
}

func (m *ZonalMaster) SetInternalV4Address(v string) {
	m.InternalV4Address = v
}

func (m *ZonalMaster) SetExternalV4Address(v string) {
	m.ExternalV4Address = v
}

func (m *RegionalMaster) SetRegionId(v string) {
	m.RegionId = v
}

func (m *RegionalMaster) SetInternalV4Address(v string) {
	m.InternalV4Address = v
}

func (m *RegionalMaster) SetExternalV4Address(v string) {
	m.ExternalV4Address = v
}

func (m *RegionalMaster) SetExternalV6Address(v string) {
	m.ExternalV6Address = v
}

func (m *Location) SetZoneId(v string) {
	m.ZoneId = v
}

func (m *Location) SetSubnetId(v string) {
	m.SubnetId = v
}

func (m *MasterEndpoints) SetInternalV4Endpoint(v string) {
	m.InternalV4Endpoint = v
}

func (m *MasterEndpoints) SetExternalV4Endpoint(v string) {
	m.ExternalV4Endpoint = v
}

func (m *MasterEndpoints) SetExternalV6Endpoint(v string) {
	m.ExternalV6Endpoint = v
}

func (m *IPAllocationPolicy) SetClusterIpv4CidrBlock(v string) {
	m.ClusterIpv4CidrBlock = v
}

func (m *IPAllocationPolicy) SetNodeIpv4CidrMaskSize(v int64) {
	m.NodeIpv4CidrMaskSize = v
}

func (m *IPAllocationPolicy) SetServiceIpv4CidrBlock(v string) {
	m.ServiceIpv4CidrBlock = v
}

func (m *IPAllocationPolicy) SetClusterIpv6CidrBlock(v string) {
	m.ClusterIpv6CidrBlock = v
}

func (m *IPAllocationPolicy) SetServiceIpv6CidrBlock(v string) {
	m.ServiceIpv6CidrBlock = v
}

func (m *MasterMaintenancePolicy) SetAutoUpgrade(v bool) {
	m.AutoUpgrade = v
}

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

type MasterLogging_Destination = isMasterLogging_Destination

func (m *MasterLogging) SetDestination(v MasterLogging_Destination) {
	m.Destination = v
}

func (m *MasterLogging) SetEnabled(v bool) {
	m.Enabled = v
}

func (m *MasterLogging) SetLogGroupId(v string) {
	m.Destination = &MasterLogging_LogGroupId{
		LogGroupId: v,
	}
}

func (m *MasterLogging) SetFolderId(v string) {
	m.Destination = &MasterLogging_FolderId{
		FolderId: v,
	}
}

func (m *MasterLogging) SetAuditEnabled(v bool) {
	m.AuditEnabled = v
}

func (m *MasterLogging) SetClusterAutoscalerEnabled(v bool) {
	m.ClusterAutoscalerEnabled = v
}

func (m *MasterLogging) SetKubeApiserverEnabled(v bool) {
	m.KubeApiserverEnabled = v
}

func (m *MasterLogging) SetEventsEnabled(v bool) {
	m.EventsEnabled = v
}

func (m *NetworkPolicy) SetProvider(v NetworkPolicy_Provider) {
	m.Provider = v
}

func (m *KMSProvider) SetKeyId(v string) {
	m.KeyId = v
}

func (m *Cilium) SetRoutingMode(v Cilium_RoutingMode) {
	m.RoutingMode = v
}

func (m *MasterResources) SetCores(v int64) {
	m.Cores = v
}

func (m *MasterResources) SetCoreFraction(v int64) {
	m.CoreFraction = v
}

func (m *MasterResources) SetMemory(v int64) {
	m.Memory = v
}

type MasterScalePolicy_ScaleType = isMasterScalePolicy_ScaleType

func (m *MasterScalePolicy) SetScaleType(v MasterScalePolicy_ScaleType) {
	m.ScaleType = v
}

func (m *MasterScalePolicy) SetFixedScale(v *MasterScalePolicy_FixedScale) {
	m.ScaleType = &MasterScalePolicy_FixedScale_{
		FixedScale: v,
	}
}

func (m *MasterScalePolicy) SetAutoScale(v *MasterScalePolicy_AutoScale) {
	m.ScaleType = &MasterScalePolicy_AutoScale_{
		AutoScale: v,
	}
}

func (m *MasterScalePolicy_FixedScale) SetResourcePresetId(v string) {
	m.ResourcePresetId = v
}

func (m *MasterScalePolicy_AutoScale) SetMinResourcePresetId(v string) {
	m.MinResourcePresetId = v
}

func (m *WorkloadIdentityFederation) SetEnabled(v bool) {
	m.Enabled = v
}

func (m *WorkloadIdentityFederation) SetIssuer(v string) {
	m.Issuer = v
}

func (m *WorkloadIdentityFederation) SetJwksUri(v string) {
	m.JwksUri = v
}
