Class RegionInstanceGroupManagersApplyUpdatesRequest (1.41.0)

public final class RegionInstanceGroupManagersApplyUpdatesRequest extends GeneratedMessageV3 implements RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder

RegionInstanceGroupManagers.applyUpdatesToInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RegionInstanceGroupManagersApplyUpdatesRequest

Static Fields

ALL_INSTANCES_FIELD_NUMBER

public static final int ALL_INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

MINIMAL_ACTION_FIELD_NUMBER

public static final int MINIMAL_ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER

public static final int MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstance()
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilder()
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest.Builder

newBuilder(RegionInstanceGroupManagersApplyUpdatesRequest prototype)

public static RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilder(RegionInstanceGroupManagersApplyUpdatesRequest prototype)
Parameter
NameDescription
prototypeRegionInstanceGroupManagersApplyUpdatesRequest
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest.Builder

parseDelimitedFrom(InputStream input)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RegionInstanceGroupManagersApplyUpdatesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RegionInstanceGroupManagersApplyUpdatesRequest> parser()
Returns
TypeDescription
Parser<RegionInstanceGroupManagersApplyUpdatesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
boolean

The allInstances.

getDefaultInstanceForType()

public RegionInstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest

getInstances(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instances at the given index.

getInstancesBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instances at the given index.

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;

Returns
TypeDescription
int

The count of instances.

getInstancesList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the instances.

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;

Returns
TypeDescription
String

The minimalAction.

getMinimalActionBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for minimalAction.

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;

Returns
TypeDescription
String

The mostDisruptiveAllowedAction.

getMostDisruptiveAllowedActionBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for mostDisruptiveAllowedAction.

getParserForType()

public Parser<RegionInstanceGroupManagersApplyUpdatesRequest> getParserForType()
Returns
TypeDescription
Parser<RegionInstanceGroupManagersApplyUpdatesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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;

Returns
TypeDescription
boolean

Whether the allInstances field is set.

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;

Returns
TypeDescription
boolean

Whether the minimalAction field is set.

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;

Returns
TypeDescription
boolean

Whether the mostDisruptiveAllowedAction field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilderForType()
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RegionInstanceGroupManagersApplyUpdatesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RegionInstanceGroupManagersApplyUpdatesRequest.Builder toBuilder()
Returns
TypeDescription
RegionInstanceGroupManagersApplyUpdatesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException