Package com.google.cloud.compute.v1
Interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceGroupManagersApplyUpdatesRequest,InstanceGroupManagersApplyUpdatesRequest.Builder
@Generated
public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanFlag to update all instances instead of specified list of “instances”.getInstances(int index) The list of URLs of one or more instances for which you want to apply updates.com.google.protobuf.ByteStringgetInstancesBytes(int index) The list of URLs of one or more instances for which you want to apply updates.intThe list of URLs of one or more instances for which you want to apply updates.The list of URLs of one or more instances for which you want to apply updates.The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it againcom.google.protobuf.ByteStringThe minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it againThe most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it againcom.google.protobuf.ByteStringThe most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it againbooleanFlag to update all instances instead of specified list of “instances”.booleanThe minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it againbooleanThe most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it againMethods 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
-
hasAllInstances
boolean hasAllInstances()Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;- Returns:
- Whether the allInstances field is set.
-
getAllInstances
boolean getAllInstances()Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
optional bool all_instances = 403676512;- Returns:
- The allInstances.
-
getInstancesList
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Returns:
- A list containing the instances.
-
getInstancesCount
int getInstancesCount()The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;- Returns:
- The count of instances.
-
getInstances
The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such aszones/[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 list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such aszones/[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.
-
hasMinimalAction
boolean hasMinimalAction()The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;- Returns:
- Whether the minimalAction field is set.
-
getMinimalAction
String getMinimalAction()The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;- Returns:
- The minimalAction.
-
getMinimalActionBytes
com.google.protobuf.ByteString getMinimalActionBytes()The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.
optional string minimal_action = 270567060;- Returns:
- The bytes for minimalAction.
-
hasMostDisruptiveAllowedAction
boolean hasMostDisruptiveAllowedAction()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;- Returns:
- Whether the mostDisruptiveAllowedAction field is set.
-
getMostDisruptiveAllowedAction
String getMostDisruptiveAllowedAction()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;- Returns:
- The mostDisruptiveAllowedAction.
-
getMostDisruptiveAllowedActionBytes
com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.
optional string most_disruptive_allowed_action = 66103053;- Returns:
- The bytes for mostDisruptiveAllowedAction.
-