Package com.google.cloud.compute.v1
Class RegionInstanceGroupManagersApplyUpdatesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
- com.google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
-
- All Implemented Interfaces:
RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RegionInstanceGroupManagersApplyUpdatesRequest
public static final class RegionInstanceGroupManagersApplyUpdatesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder> implements RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
RegionInstanceGroupManagers.applyUpdatesToInstances
Protobuf typegoogle.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionInstanceGroupManagersApplyUpdatesRequest.Builder
addAllInstances(Iterable<String> values)
The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
addInstances(String value)
The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
addInstancesBytes(com.google.protobuf.ByteString value)
The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersApplyUpdatesRequest
build()
RegionInstanceGroupManagersApplyUpdatesRequest
buildPartial()
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clear()
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clearAllInstances()
Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clearInstances()
The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
clone()
boolean
getAllInstances()
Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequest
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()
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(RegionInstanceGroupManagersApplyUpdatesRequest other)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
setAllInstances(boolean value)
Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
setInstances(int index, String value)
The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.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.RegionInstanceGroupManagersApplyUpdatesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clear
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupManagersApplyUpdatesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupManagersApplyUpdatesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
setField
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearField
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearOneof
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(RegionInstanceGroupManagersApplyUpdatesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersApplyUpdatesRequest.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<RegionInstanceGroupManagersApplyUpdatesRequest.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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The allInstances.
-
setAllInstances
public RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
setInstances
public RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The bytes for minimalAction.
-
setMinimalAction
public RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- 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 interfaceRegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
- Returns:
- The bytes for mostDisruptiveAllowedAction.
-
setMostDisruptiveAllowedAction
public RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.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 RegionInstanceGroupManagersApplyUpdatesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
-