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.BuilderaddAllInstances(Iterable<String> values)The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderaddInstances(String value)The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderaddInstancesBytes(com.google.protobuf.ByteString value)The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegionInstanceGroupManagersApplyUpdatesRequestbuild()RegionInstanceGroupManagersApplyUpdatesRequestbuildPartial()RegionInstanceGroupManagersApplyUpdatesRequest.Builderclear()RegionInstanceGroupManagersApplyUpdatesRequest.BuilderclearAllInstances()Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RegionInstanceGroupManagersApplyUpdatesRequest.BuilderclearInstances()The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderclearMinimalAction()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.BuilderclearMostDisruptiveAllowedAction()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.RegionInstanceGroupManagersApplyUpdatesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RegionInstanceGroupManagersApplyUpdatesRequest.Builderclone()booleangetAllInstances()Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstances(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.intgetInstancesCount()The list of URLs of one or more instances for which you want to apply updates.com.google.protobuf.ProtocolStringListgetInstancesList()The list of URLs of one or more instances for which you want to apply updates.StringgetMinimalAction()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.ByteStringgetMinimalActionBytes()The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.StringgetMostDisruptiveAllowedAction()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.ByteStringgetMostDisruptiveAllowedActionBytes()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.booleanhasAllInstances()Flag to update all instances instead of specified list of “instances”.booleanhasMinimalAction()The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.booleanhasMostDisruptiveAllowedAction()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RegionInstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(RegionInstanceGroupManagersApplyUpdatesRequest other)RegionInstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RegionInstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(com.google.protobuf.Message other)RegionInstanceGroupManagersApplyUpdatesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RegionInstanceGroupManagersApplyUpdatesRequest.BuildersetAllInstances(boolean value)Flag to update all instances instead of specified list of “instances”.RegionInstanceGroupManagersApplyUpdatesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RegionInstanceGroupManagersApplyUpdatesRequest.BuildersetInstances(int index, String value)The list of URLs of one or more instances for which you want to apply updates.RegionInstanceGroupManagersApplyUpdatesRequest.BuildersetMinimalAction(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.BuildersetMinimalActionBytes(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.BuildersetMostDisruptiveAllowedAction(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.BuildersetMostDisruptiveAllowedActionBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RegionInstanceGroupManagersApplyUpdatesRequest.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clear
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupManagersApplyUpdatesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupManagersApplyUpdatesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
setField
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearField
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearOneof
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(RegionInstanceGroupManagersApplyUpdatesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasAllInstancesin 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:
getAllInstancesin 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:
getInstancesListin 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:
getInstancesCountin 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:
getInstancesin 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:
getInstancesBytesin 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:
hasMinimalActionin 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:
getMinimalActionin 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:
getMinimalActionBytesin 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:
hasMostDisruptiveAllowedActionin 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:
getMostDisruptiveAllowedActionin 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:
getMostDisruptiveAllowedActionBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupManagersApplyUpdatesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupManagersApplyUpdatesRequest.Builder>
-
-