Package com.google.cloud.compute.v1
Interface InstanceGroupManagerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceGroupManager,InstanceGroupManager.Builder
@Generated
public interface InstanceGroupManagerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies 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.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.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.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.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.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 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.The 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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAllInstancesConfig
boolean hasAllInstancesConfig()Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737;- Returns:
- Whether the allInstancesConfig field is set.
-
getAllInstancesConfig
InstanceGroupManagerAllInstancesConfig getAllInstancesConfig()Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737;- Returns:
- The allInstancesConfig.
-
getAllInstancesConfigOrBuilder
InstanceGroupManagerAllInstancesConfigOrBuilder getAllInstancesConfigOrBuilder()Specifies configuration that overrides the instance template configuration for the group.
optional .google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; -
getAutoHealingPoliciesList
List<InstanceGroupManagerAutoHealingPolicy> 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; -
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; -
getAutoHealingPoliciesCount
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; -
getAutoHealingPoliciesOrBuilderList
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; -
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; -
hasBaseInstanceName
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;- Returns:
- Whether the baseInstanceName field is set.
-
getBaseInstanceName
String 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;- Returns:
- The baseInstanceName.
-
getBaseInstanceNameBytes
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;- Returns:
- The bytes for baseInstanceName.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. The creation timestamp for this managed instance group inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasCurrentActions
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;- Returns:
- Whether the currentActions field is set.
-
getCurrentActions
InstanceGroupManagerActionsSummary 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;- Returns:
- The currentActions.
-
getCurrentActionsOrBuilder
InstanceGroupManagerActionsSummaryOrBuilder 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; -
hasDescription
boolean hasDescription()An optional description of this resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasDistributionPolicy
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;- Returns:
- Whether the distributionPolicy field is set.
-
getDistributionPolicy
DistributionPolicy 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;- Returns:
- The distributionPolicy.
-
getDistributionPolicyOrBuilder
DistributionPolicyOrBuilder 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; -
hasFingerprint
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;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String 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;- Returns:
- The fingerprint.
-
getFingerprintBytes
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;- Returns:
- The bytes for fingerprint.
-
hasId
boolean hasId()Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. A unique identifier for this resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- The id.
-
hasInstanceFlexibilityPolicy
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;- Returns:
- Whether the instanceFlexibilityPolicy field is set.
-
getInstanceFlexibilityPolicy
InstanceGroupManagerInstanceFlexibilityPolicy 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;- Returns:
- The instanceFlexibilityPolicy.
-
getInstanceFlexibilityPolicyOrBuilder
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; -
hasInstanceGroup
boolean hasInstanceGroup()Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Returns:
- Whether the instanceGroup field is set.
-
getInstanceGroup
String getInstanceGroup()Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Returns:
- The instanceGroup.
-
getInstanceGroupBytes
com.google.protobuf.ByteString getInstanceGroupBytes()Output only. The URL of the Instance Group resource.
optional string instance_group = 81095253;- Returns:
- The bytes for instanceGroup.
-
hasInstanceLifecyclePolicy
boolean hasInstanceLifecyclePolicy()The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617;- Returns:
- Whether the instanceLifecyclePolicy field is set.
-
getInstanceLifecyclePolicy
InstanceGroupManagerInstanceLifecyclePolicy getInstanceLifecyclePolicy()The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617;- Returns:
- The instanceLifecyclePolicy.
-
getInstanceLifecyclePolicyOrBuilder
InstanceGroupManagerInstanceLifecyclePolicyOrBuilder getInstanceLifecyclePolicyOrBuilder()The repair policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; -
hasInstanceTemplate
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;- Returns:
- Whether the instanceTemplate field is set.
-
getInstanceTemplate
String 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;- Returns:
- The instanceTemplate.
-
getInstanceTemplateBytes
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;- Returns:
- The bytes for instanceTemplate.
-
hasKind
boolean hasKind()Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasListManagedInstancesResults
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;- Returns:
- Whether the listManagedInstancesResults field is set.
-
getListManagedInstancesResults
String 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;- Returns:
- The listManagedInstancesResults.
-
getListManagedInstancesResultsBytes
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;- Returns:
- The bytes for listManagedInstancesResults.
-
hasName
boolean hasName()The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
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;- 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; -
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; -
getNamedPortsCount
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; -
getNamedPortsOrBuilderList
List<? extends NamedPortOrBuilder> 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; -
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; -
hasRegion
boolean hasRegion()Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources).
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
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;- Returns:
- The bytes for region.
-
hasResourcePolicies
boolean hasResourcePolicies()Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385;- Returns:
- Whether the resourcePolicies field is set.
-
getResourcePolicies
InstanceGroupManagerResourcePolicies getResourcePolicies()Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385;- Returns:
- The resourcePolicies.
-
getResourcePoliciesOrBuilder
InstanceGroupManagerResourcePoliciesOrBuilder getResourcePoliciesOrBuilder()Resource policies for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerResourcePolicies resource_policies = 22220385; -
hasSatisfiesPzi
boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- The satisfiesPzi.
-
hasSatisfiesPzs
boolean hasSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
boolean getSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- The satisfiesPzs.
-
hasSelfLink
boolean hasSelfLink()Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. The URL for this managed instance group. The server defines this URL.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasStandbyPolicy
boolean hasStandbyPolicy()Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324;- Returns:
- Whether the standbyPolicy field is set.
-
getStandbyPolicy
InstanceGroupManagerStandbyPolicy getStandbyPolicy()Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324;- Returns:
- The standbyPolicy.
-
getStandbyPolicyOrBuilder
InstanceGroupManagerStandbyPolicyOrBuilder getStandbyPolicyOrBuilder()Standby policy for stopped and suspended instances.
optional .google.cloud.compute.v1.InstanceGroupManagerStandbyPolicy standby_policy = 499352324; -
hasStatefulPolicy
boolean hasStatefulPolicy()Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;- Returns:
- Whether the statefulPolicy field is set.
-
getStatefulPolicy
StatefulPolicy getStatefulPolicy()Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565;- Returns:
- The statefulPolicy.
-
getStatefulPolicyOrBuilder
StatefulPolicyOrBuilder getStatefulPolicyOrBuilder()Stateful configuration for this Instanced Group Manager
optional .google.cloud.compute.v1.StatefulPolicy stateful_policy = 47538565; -
hasStatus
boolean hasStatus()Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
InstanceGroupManagerStatus getStatus()Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274;- Returns:
- The status.
-
getStatusOrBuilder
InstanceGroupManagerStatusOrBuilder getStatusOrBuilder()Output only. The status of this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerStatus status = 181260274; -
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;- Returns:
- A list containing the targetPools.
-
getTargetPoolsCount
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;- 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;- Parameters:
index- The index of the element to return.- Returns:
- The targetPools at the given index.
-
getTargetPoolsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetPools at the given index.
-
hasTargetSize
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;- Returns:
- Whether the targetSize field is set.
-
getTargetSize
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;- Returns:
- The targetSize.
-
hasTargetSizePolicy
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;- Returns:
- Whether the targetSizePolicy field is set.
-
getTargetSizePolicy
InstanceGroupManagerTargetSizePolicy 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;- Returns:
- The targetSizePolicy.
-
getTargetSizePolicyOrBuilder
InstanceGroupManagerTargetSizePolicyOrBuilder 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; -
hasTargetStoppedSize
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;- Returns:
- Whether the targetStoppedSize field is set.
-
getTargetStoppedSize
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;- Returns:
- The targetStoppedSize.
-
hasTargetSuspendedSize
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;- Returns:
- Whether the targetSuspendedSize field is set.
-
getTargetSuspendedSize
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;- Returns:
- The targetSuspendedSize.
-
hasUpdatePolicy
boolean hasUpdatePolicy()The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896;- Returns:
- Whether the updatePolicy field is set.
-
getUpdatePolicy
InstanceGroupManagerUpdatePolicy getUpdatePolicy()The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896;- Returns:
- The updatePolicy.
-
getUpdatePolicyOrBuilder
InstanceGroupManagerUpdatePolicyOrBuilder getUpdatePolicyOrBuilder()The update policy for this managed instance group.
optional .google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy update_policy = 175809896; -
getVersionsList
List<InstanceGroupManagerVersion> 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; -
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; -
getVersionsCount
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; -
getVersionsOrBuilderList
List<? extends InstanceGroupManagerVersionOrBuilder> 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; -
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; -
hasZone
boolean hasZone()Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()Output only. The URL of azone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- The zone.
-
getZoneBytes
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;- Returns:
- The bytes for zone.
-