Class InstancesSetMachineResourcesRequest (1.59.0)

public final class InstancesSetMachineResourcesRequest extends GeneratedMessageV3 implements InstancesSetMachineResourcesRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstancesSetMachineResourcesRequest

Inheritance

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

Static Fields

GUEST_ACCELERATORS_FIELD_NUMBER

public static final int GUEST_ACCELERATORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstancesSetMachineResourcesRequest getDefaultInstance()
Returns
Type Description
InstancesSetMachineResourcesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(InstancesSetMachineResourcesRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstancesSetMachineResourcesRequest getDefaultInstanceForType()
Returns
Type Description
InstancesSetMachineResourcesRequest

getGuestAccelerators(int index)

public AcceleratorConfig getGuestAccelerators(int index)

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig

getGuestAcceleratorsCount()

public int getGuestAcceleratorsCount()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
Type Description
int

getGuestAcceleratorsList()

public List<AcceleratorConfig> getGuestAcceleratorsList()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
Type Description
List<AcceleratorConfig>

getGuestAcceleratorsOrBuilder(int index)

public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getGuestAcceleratorsOrBuilderList()

public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()

A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 InstancesSetMachineResourcesRequest.Builder newBuilderForType()
Returns
Type Description
InstancesSetMachineResourcesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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