Class InstanceGroupManagersSuspendInstancesRequest (1.65.0)

public final class InstanceGroupManagersSuspendInstancesRequest extends GeneratedMessageV3 implements InstanceGroupManagersSuspendInstancesRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSuspendInstancesRequest

Inheritance

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

Static Fields

FORCE_SUSPEND_FIELD_NUMBER

public static final int FORCE_SUSPEND_FIELD_NUMBER
Field Value
Type Description
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagersSuspendInstancesRequest getDefaultInstance()
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InstanceGroupManagersSuspendInstancesRequest.Builder newBuilder()
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest.Builder

newBuilder(InstanceGroupManagersSuspendInstancesRequest prototype)

public static InstanceGroupManagersSuspendInstancesRequest.Builder newBuilder(InstanceGroupManagersSuspendInstancesRequest prototype)
Parameter
Name Description
prototype InstanceGroupManagersSuspendInstancesRequest
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest.Builder

parseDelimitedFrom(InputStream input)

public static InstanceGroupManagersSuspendInstancesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSuspendInstancesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstanceGroupManagersSuspendInstancesRequest> parser()
Returns
Type Description
Parser<InstanceGroupManagersSuspendInstancesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InstanceGroupManagersSuspendInstancesRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest

getForceSuspend()

public boolean getForceSuspend()

If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.

optional bool force_suspend = 27637480;

Returns
Type Description
boolean

The forceSuspend.

getInstances(int index)

public String getInstances(int index)

The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The instances at the given index.

getInstancesBytes(int index)

public ByteString getInstancesBytes(int index)

The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public int getInstancesCount()

The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Returns
Type Description
int

The count of instances.

getInstancesList()

public ProtocolStringList getInstancesList()

The URLs of one or more instances to suspend. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Returns
Type Description
ProtocolStringList

A list containing the instances.

getParserForType()

public Parser<InstanceGroupManagersSuspendInstancesRequest> getParserForType()
Returns
Type Description
Parser<InstanceGroupManagersSuspendInstancesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasForceSuspend()

public boolean hasForceSuspend()

If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.

optional bool force_suspend = 27637480;

Returns
Type Description
boolean

Whether the forceSuspend field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstanceGroupManagersSuspendInstancesRequest.Builder newBuilderForType()
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceGroupManagersSuspendInstancesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstanceGroupManagersSuspendInstancesRequest.Builder toBuilder()
Returns
Type Description
InstanceGroupManagersSuspendInstancesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException