Package com.google.cloud.compute.v1
Class RegionInstanceGroupManagersApplyUpdatesRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest
-
- All Implemented Interfaces:
RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RegionInstanceGroupManagersApplyUpdatesRequest extends com.google.protobuf.GeneratedMessageV3 implements RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder
RegionInstanceGroupManagers.applyUpdatesToInstances
Protobuf typegoogle.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegionInstanceGroupManagersApplyUpdatesRequest.BuilderRegionInstanceGroupManagers.applyUpdatesToInstancesstatic classRegionInstanceGroupManagersApplyUpdatesRequest.MinimalActionThe minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again.static classRegionInstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedActionThe most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_INSTANCES_FIELD_NUMBERstatic intINSTANCES_FIELD_NUMBERstatic intMINIMAL_ACTION_FIELD_NUMBERstatic intMOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAllInstances()Flag to update all instances instead of specified list of “instances”.static RegionInstanceGroupManagersApplyUpdatesRequestgetDefaultInstance()RegionInstanceGroupManagersApplyUpdatesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<RegionInstanceGroupManagersApplyUpdatesRequest>getParserForType()intgetSerializedSize()booleanhasAllInstances()Flag to update all instances instead of specified list of “instances”.inthashCode()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()static RegionInstanceGroupManagersApplyUpdatesRequest.BuildernewBuilder()static RegionInstanceGroupManagersApplyUpdatesRequest.BuildernewBuilder(RegionInstanceGroupManagersApplyUpdatesRequest prototype)RegionInstanceGroupManagersApplyUpdatesRequest.BuildernewBuilderForType()protected RegionInstanceGroupManagersApplyUpdatesRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RegionInstanceGroupManagersApplyUpdatesRequestparseDelimitedFrom(InputStream input)static RegionInstanceGroupManagersApplyUpdatesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(byte[] data)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(com.google.protobuf.ByteString data)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(com.google.protobuf.CodedInputStream input)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(InputStream input)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(ByteBuffer data)static RegionInstanceGroupManagersApplyUpdatesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RegionInstanceGroupManagersApplyUpdatesRequest>parser()RegionInstanceGroupManagersApplyUpdatesRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ALL_INSTANCES_FIELD_NUMBER
public static final int ALL_INSTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCES_FIELD_NUMBER
public static final int INSTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MINIMAL_ACTION_FIELD_NUMBER
public static final int MINIMAL_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER
public static final int MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilder()
-
newBuilder
public static RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilder(RegionInstanceGroupManagersApplyUpdatesRequest prototype)
-
toBuilder
public RegionInstanceGroupManagersApplyUpdatesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RegionInstanceGroupManagersApplyUpdatesRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<RegionInstanceGroupManagersApplyUpdatesRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-