Package com.google.cloud.compute.v1
Class InstanceGroupManagersApplyUpdatesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
- com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.Builder
-
- All Implemented Interfaces:
InstanceGroupManagersApplyUpdatesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InstanceGroupManagersApplyUpdatesRequest
public static final class InstanceGroupManagersApplyUpdatesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder> implements InstanceGroupManagersApplyUpdatesRequestOrBuilder
InstanceGroupManagers.applyUpdatesToInstances
Protobuf typegoogle.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupManagersApplyUpdatesRequest.Builder
addAllInstances(Iterable<String> values)
The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.Builder
addInstances(String value)
The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.Builder
addInstancesBytes(com.google.protobuf.ByteString value)
The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceGroupManagersApplyUpdatesRequest
build()
InstanceGroupManagersApplyUpdatesRequest
buildPartial()
InstanceGroupManagersApplyUpdatesRequest.Builder
clear()
InstanceGroupManagersApplyUpdatesRequest.Builder
clearAllInstances()
Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstanceGroupManagersApplyUpdatesRequest.Builder
clearInstances()
The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.Builder
clearMinimalAction()
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
clearMostDisruptiveAllowedAction()
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstanceGroupManagersApplyUpdatesRequest.Builder
clone()
boolean
getAllInstances()
Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstances(int index)
The list of URLs of one or more instances for which you want to apply updates.com.google.protobuf.ByteString
getInstancesBytes(int index)
The list of URLs of one or more instances for which you want to apply updates.int
getInstancesCount()
The list of URLs of one or more instances for which you want to apply updates.com.google.protobuf.ProtocolStringList
getInstancesList()
The list of URLs of one or more instances for which you want to apply updates.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.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.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.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.boolean
hasAllInstances()
Flag to update all instances instead of specified list of “instances”.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(InstanceGroupManagersApplyUpdatesRequest other)
InstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
InstanceGroupManagersApplyUpdatesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceGroupManagersApplyUpdatesRequest.Builder
setAllInstances(boolean value)
Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceGroupManagersApplyUpdatesRequest.Builder
setInstances(int index, String value)
The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.Builder
setMinimalAction(String value)
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
setMinimalActionBytes(com.google.protobuf.ByteString value)
The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
setMostDisruptiveAllowedAction(String value)
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
setMostDisruptiveAllowedActionBytes(com.google.protobuf.ByteString value)
The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstanceGroupManagersApplyUpdatesRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clear
public InstanceGroupManagersApplyUpdatesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDefaultInstanceForType
public InstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceGroupManagersApplyUpdatesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceGroupManagersApplyUpdatesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceGroupManagersApplyUpdatesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
setField
public InstanceGroupManagersApplyUpdatesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearField
public InstanceGroupManagersApplyUpdatesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearOneof
public InstanceGroupManagersApplyUpdatesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
setRepeatedField
public InstanceGroupManagersApplyUpdatesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
addRepeatedField
public InstanceGroupManagersApplyUpdatesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(InstanceGroupManagersApplyUpdatesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
- Throws:
IOException
-
hasAllInstances
public 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;
- Specified by:
hasAllInstances
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- Whether the allInstances field is set.
-
getAllInstances
public 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;
- Specified by:
getAllInstances
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The allInstances.
-
setAllInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder setAllInstances(boolean value)
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;
- Parameters:
value
- The allInstances to set.- Returns:
- This builder for chaining.
-
clearAllInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder clearAllInstances()
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:
- This builder for chaining.
-
getInstancesList
public com.google.protobuf.ProtocolStringList 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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Specified by:
getInstancesList
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- A list containing the instances.
-
getInstancesCount
public 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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Specified by:
getInstancesCount
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The count of instances.
-
getInstances
public String getInstances(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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Specified by:
getInstances
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The instances at the given index.
-
getInstancesBytes
public 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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Specified by:
getInstancesBytes
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
setInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder setInstances(int index, String value)
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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Parameters:
index
- The index to set the value at.value
- The instances to set.- Returns:
- This builder for chaining.
-
addInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder addInstances(String value)
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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Parameters:
value
- The instances to add.- Returns:
- This builder for chaining.
-
addAllInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder addAllInstances(Iterable<String> values)
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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Parameters:
values
- The instances to add.- Returns:
- This builder for chaining.
-
clearInstances
public InstanceGroupManagersApplyUpdatesRequest.Builder clearInstances()
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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Returns:
- This builder for chaining.
-
addInstancesBytes
public InstanceGroupManagersApplyUpdatesRequest.Builder addInstancesBytes(com.google.protobuf.ByteString value)
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 as zones/[ZONE]/instances/[INSTANCE_NAME].
repeated string instances = 29097598;
- Parameters:
value
- The bytes of the instances to add.- Returns:
- This builder for chaining.
-
hasMinimalAction
public 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;
- Specified by:
hasMinimalAction
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- Whether the minimalAction field is set.
-
getMinimalAction
public 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;
- Specified by:
getMinimalAction
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The minimalAction.
-
getMinimalActionBytes
public 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;
- Specified by:
getMinimalActionBytes
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The bytes for minimalAction.
-
setMinimalAction
public InstanceGroupManagersApplyUpdatesRequest.Builder setMinimalAction(String value)
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;
- Parameters:
value
- The minimalAction to set.- Returns:
- This builder for chaining.
-
clearMinimalAction
public InstanceGroupManagersApplyUpdatesRequest.Builder clearMinimalAction()
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:
- This builder for chaining.
-
setMinimalActionBytes
public InstanceGroupManagersApplyUpdatesRequest.Builder setMinimalActionBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for minimalAction to set.- Returns:
- This builder for chaining.
-
hasMostDisruptiveAllowedAction
public 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;
- Specified by:
hasMostDisruptiveAllowedAction
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- Whether the mostDisruptiveAllowedAction field is set.
-
getMostDisruptiveAllowedAction
public 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;
- Specified by:
getMostDisruptiveAllowedAction
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The mostDisruptiveAllowedAction.
-
getMostDisruptiveAllowedActionBytes
public 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;
- Specified by:
getMostDisruptiveAllowedActionBytes
in interfaceInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The bytes for mostDisruptiveAllowedAction.
-
setMostDisruptiveAllowedAction
public InstanceGroupManagersApplyUpdatesRequest.Builder setMostDisruptiveAllowedAction(String value)
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;
- Parameters:
value
- The mostDisruptiveAllowedAction to set.- Returns:
- This builder for chaining.
-
clearMostDisruptiveAllowedAction
public InstanceGroupManagersApplyUpdatesRequest.Builder clearMostDisruptiveAllowedAction()
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:
- This builder for chaining.
-
setMostDisruptiveAllowedActionBytes
public InstanceGroupManagersApplyUpdatesRequest.Builder setMostDisruptiveAllowedActionBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for mostDisruptiveAllowedAction to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InstanceGroupManagersApplyUpdatesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeUnknownFields
public final InstanceGroupManagersApplyUpdatesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
-