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
public interface InstanceGroupManagerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceGroupManagerAutoHealingPolicygetAutoHealingPolicies(int index)The autohealing policy for this managed instance group.intgetAutoHealingPoliciesCount()The autohealing policy for this managed instance group.List<InstanceGroupManagerAutoHealingPolicy>getAutoHealingPoliciesList()The autohealing policy for this managed instance group.InstanceGroupManagerAutoHealingPolicyOrBuildergetAutoHealingPoliciesOrBuilder(int index)The autohealing policy for this managed instance group.List<? extends InstanceGroupManagerAutoHealingPolicyOrBuilder>getAutoHealingPoliciesOrBuilderList()The autohealing policy for this managed instance group.StringgetBaseInstanceName()The base instance name to use for instances in this group.com.google.protobuf.ByteStringgetBaseInstanceNameBytes()The base instance name to use for instances in this group.StringgetCreationTimestamp()[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.InstanceGroupManagerActionsSummarygetCurrentActions()[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.InstanceGroupManagerActionsSummaryOrBuildergetCurrentActionsOrBuilder()[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.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.DistributionPolicygetDistributionPolicy()Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.DistributionPolicyOrBuildergetDistributionPolicyOrBuilder()Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.StringgetFingerprint()Fingerprint of this resource.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this resource.longgetId()[Output Only] A unique identifier for this resource type.StringgetInstanceGroup()[Output Only] The URL of the Instance Group resource.com.google.protobuf.ByteStringgetInstanceGroupBytes()[Output Only] The URL of the Instance Group resource.InstanceGroupManagerInstanceLifecyclePolicygetInstanceLifecyclePolicy()The repair policy for this managed instance group.InstanceGroupManagerInstanceLifecyclePolicyOrBuildergetInstanceLifecyclePolicyOrBuilder()The repair policy for this managed instance group.StringgetInstanceTemplate()The URL of the instance template that is specified for this managed instance group.com.google.protobuf.ByteStringgetInstanceTemplateBytes()The URL of the instance template that is specified for this managed instance group.StringgetKind()[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.com.google.protobuf.ByteStringgetKindBytes()[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.StringgetListManagedInstancesResults()Pagination behavior of the listManagedInstances API method for this managed instance group.com.google.protobuf.ByteStringgetListManagedInstancesResultsBytes()Pagination behavior of the listManagedInstances API method for this managed instance group.StringgetName()The name of the managed instance group.com.google.protobuf.ByteStringgetNameBytes()The name of the managed instance group.NamedPortgetNamedPorts(int index)Named ports configured for the Instance Groups complementary to this Instance Group Manager.intgetNamedPortsCount()Named ports configured for the Instance Groups complementary to this Instance Group Manager.List<NamedPort>getNamedPortsList()Named ports configured for the Instance Groups complementary to this Instance Group Manager.NamedPortOrBuildergetNamedPortsOrBuilder(int index)Named ports configured for the Instance Groups complementary to this Instance Group Manager.List<? extends NamedPortOrBuilder>getNamedPortsOrBuilderList()Named ports configured for the Instance Groups complementary to this Instance Group Manager.StringgetRegion()[Output Only] The URL of the region where the managed instance group resides (for regional resources).com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the managed instance group resides (for regional resources).StringgetSelfLink()[Output Only] The URL for this managed instance group.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] The URL for this managed instance group.StatefulPolicygetStatefulPolicy()Stateful configuration for this Instanced Group ManagerStatefulPolicyOrBuildergetStatefulPolicyOrBuilder()Stateful configuration for this Instanced Group ManagerInstanceGroupManagerStatusgetStatus()[Output Only] The status of this managed instance group.InstanceGroupManagerStatusOrBuildergetStatusOrBuilder()[Output Only] The status of this managed instance group.StringgetTargetPools(int index)The URLs for all TargetPool resources to which instances in the instanceGroup field are added.com.google.protobuf.ByteStringgetTargetPoolsBytes(int index)The URLs for all TargetPool resources to which instances in the instanceGroup field are added.intgetTargetPoolsCount()The URLs for all TargetPool resources to which instances in the instanceGroup field are added.List<String>getTargetPoolsList()The URLs for all TargetPool resources to which instances in the instanceGroup field are added.intgetTargetSize()The target number of running instances for this managed instance group.InstanceGroupManagerUpdatePolicygetUpdatePolicy()The update policy for this managed instance group.InstanceGroupManagerUpdatePolicyOrBuildergetUpdatePolicyOrBuilder()The update policy for this managed instance group.InstanceGroupManagerVersiongetVersions(int index)Specifies the instance templates used by this managed instance group to create instances.intgetVersionsCount()Specifies the instance templates used by this managed instance group to create instances.List<InstanceGroupManagerVersion>getVersionsList()Specifies the instance templates used by this managed instance group to create instances.InstanceGroupManagerVersionOrBuildergetVersionsOrBuilder(int index)Specifies the instance templates used by this managed instance group to create instances.List<? extends InstanceGroupManagerVersionOrBuilder>getVersionsOrBuilderList()Specifies the instance templates used by this managed instance group to create instances.StringgetZone()[Output Only] The URL of a zone where the managed instance group is located (for zonal resources).com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of a zone where the managed instance group is located (for zonal resources).booleanhasBaseInstanceName()The base instance name to use for instances in this group.booleanhasCreationTimestamp()[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.booleanhasCurrentActions()[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.booleanhasDescription()An optional description of this resource.booleanhasDistributionPolicy()Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.booleanhasFingerprint()Fingerprint of this resource.booleanhasId()[Output Only] A unique identifier for this resource type.booleanhasInstanceGroup()[Output Only] The URL of the Instance Group resource.booleanhasInstanceLifecyclePolicy()The repair policy for this managed instance group.booleanhasInstanceTemplate()The URL of the instance template that is specified for this managed instance group.booleanhasKind()[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.booleanhasListManagedInstancesResults()Pagination behavior of the listManagedInstances API method for this managed instance group.booleanhasName()The name of the managed instance group.booleanhasRegion()[Output Only] The URL of the region where the managed instance group resides (for regional resources).booleanhasSelfLink()[Output Only] The URL for this managed instance group.booleanhasStatefulPolicy()Stateful configuration for this Instanced Group ManagerbooleanhasStatus()[Output Only] The status of this managed instance group.booleanhasTargetSize()The target number of running instances for this managed instance group.booleanhasUpdatePolicy()The update policy for this managed instance group.booleanhasZone()[Output Only] The URL of a zone where the managed instance group is located (for zonal resources).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
InstanceGroupManagerAutoHealingPolicy getAutoHealingPolicies(int index)
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
InstanceGroupManagerAutoHealingPolicyOrBuilder getAutoHealingPoliciesOrBuilder(int index)
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 to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
optional string base_instance_name = 389106439;- Returns:
- Whether the baseInstanceName field is set.
-
getBaseInstanceName
String getBaseInstanceName()
The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
optional string base_instance_name = 389106439;- Returns:
- The baseInstanceName.
-
getBaseInstanceNameBytes
com.google.protobuf.ByteString getBaseInstanceNameBytes()
The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
optional string base_instance_name = 389106439;- Returns:
- The bytes for baseInstanceName.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this managed instance group in RFC3339 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 in RFC3339 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 in RFC3339 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 error 412 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 error 412 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 error 412 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.
-
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, run applyUpdatesToInstances, or set the group's updatePolicy.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, run applyUpdatesToInstances, or set the group's updatePolicy.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, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;- Returns:
- The bytes for instanceTemplate.
-
hasKind
boolean hasKind()
[Output Only] The resource type, which is always compute#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 always compute#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 always compute#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 with RFC1035.
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 with RFC1035.
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 with RFC1035.
optional string name = 3373707;- Returns:
- The bytes for name.
-
getNamedPortsList
List<NamedPort> getNamedPortsList()
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPorts
NamedPort getNamedPorts(int index)
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsCount
int getNamedPortsCount()
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsOrBuilderList
List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsOrBuilder
NamedPortOrBuilder getNamedPortsOrBuilder(int index)
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
hasRegion
boolean hasRegion()
[Output Only] The URL of the region 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] The URL of the region where the managed instance group resides (for regional resources).
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the managed instance group resides (for regional resources).
optional string region = 138946292;- Returns:
- The bytes for region.
-
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.
-
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
List<String> getTargetPoolsList()
The URLs for all TargetPool resources to which instances in the instanceGroup 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 the instanceGroup 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
String getTargetPools(int index)
The URLs for all TargetPool resources to which instances in the instanceGroup 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 the instanceGroup 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.
-
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 a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;
-
getVersions
InstanceGroupManagerVersion getVersions(int index)
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary 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 a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary 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 a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;
-
getVersionsOrBuilder
InstanceGroupManagerVersionOrBuilder getVersionsOrBuilder(int index)
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
repeated .google.cloud.compute.v1.InstanceGroupManagerVersion versions = 162430619;
-
hasZone
boolean hasZone()
[Output Only] The URL of a zone 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 a zone 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 a zone where the managed instance group is located (for zonal resources).
optional string zone = 3744684;- Returns:
- The bytes for zone.
-
-