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

package dataproc

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

func (m *AutoscalingConfig) SetMaxHostsCount(v int64) {
	m.MaxHostsCount = v
}

func (m *AutoscalingConfig) SetPreemptible(v bool) {
	m.Preemptible = v
}

func (m *AutoscalingConfig) SetMeasurementDuration(v *durationpb.Duration) {
	m.MeasurementDuration = v
}

func (m *AutoscalingConfig) SetWarmupDuration(v *durationpb.Duration) {
	m.WarmupDuration = v
}

func (m *AutoscalingConfig) SetStabilizationDuration(v *durationpb.Duration) {
	m.StabilizationDuration = v
}

func (m *AutoscalingConfig) SetCpuUtilizationTarget(v float64) {
	m.CpuUtilizationTarget = v
}

func (m *AutoscalingConfig) SetDecommissionTimeout(v int64) {
	m.DecommissionTimeout = v
}

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

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

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

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

func (m *Subcluster) SetRole(v Role) {
	m.Role = v
}

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

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

func (m *Subcluster) SetHostsCount(v int64) {
	m.HostsCount = v
}

func (m *Subcluster) SetAssignPublicIp(v bool) {
	m.AssignPublicIp = v
}

func (m *Subcluster) SetAutoscalingConfig(v *AutoscalingConfig) {
	m.AutoscalingConfig = v
}

func (m *Subcluster) SetInstanceGroupId(v string) {
	m.InstanceGroupId = v
}

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

func (m *Host) SetSubclusterId(v string) {
	m.SubclusterId = v
}

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

func (m *Host) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *Host) SetRole(v Role) {
	m.Role = v
}
