public static final class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder> implements InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder mergeFrom(InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getMachineTypesList()
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;getMachineTypesList in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderpublic int getMachineTypesCount()
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;getMachineTypesCount in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderpublic String getMachineTypes(int index)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;getMachineTypes in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getMachineTypesBytes(int index)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;getMachineTypesBytes in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderindex - The index of the value to return.public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder setMachineTypes(int index, String value)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;index - The index to set the value at.value - The machineTypes to set.public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder addMachineTypes(String value)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;value - The machineTypes to add.public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder addAllMachineTypes(Iterable<String> values)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;values - The machineTypes to add.public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clearMachineTypes()
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder addMachineTypesBytes(com.google.protobuf.ByteString value)
Full machine-type names, e.g. "n1-standard-16".
repeated string machine_types = 79720065;value - The bytes of the machineTypes to add.public boolean hasRank()
Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.
optional int32 rank = 3492908;hasRank in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderpublic int getRank()
Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.
optional int32 rank = 3492908;getRank in interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilderpublic InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder setRank(int value)
Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.
optional int32 rank = 3492908;value - The rank to set.public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder clearRank()
Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.
optional int32 rank = 3492908;public final InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>public final InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder>Copyright © 2025 Google LLC. All rights reserved.