Package com.google.cloud.compute.v1
Class InstanceGroupManager.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
com.google.cloud.compute.v1.InstanceGroupManager.Builder
- All Implemented Interfaces:
InstanceGroupManagerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupManager
public static final class InstanceGroupManager.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
implements InstanceGroupManagerOrBuilder
Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, readInstance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use theregionInstanceGroupManagers resource.Protobuf type
google.cloud.compute.v1.InstanceGroupManager-
Method Summary
Modifier and TypeMethodDescriptionaddAllAutoHealingPolicies(Iterable<? extends InstanceGroupManagerAutoHealingPolicy> values) The autohealing policy for this managed instance group.addAllNamedPorts(Iterable<? extends NamedPort> values) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addAllTargetPools(Iterable<String> values) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.addAllVersions(Iterable<? extends InstanceGroupManagerVersion> values) Specifies the instance templates used by this managed instance group to create instances.addAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy value) The autohealing policy for this managed instance group.addAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group.The autohealing policy for this managed instance group.addAutoHealingPolicies(InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group.The autohealing policy for this managed instance group.addAutoHealingPoliciesBuilder(int index) The autohealing policy for this managed instance group.addNamedPorts(int index, NamedPort value) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addNamedPorts(int index, NamedPort.Builder builderForValue) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addNamedPorts(NamedPort value) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addNamedPorts(NamedPort.Builder builderForValue) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addNamedPortsBuilder(int index) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.addTargetPools(String value) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.addTargetPoolsBytes(com.google.protobuf.ByteString value) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.addVersions(int index, InstanceGroupManagerVersion value) Specifies the instance templates used by this managed instance group to create instances.addVersions(int index, InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances.Specifies the instance templates used by this managed instance group to create instances.addVersions(InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances.Specifies the instance templates used by this managed instance group to create instances.addVersionsBuilder(int index) Specifies the instance templates used by this managed instance group to create instances.build()clear()Specifies configuration that overrides the instance template configuration for the group.The autohealing policy for this managed instance group.The base instance name is a prefix that you want to attach to the names of all VMs in a MIG.Output only.Output only.An optional description of this resource.Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.Fingerprint of this resource.clearId()Output only.Instance flexibility allowing MIG to create VMs from multiple types of machines.Output only.The repair policy for this managed instance group.The URL of the instance template that is specified for this managed instance group.Output only.Pagination behavior of the listManagedInstances API method for this managed instance group.The name of the managed instance group.[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.Output only.Resource policies for this managed instance group.Output only.Output only.Output only.Standby policy for stopped and suspended instances.Stateful configuration for this Instanced Group ManagerOutput only.The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.The target number of running instances for this managed instance group.The policy that specifies how the MIG creates its VMs to achieve the target size.The target number of stopped instances for this managed instance group.The target number of suspended instances for this managed instance group.The update policy for this managed instance group.Specifies the instance templates used by this managed instance group to create instances.Output only.Specifies configuration that overrides the instance template configuration for the group.Specifies configuration that overrides the instance template configuration for the group.Specifies configuration that overrides the instance template configuration for the group.getAutoHealingPolicies(int index) The autohealing policy for this managed instance group.getAutoHealingPoliciesBuilder(int index) The autohealing policy for this managed instance group.The autohealing policy for this managed instance group.intThe autohealing policy for this managed instance group.The autohealing policy for this managed instance group.getAutoHealingPoliciesOrBuilder(int index) The autohealing policy for this managed instance group.The autohealing policy for this managed instance group.The base instance name is a prefix that you want to attach to the names of all VMs in a MIG.com.google.protobuf.ByteStringThe base instance name is a prefix that you want to attach to the names of all VMs in a MIG.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPolicy specifying the intended distribution of managed instances across zones in a regional managed instance group.Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.longgetId()Output only.Instance flexibility allowing MIG to create VMs from multiple types of machines.Instance flexibility allowing MIG to create VMs from multiple types of machines.Instance flexibility allowing MIG to create VMs from multiple types of machines.Output only.com.google.protobuf.ByteStringOutput only.The repair policy for this managed instance group.The repair policy for this managed instance group.The repair policy for this managed instance group.The URL of the instance template that is specified for this managed instance group.com.google.protobuf.ByteStringThe URL of the instance template that is specified for this managed instance group.getKind()Output only.com.google.protobuf.ByteStringOutput only.Pagination behavior of the listManagedInstances API method for this managed instance group.com.google.protobuf.ByteStringPagination behavior of the listManagedInstances API method for this managed instance group.getName()The name of the managed instance group.com.google.protobuf.ByteStringThe name of the managed instance group.getNamedPorts(int index) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.getNamedPortsBuilder(int index) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.int[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.getNamedPortsOrBuilder(int index) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.List<? extends NamedPortOrBuilder>[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.Output only.com.google.protobuf.ByteStringOutput only.Resource policies for this managed instance group.Resource policies for this managed instance group.Resource policies for this managed instance group.booleanOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Standby policy for stopped and suspended instances.Standby policy for stopped and suspended instances.Standby policy for stopped and suspended instances.Stateful configuration for this Instanced Group ManagerStateful configuration for this Instanced Group ManagerStateful configuration for this Instanced Group ManagerOutput only.Output only.Output only.getTargetPools(int index) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.com.google.protobuf.ByteStringgetTargetPoolsBytes(int index) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.intThe URLs for all TargetPool resources to which instances in theinstanceGroup field are added.com.google.protobuf.ProtocolStringListThe URLs for all TargetPool resources to which instances in theinstanceGroup field are added.intThe target number of running instances for this managed instance group.The policy that specifies how the MIG creates its VMs to achieve the target size.The policy that specifies how the MIG creates its VMs to achieve the target size.The policy that specifies how the MIG creates its VMs to achieve the target size.intThe target number of stopped instances for this managed instance group.intThe target number of suspended instances for this managed instance group.The update policy for this managed instance group.The update policy for this managed instance group.The update policy for this managed instance group.getVersions(int index) Specifies the instance templates used by this managed instance group to create instances.getVersionsBuilder(int index) Specifies the instance templates used by this managed instance group to create instances.Specifies the instance templates used by this managed instance group to create instances.intSpecifies the instance templates used by this managed instance group to create instances.Specifies the instance templates used by this managed instance group to create instances.getVersionsOrBuilder(int index) Specifies the instance templates used by this managed instance group to create instances.List<? extends InstanceGroupManagerVersionOrBuilder>Specifies the instance templates used by this managed instance group to create instances.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanSpecifies configuration that overrides the instance template configuration for the group.booleanThe base instance name is a prefix that you want to attach to the names of all VMs in a MIG.booleanOutput only.booleanOutput only.booleanAn optional description of this resource.booleanPolicy specifying the intended distribution of managed instances across zones in a regional managed instance group.booleanFingerprint of this resource.booleanhasId()Output only.booleanInstance flexibility allowing MIG to create VMs from multiple types of machines.booleanOutput only.booleanThe repair policy for this managed instance group.booleanThe URL of the instance template that is specified for this managed instance group.booleanhasKind()Output only.booleanPagination behavior of the listManagedInstances API method for this managed instance group.booleanhasName()The name of the managed instance group.booleanOutput only.booleanResource policies for this managed instance group.booleanOutput only.booleanOutput only.booleanOutput only.booleanStandby policy for stopped and suspended instances.booleanStateful configuration for this Instanced Group ManagerbooleanOutput only.booleanThe target number of running instances for this managed instance group.booleanThe policy that specifies how the MIG creates its VMs to achieve the target size.booleanThe target number of stopped instances for this managed instance group.booleanThe target number of suspended instances for this managed instance group.booleanThe update policy for this managed instance group.booleanhasZone()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanSpecifies configuration that overrides the instance template configuration for the group.Output only.Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.mergeFrom(InstanceGroupManager other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Instance flexibility allowing MIG to create VMs from multiple types of machines.The repair policy for this managed instance group.Resource policies for this managed instance group.Standby policy for stopped and suspended instances.Stateful configuration for this Instanced Group ManagerOutput only.The policy that specifies how the MIG creates its VMs to achieve the target size.The update policy for this managed instance group.removeAutoHealingPolicies(int index) The autohealing policy for this managed instance group.removeNamedPorts(int index) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.removeVersions(int index) Specifies the instance templates used by this managed instance group to create instances.Specifies configuration that overrides the instance template configuration for the group.setAllInstancesConfig(InstanceGroupManagerAllInstancesConfig.Builder builderForValue) Specifies configuration that overrides the instance template configuration for the group.setAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy value) The autohealing policy for this managed instance group.setAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group.setBaseInstanceName(String value) The base instance name is a prefix that you want to attach to the names of all VMs in a MIG.setBaseInstanceNameBytes(com.google.protobuf.ByteString value) The base instance name is a prefix that you want to attach to the names of all VMs in a MIG.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.Output only.setCurrentActions(InstanceGroupManagerActionsSummary.Builder builderForValue) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.setDistributionPolicy(DistributionPolicy.Builder builderForValue) Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.setFingerprint(String value) Fingerprint of this resource.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of this resource.setId(long value) Output only.Instance flexibility allowing MIG to create VMs from multiple types of machines.Instance flexibility allowing MIG to create VMs from multiple types of machines.setInstanceGroup(String value) Output only.setInstanceGroupBytes(com.google.protobuf.ByteString value) Output only.The repair policy for this managed instance group.The repair policy for this managed instance group.setInstanceTemplate(String value) The URL of the instance template that is specified for this managed instance group.setInstanceTemplateBytes(com.google.protobuf.ByteString value) The URL of the instance template that is specified for this managed instance group.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Pagination behavior of the listManagedInstances API method for this managed instance group.setListManagedInstancesResultsBytes(com.google.protobuf.ByteString value) Pagination behavior of the listManagedInstances API method for this managed instance group.The name of the managed instance group.setNameBytes(com.google.protobuf.ByteString value) The name of the managed instance group.setNamedPorts(int index, NamedPort value) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.setNamedPorts(int index, NamedPort.Builder builderForValue) [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.Resource policies for this managed instance group.setResourcePolicies(InstanceGroupManagerResourcePolicies.Builder builderForValue) Resource policies for this managed instance group.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Standby policy for stopped and suspended instances.setStandbyPolicy(InstanceGroupManagerStandbyPolicy.Builder builderForValue) Standby policy for stopped and suspended instances.setStatefulPolicy(StatefulPolicy value) Stateful configuration for this Instanced Group ManagersetStatefulPolicy(StatefulPolicy.Builder builderForValue) Stateful configuration for this Instanced Group ManagerOutput only.setStatus(InstanceGroupManagerStatus.Builder builderForValue) Output only.setTargetPools(int index, String value) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added.setTargetSize(int value) The target number of running instances for this managed instance group.The policy that specifies how the MIG creates its VMs to achieve the target size.setTargetSizePolicy(InstanceGroupManagerTargetSizePolicy.Builder builderForValue) The policy that specifies how the MIG creates its VMs to achieve the target size.setTargetStoppedSize(int value) The target number of stopped instances for this managed instance group.setTargetSuspendedSize(int value) The target number of suspended instances for this managed instance group.The update policy for this managed instance group.setUpdatePolicy(InstanceGroupManagerUpdatePolicy.Builder builderForValue) The update policy for this managed instance group.setVersions(int index, InstanceGroupManagerVersion value) Specifies the instance templates used by this managed instance group to create instances.setVersions(int index, InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances.Output only.setZoneBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManager.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupManager.Builder>
-
mergeFrom
public InstanceGroupManager.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManager.Builder>- Throws:
IOException
-
hasAllInstancesConfig
public boolean hasAllInstancesConfig()Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737;- Specified by:
hasAllInstancesConfigin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the allInstancesConfig field is set.
-
getAllInstancesConfig
Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737;- Specified by:
getAllInstancesConfigin interfaceInstanceGroupManagerOrBuilder- Returns:
- The allInstancesConfig.
-
setAllInstancesConfig
public InstanceGroupManager.Builder setAllInstancesConfig(InstanceGroupManagerAllInstancesConfig value) Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
setAllInstancesConfig
public InstanceGroupManager.Builder setAllInstancesConfig(InstanceGroupManagerAllInstancesConfig.Builder builderForValue) Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
mergeAllInstancesConfig
public InstanceGroupManager.Builder mergeAllInstancesConfig(InstanceGroupManagerAllInstancesConfig value) Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
clearAllInstancesConfig
Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
getAllInstancesConfigBuilder
Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
getAllInstancesConfigOrBuilder
Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737;- Specified by:
getAllInstancesConfigOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getAutoHealingPoliciesList
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109;- Specified by:
getAutoHealingPoliciesListin interfaceInstanceGroupManagerOrBuilder
-
getAutoHealingPoliciesCount
public int getAutoHealingPoliciesCount()The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109;- Specified by:
getAutoHealingPoliciesCountin interfaceInstanceGroupManagerOrBuilder
-
getAutoHealingPolicies
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109;- Specified by:
getAutoHealingPoliciesin interfaceInstanceGroupManagerOrBuilder
-
setAutoHealingPolicies
public InstanceGroupManager.Builder setAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy value) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
setAutoHealingPolicies
public InstanceGroupManager.Builder setAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAutoHealingPolicies
public InstanceGroupManager.Builder addAutoHealingPolicies(InstanceGroupManagerAutoHealingPolicy value) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAutoHealingPolicies
public InstanceGroupManager.Builder addAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy value) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAutoHealingPolicies
public InstanceGroupManager.Builder addAutoHealingPolicies(InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAutoHealingPolicies
public InstanceGroupManager.Builder addAutoHealingPolicies(int index, InstanceGroupManagerAutoHealingPolicy.Builder builderForValue) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAllAutoHealingPolicies
public InstanceGroupManager.Builder addAllAutoHealingPolicies(Iterable<? extends InstanceGroupManagerAutoHealingPolicy> values) The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
clearAutoHealingPolicies
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
removeAutoHealingPolicies
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
getAutoHealingPoliciesBuilder
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
getAutoHealingPoliciesOrBuilder
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109;- Specified by:
getAutoHealingPoliciesOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getAutoHealingPoliciesOrBuilderList
public List<? extends InstanceGroupManagerAutoHealingPolicyOrBuilder> getAutoHealingPoliciesOrBuilderList()The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109;- Specified by:
getAutoHealingPoliciesOrBuilderListin interfaceInstanceGroupManagerOrBuilder
-
addAutoHealingPoliciesBuilder
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
addAutoHealingPoliciesBuilder
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
getAutoHealingPoliciesBuilderList
The autohealing policy for this managed instance group. You can specify only one value.
repeated .google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; -
hasBaseInstanceName
public boolean hasBaseInstanceName()The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Specified by:
hasBaseInstanceNamein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the baseInstanceName field is set.
-
getBaseInstanceName
The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Specified by:
getBaseInstanceNamein interfaceInstanceGroupManagerOrBuilder- Returns:
- The baseInstanceName.
-
getBaseInstanceNameBytes
public com.google.protobuf.ByteString getBaseInstanceNameBytes()The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Specified by:
getBaseInstanceNameBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for baseInstanceName.
-
setBaseInstanceName
The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Parameters:
value- The baseInstanceName to set.- Returns:
- This builder for chaining.
-
clearBaseInstanceName
The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Returns:
- This builder for chaining.
-
setBaseInstanceNameBytes
The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\[[0-9]{1,10}\\])?))optional string base_instance_name = 389106439;- Parameters:
value- The bytes for baseInstanceName to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceInstanceGroupManagerOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasCurrentActions
public boolean hasCurrentActions()Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879;- Specified by:
hasCurrentActionsin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the currentActions field is set.
-
getCurrentActions
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879;- Specified by:
getCurrentActionsin interfaceInstanceGroupManagerOrBuilder- Returns:
- The currentActions.
-
setCurrentActions
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; -
setCurrentActions
public InstanceGroupManager.Builder setCurrentActions(InstanceGroupManagerActionsSummary.Builder builderForValue) Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; -
mergeCurrentActions
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; -
clearCurrentActions
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; -
getCurrentActionsBuilder
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879; -
getCurrentActionsOrBuilder
Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
optional .google.cloud.compute.v1.InstanceGroupManagerActionsSummary current_actions = 164045879;- Specified by:
getCurrentActionsOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasDescription
public boolean hasDescription()An optional description of this resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInstanceGroupManagerOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDistributionPolicy
public boolean hasDistributionPolicy()Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541;- Specified by:
hasDistributionPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the distributionPolicy field is set.
-
getDistributionPolicy
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541;- Specified by:
getDistributionPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The distributionPolicy.
-
setDistributionPolicy
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; -
setDistributionPolicy
public InstanceGroupManager.Builder setDistributionPolicy(DistributionPolicy.Builder builderForValue) Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; -
mergeDistributionPolicy
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; -
clearDistributionPolicy
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; -
getDistributionPolicyBuilder
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541; -
getDistributionPolicyOrBuilder
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
optional .google.cloud.compute.v1.DistributionPolicy distribution_policy = 534558541;- Specified by:
getDistributionPolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasFingerprint
public boolean hasFingerprint()Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceInstanceGroupManagerOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceInstanceGroupManagerOrBuilder- Returns:
- The id.
-
setId
Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInstanceFlexibilityPolicy
public boolean hasInstanceFlexibilityPolicy()Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
hasInstanceFlexibilityPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the instanceFlexibilityPolicy field is set.
-
getInstanceFlexibilityPolicy
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
getInstanceFlexibilityPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The instanceFlexibilityPolicy.
-
setInstanceFlexibilityPolicy
public InstanceGroupManager.Builder setInstanceFlexibilityPolicy(InstanceGroupManagerInstanceFlexibilityPolicy value) Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
setInstanceFlexibilityPolicy
public InstanceGroupManager.Builder setInstanceFlexibilityPolicy(InstanceGroupManagerInstanceFlexibilityPolicy.Builder builderForValue) Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
mergeInstanceFlexibilityPolicy
public InstanceGroupManager.Builder mergeInstanceFlexibilityPolicy(InstanceGroupManagerInstanceFlexibilityPolicy value) Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
clearInstanceFlexibilityPolicy
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
getInstanceFlexibilityPolicyBuilder
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090; -
getInstanceFlexibilityPolicyOrBuilder
public InstanceGroupManagerInstanceFlexibilityPolicyOrBuilder getInstanceFlexibilityPolicyOrBuilder()Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy instance_flexibility_policy = 26937090;- Specified by:
getInstanceFlexibilityPolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasInstanceGroup
public boolean hasInstanceGroup()Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Specified by:
hasInstanceGroupin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the instanceGroup field is set.
-
getInstanceGroup
Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Specified by:
getInstanceGroupin interfaceInstanceGroupManagerOrBuilder- Returns:
- The instanceGroup.
-
getInstanceGroupBytes
public com.google.protobuf.ByteString getInstanceGroupBytes()Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Specified by:
getInstanceGroupBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for instanceGroup.
-
setInstanceGroup
Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Parameters:
value- The instanceGroup to set.- Returns:
- This builder for chaining.
-
clearInstanceGroup
Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Returns:
- This builder for chaining.
-
setInstanceGroupBytes
Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Parameters:
value- The bytes for instanceGroup to set.- Returns:
- This builder for chaining.
-
hasInstanceLifecyclePolicy
public boolean hasInstanceLifecyclePolicy()The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617;- Specified by:
hasInstanceLifecyclePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the instanceLifecyclePolicy field is set.
-
getInstanceLifecyclePolicy
The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617;- Specified by:
getInstanceLifecyclePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The instanceLifecyclePolicy.
-
setInstanceLifecyclePolicy
public InstanceGroupManager.Builder setInstanceLifecyclePolicy(InstanceGroupManagerInstanceLifecyclePolicy value) The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
setInstanceLifecyclePolicy
public InstanceGroupManager.Builder setInstanceLifecyclePolicy(InstanceGroupManagerInstanceLifecyclePolicy.Builder builderForValue) The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
mergeInstanceLifecyclePolicy
public InstanceGroupManager.Builder mergeInstanceLifecyclePolicy(InstanceGroupManagerInstanceLifecyclePolicy value) The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
clearInstanceLifecyclePolicy
The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
getInstanceLifecyclePolicyBuilder
The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
getInstanceLifecyclePolicyOrBuilder
The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617;- Specified by:
getInstanceLifecyclePolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasInstanceTemplate
public boolean hasInstanceTemplate()The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Specified by:
hasInstanceTemplatein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the instanceTemplate field is set.
-
getInstanceTemplate
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Specified by:
getInstanceTemplatein interfaceInstanceGroupManagerOrBuilder- Returns:
- The instanceTemplate.
-
getInstanceTemplateBytes
public com.google.protobuf.ByteString getInstanceTemplateBytes()The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Specified by:
getInstanceTemplateBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for instanceTemplate.
-
setInstanceTemplate
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Parameters:
value- The instanceTemplate to set.- Returns:
- This builder for chaining.
-
clearInstanceTemplate
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Returns:
- This builder for chaining.
-
setInstanceTemplateBytes
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Parameters:
value- The bytes for instanceTemplate to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Specified by:
hasKindin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Specified by:
getKindin interfaceInstanceGroupManagerOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasListManagedInstancesResults
public boolean hasListManagedInstancesResults()Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Specified by:
hasListManagedInstancesResultsin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the listManagedInstancesResults field is set.
-
getListManagedInstancesResults
Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Specified by:
getListManagedInstancesResultsin interfaceInstanceGroupManagerOrBuilder- Returns:
- The listManagedInstancesResults.
-
getListManagedInstancesResultsBytes
public com.google.protobuf.ByteString getListManagedInstancesResultsBytes()Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Specified by:
getListManagedInstancesResultsBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for listManagedInstancesResults.
-
setListManagedInstancesResults
Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Parameters:
value- The listManagedInstancesResults to set.- Returns:
- This builder for chaining.
-
clearListManagedInstancesResults
Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Returns:
- This builder for chaining.
-
setListManagedInstancesResultsBytes
public InstanceGroupManager.Builder setListManagedInstancesResultsBytes(com.google.protobuf.ByteString value) Pagination behavior of the listManagedInstances API method for this managed instance group. Check the ListManagedInstancesResults enum for the list of possible values.
optional string list_managed_instances_results = 296047156;- Parameters:
value- The bytes for listManagedInstancesResults to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Specified by:
hasNamein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Specified by:
getNamein interfaceInstanceGroupManagerOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNamedPortsList
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsListin interfaceInstanceGroupManagerOrBuilder
-
getNamedPortsCount
public int getNamedPortsCount()[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsCountin interfaceInstanceGroupManagerOrBuilder
-
getNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsin interfaceInstanceGroupManagerOrBuilder
-
setNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
setNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addAllNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
clearNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
removeNamedPorts
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilder
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsOrBuilder
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getNamedPortsOrBuilderList
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderListin interfaceInstanceGroupManagerOrBuilder
-
addNamedPortsBuilder
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPortsBuilder
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilderList
[Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
hasRegion
public boolean hasRegion()Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Specified by:
hasRegionin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Specified by:
getRegionin interfaceInstanceGroupManagerOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for region.
-
setRegion
Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasResourcePolicies
public boolean hasResourcePolicies()Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385;- Specified by:
hasResourcePoliciesin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the resourcePolicies field is set.
-
getResourcePolicies
Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385;- Specified by:
getResourcePoliciesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The resourcePolicies.
-
setResourcePolicies
Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
setResourcePolicies
public InstanceGroupManager.Builder setResourcePolicies(InstanceGroupManagerResourcePolicies.Builder builderForValue) Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
mergeResourcePolicies
public InstanceGroupManager.Builder mergeResourcePolicies(InstanceGroupManagerResourcePolicies value) Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
clearResourcePolicies
Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
getResourcePoliciesBuilder
Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
getResourcePoliciesOrBuilder
Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385;- Specified by:
getResourcePoliciesOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
hasSatisfiesPziin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
getSatisfiesPziin interfaceInstanceGroupManagerOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- This builder for chaining.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
getSatisfiesPzsin interfaceInstanceGroupManagerOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInstanceGroupManagerOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasStandbyPolicy
public boolean hasStandbyPolicy()Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324;- Specified by:
hasStandbyPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the standbyPolicy field is set.
-
getStandbyPolicy
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324;- Specified by:
getStandbyPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The standbyPolicy.
-
setStandbyPolicy
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
setStandbyPolicy
public InstanceGroupManager.Builder setStandbyPolicy(InstanceGroupManagerStandbyPolicy.Builder builderForValue) Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
mergeStandbyPolicy
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
clearStandbyPolicy
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
getStandbyPolicyBuilder
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
getStandbyPolicyOrBuilder
Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324;- Specified by:
getStandbyPolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasStatefulPolicy
public boolean hasStatefulPolicy()Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;- Specified by:
hasStatefulPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the statefulPolicy field is set.
-
getStatefulPolicy
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;- Specified by:
getStatefulPolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The statefulPolicy.
-
setStatefulPolicy
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
setStatefulPolicy
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
mergeStatefulPolicy
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
clearStatefulPolicy
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
getStatefulPolicyBuilder
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
getStatefulPolicyOrBuilder
Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;- Specified by:
getStatefulPolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasStatus
public boolean hasStatus()Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;- Specified by:
hasStatusin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;- Specified by:
getStatusin interfaceInstanceGroupManagerOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
setStatus
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
mergeStatus
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
clearStatus
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
getStatusBuilder
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
getStatusOrBuilder
Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;- Specified by:
getStatusOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getTargetPoolsList
public com.google.protobuf.ProtocolStringList getTargetPoolsList()The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsListin interfaceInstanceGroupManagerOrBuilder- Returns:
- A list containing the targetPools.
-
getTargetPoolsCount
public int getTargetPoolsCount()The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsCountin interfaceInstanceGroupManagerOrBuilder- Returns:
- The count of targetPools.
-
getTargetPools
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsin interfaceInstanceGroupManagerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetPools at the given index.
-
getTargetPoolsBytes
public com.google.protobuf.ByteString getTargetPoolsBytes(int index) The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Specified by:
getTargetPoolsBytesin interfaceInstanceGroupManagerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetPools at the given index.
-
setTargetPools
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
index- The index to set the value at.value- The targetPools to set.- Returns:
- This builder for chaining.
-
addTargetPools
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
value- The targetPools to add.- Returns:
- This builder for chaining.
-
addAllTargetPools
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
values- The targetPools to add.- Returns:
- This builder for chaining.
-
clearTargetPools
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Returns:
- This builder for chaining.
-
addTargetPoolsBytes
The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
repeated string target_pools = 336072617;- Parameters:
value- The bytes of the targetPools to add.- Returns:
- This builder for chaining.
-
hasTargetSize
public boolean hasTargetSize()The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
optional int32 target_size = 62880239;- Specified by:
hasTargetSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the targetSize field is set.
-
getTargetSize
public int getTargetSize()The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
optional int32 target_size = 62880239;- Specified by:
getTargetSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- The targetSize.
-
setTargetSize
The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
optional int32 target_size = 62880239;- Parameters:
value- The targetSize to set.- Returns:
- This builder for chaining.
-
clearTargetSize
The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
optional int32 target_size = 62880239;- Returns:
- This builder for chaining.
-
hasTargetSizePolicy
public boolean hasTargetSizePolicy()The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506;- Specified by:
hasTargetSizePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the targetSizePolicy field is set.
-
getTargetSizePolicy
The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506;- Specified by:
getTargetSizePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The targetSizePolicy.
-
setTargetSizePolicy
The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506; -
setTargetSizePolicy
public InstanceGroupManager.Builder setTargetSizePolicy(InstanceGroupManagerTargetSizePolicy.Builder builderForValue) The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506; -
mergeTargetSizePolicy
public InstanceGroupManager.Builder mergeTargetSizePolicy(InstanceGroupManagerTargetSizePolicy value) The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506; -
clearTargetSizePolicy
The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506; -
getTargetSizePolicyBuilder
The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506; -
getTargetSizePolicyOrBuilder
The policy that specifies how the MIG creates its VMs to achieve the target size.
optional .google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy target_size_policy = 128773506;- Specified by:
getTargetSizePolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
hasTargetStoppedSize
public boolean hasTargetStoppedSize()The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
optional int32 target_stopped_size = 2419489;- Specified by:
hasTargetStoppedSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the targetStoppedSize field is set.
-
getTargetStoppedSize
public int getTargetStoppedSize()The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
optional int32 target_stopped_size = 2419489;- Specified by:
getTargetStoppedSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- The targetStoppedSize.
-
setTargetStoppedSize
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
optional int32 target_stopped_size = 2419489;- Parameters:
value- The targetStoppedSize to set.- Returns:
- This builder for chaining.
-
clearTargetStoppedSize
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
optional int32 target_stopped_size = 2419489;- Returns:
- This builder for chaining.
-
hasTargetSuspendedSize
public boolean hasTargetSuspendedSize()The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
optional int32 target_suspended_size = 308085843;- Specified by:
hasTargetSuspendedSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the targetSuspendedSize field is set.
-
getTargetSuspendedSize
public int getTargetSuspendedSize()The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
optional int32 target_suspended_size = 308085843;- Specified by:
getTargetSuspendedSizein interfaceInstanceGroupManagerOrBuilder- Returns:
- The targetSuspendedSize.
-
setTargetSuspendedSize
The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
optional int32 target_suspended_size = 308085843;- Parameters:
value- The targetSuspendedSize to set.- Returns:
- This builder for chaining.
-
clearTargetSuspendedSize
The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
optional int32 target_suspended_size = 308085843;- Returns:
- This builder for chaining.
-
hasUpdatePolicy
public boolean hasUpdatePolicy()The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896;- Specified by:
hasUpdatePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the updatePolicy field is set.
-
getUpdatePolicy
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896;- Specified by:
getUpdatePolicyin interfaceInstanceGroupManagerOrBuilder- Returns:
- The updatePolicy.
-
setUpdatePolicy
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
setUpdatePolicy
public InstanceGroupManager.Builder setUpdatePolicy(InstanceGroupManagerUpdatePolicy.Builder builderForValue) The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
mergeUpdatePolicy
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
clearUpdatePolicy
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
getUpdatePolicyBuilder
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
getUpdatePolicyOrBuilder
The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896;- Specified by:
getUpdatePolicyOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getVersionsList
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;- Specified by:
getVersionsListin interfaceInstanceGroupManagerOrBuilder
-
getVersionsCount
public int getVersionsCount()Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;- Specified by:
getVersionsCountin interfaceInstanceGroupManagerOrBuilder
-
getVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;- Specified by:
getVersionsin interfaceInstanceGroupManagerOrBuilder
-
setVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
setVersions
public InstanceGroupManager.Builder setVersions(int index, InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addVersions
public InstanceGroupManager.Builder addVersions(InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addVersions
public InstanceGroupManager.Builder addVersions(int index, InstanceGroupManagerVersion.Builder builderForValue) Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addAllVersions
public InstanceGroupManager.Builder addAllVersions(Iterable<? extends InstanceGroupManagerVersion> values) Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
clearVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
removeVersions
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
getVersionsBuilder
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
getVersionsOrBuilder
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;- Specified by:
getVersionsOrBuilderin interfaceInstanceGroupManagerOrBuilder
-
getVersionsOrBuilderList
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;- Specified by:
getVersionsOrBuilderListin interfaceInstanceGroupManagerOrBuilder
-
addVersionsBuilder
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
addVersionsBuilder
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
getVersionsBuilderList
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about therelationships between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all remaining instances. For more information, read aboutcanary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619; -
hasZone
public boolean hasZone()Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
hasZonein interfaceInstanceGroupManagerOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
getZonein interfaceInstanceGroupManagerOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceInstanceGroupManagerOrBuilder- Returns:
- The bytes for zone.
-
setZone
Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- This builder for chaining.
-
setZoneBytes
Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-