Package com.google.cloud.compute.v1
Interface RegionInstanceGroupManagersSuspendInstancesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegionInstanceGroupManagersSuspendInstancesRequest,RegionInstanceGroupManagersSuspendInstancesRequest.Builder
@Generated
public interface RegionInstanceGroupManagersSuspendInstancesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.getInstances(int index) The URLs of one or more instances to suspend.com.google.protobuf.ByteStringgetInstancesBytes(int index) The URLs of one or more instances to suspend.intThe URLs of one or more instances to suspend.The URLs of one or more instances to suspend.booleanIf this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.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
-
hasForceSuspend
boolean hasForceSuspend()If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.
optional bool force_suspend = 27637480;- Returns:
- Whether the forceSuspend field is set.
-
getForceSuspend
boolean getForceSuspend()If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.
optional bool force_suspend = 27637480;- Returns:
- The forceSuspend.
-
getInstancesList
The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Returns:
- A list containing the instances.
-
getInstancesCount
int getInstancesCount()The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Returns:
- The count of instances.
-
getInstances
The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Parameters:
index- The index of the element to return.- Returns:
- The instances at the given index.
-
getInstancesBytes
com.google.protobuf.ByteString getInstancesBytes(int index) The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-