Package com.google.cloud.compute.v1
Class InstanceGroupManager
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstanceGroupManager
- All Implemented Interfaces:
InstanceGroupManagerOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InstanceGroupManager
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a Managed Instance Group resource.static enumPagination behavior of the listManagedInstances API method for this managed instance group.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies 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.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.static InstanceGroupManagerAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.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.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.Output only.com.google.protobuf.ByteStringOutput only.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.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.com.google.protobuf.Parser<InstanceGroupManager>Output only.com.google.protobuf.ByteStringOutput only.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.intStandby 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 ManagerOutput 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.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.getVersions(int index) 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.inthashCode()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 booleanstatic InstanceGroupManager.Builderstatic InstanceGroupManager.BuildernewBuilder(InstanceGroupManager prototype) protected InstanceGroupManager.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InstanceGroupManagerparseDelimitedFrom(InputStream input) static InstanceGroupManagerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceGroupManagerparseFrom(byte[] data) static InstanceGroupManagerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceGroupManagerparseFrom(com.google.protobuf.ByteString data) static InstanceGroupManagerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceGroupManagerparseFrom(com.google.protobuf.CodedInputStream input) static InstanceGroupManagerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceGroupManagerparseFrom(InputStream input) static InstanceGroupManagerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceGroupManagerparseFrom(ByteBuffer data) static InstanceGroupManagerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstanceGroupManager>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ALL_INSTANCES_CONFIG_FIELD_NUMBER
public static final int ALL_INSTANCES_CONFIG_FIELD_NUMBER- See Also:
-
AUTO_HEALING_POLICIES_FIELD_NUMBER
public static final int AUTO_HEALING_POLICIES_FIELD_NUMBER- See Also:
-
BASE_INSTANCE_NAME_FIELD_NUMBER
public static final int BASE_INSTANCE_NAME_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
CURRENT_ACTIONS_FIELD_NUMBER
public static final int CURRENT_ACTIONS_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DISTRIBUTION_POLICY_FIELD_NUMBER
public static final int DISTRIBUTION_POLICY_FIELD_NUMBER- See Also:
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
INSTANCE_FLEXIBILITY_POLICY_FIELD_NUMBER
public static final int INSTANCE_FLEXIBILITY_POLICY_FIELD_NUMBER- See Also:
-
INSTANCE_GROUP_FIELD_NUMBER
public static final int INSTANCE_GROUP_FIELD_NUMBER- See Also:
-
INSTANCE_LIFECYCLE_POLICY_FIELD_NUMBER
public static final int INSTANCE_LIFECYCLE_POLICY_FIELD_NUMBER- See Also:
-
INSTANCE_TEMPLATE_FIELD_NUMBER
public static final int INSTANCE_TEMPLATE_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
LIST_MANAGED_INSTANCES_RESULTS_FIELD_NUMBER
public static final int LIST_MANAGED_INSTANCES_RESULTS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAMED_PORTS_FIELD_NUMBER
public static final int NAMED_PORTS_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
RESOURCE_POLICIES_FIELD_NUMBER
public static final int RESOURCE_POLICIES_FIELD_NUMBER- See Also:
-
SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
STANDBY_POLICY_FIELD_NUMBER
public static final int STANDBY_POLICY_FIELD_NUMBER- See Also:
-
STATEFUL_POLICY_FIELD_NUMBER
public static final int STATEFUL_POLICY_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
TARGET_POOLS_FIELD_NUMBER
public static final int TARGET_POOLS_FIELD_NUMBER- See Also:
-
TARGET_SIZE_FIELD_NUMBER
public static final int TARGET_SIZE_FIELD_NUMBER- See Also:
-
TARGET_SIZE_POLICY_FIELD_NUMBER
public static final int TARGET_SIZE_POLICY_FIELD_NUMBER- See Also:
-
TARGET_STOPPED_SIZE_FIELD_NUMBER
public static final int TARGET_STOPPED_SIZE_FIELD_NUMBER- See Also:
-
TARGET_SUSPENDED_SIZE_FIELD_NUMBER
public static final int TARGET_SUSPENDED_SIZE_FIELD_NUMBER- See Also:
-
UPDATE_POLICY_FIELD_NUMBER
public static final int UPDATE_POLICY_FIELD_NUMBER- See Also:
-
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER- See Also:
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstanceGroupManager parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroupManager parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroupManager parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroupManager parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroupManager parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceGroupManager parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InstanceGroupManager parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceGroupManager parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InstanceGroupManager parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstanceGroupManager parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceGroupManager.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-