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.BuilderaddAllInstances(Iterable<String> values)The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.BuilderaddInstances(String value)The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.BuilderaddInstancesBytes(com.google.protobuf.ByteString value)The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersApplyUpdatesRequestbuild()InstanceGroupManagersApplyUpdatesRequestbuildPartial()InstanceGroupManagersApplyUpdatesRequest.Builderclear()InstanceGroupManagersApplyUpdatesRequest.BuilderclearAllInstances()Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstanceGroupManagersApplyUpdatesRequest.BuilderclearInstances()The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.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.InstanceGroupManagersApplyUpdatesRequest.BuilderclearMostDisruptiveAllowedAction()The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.InstanceGroupManagersApplyUpdatesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstanceGroupManagersApplyUpdatesRequest.Builderclone()booleangetAllInstances()Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequestgetDefaultInstanceForType()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()InstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(InstanceGroupManagersApplyUpdatesRequest other)InstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstanceGroupManagersApplyUpdatesRequest.BuildermergeFrom(com.google.protobuf.Message other)InstanceGroupManagersApplyUpdatesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceGroupManagersApplyUpdatesRequest.BuildersetAllInstances(boolean value)Flag to update all instances instead of specified list of “instances”.InstanceGroupManagersApplyUpdatesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceGroupManagersApplyUpdatesRequest.BuildersetInstances(int index, String value)The list of URLs of one or more instances for which you want to apply updates.InstanceGroupManagersApplyUpdatesRequest.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.InstanceGroupManagersApplyUpdatesRequest.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.InstanceGroupManagersApplyUpdatesRequest.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.InstanceGroupManagersApplyUpdatesRequest.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.InstanceGroupManagersApplyUpdatesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clear
public InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
getDefaultInstanceForType
public InstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceGroupManagersApplyUpdatesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceGroupManagersApplyUpdatesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
setField
public InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearField
public InstanceGroupManagersApplyUpdatesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
clearOneof
public InstanceGroupManagersApplyUpdatesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
setRepeatedField
public InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
addRepeatedField
public InstanceGroupManagersApplyUpdatesRequest.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<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeFrom
public InstanceGroupManagersApplyUpdatesRequest.Builder mergeFrom(InstanceGroupManagersApplyUpdatesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasAllInstancesin 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:
getAllInstancesin 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:
getInstancesListin 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:
getInstancesCountin 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:
getInstancesin 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:
getInstancesBytesin 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:
hasMinimalActionin 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:
getMinimalActionin 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:
getMinimalActionBytesin 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:
hasMostDisruptiveAllowedActionin 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:
getMostDisruptiveAllowedActionin 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:
getMostDisruptiveAllowedActionBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
mergeUnknownFields
public final InstanceGroupManagersApplyUpdatesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagersApplyUpdatesRequest.Builder>
-
-