Class AllocationAggregateReservationReservedResourceInfo (1.46.0)

public final class AllocationAggregateReservationReservedResourceInfo extends GeneratedMessageV3 implements AllocationAggregateReservationReservedResourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo

Inheritance

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

Static Fields

ACCELERATOR_FIELD_NUMBER

public static final int ACCELERATOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AllocationAggregateReservationReservedResourceInfo getDefaultInstance()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(AllocationAggregateReservationReservedResourceInfo prototype)

public static AllocationAggregateReservationReservedResourceInfo.Builder newBuilder(AllocationAggregateReservationReservedResourceInfo prototype)
Parameter
NameDescription
prototypeAllocationAggregateReservationReservedResourceInfo
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccelerator()

public AllocationAggregateReservationReservedResourceInfoAccelerator getAccelerator()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfoAccelerator

The accelerator.

getAcceleratorOrBuilder()

public AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder getAcceleratorOrBuilder()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder

getDefaultInstanceForType()

public AllocationAggregateReservationReservedResourceInfo getDefaultInstanceForType()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAccelerator()

public boolean hasAccelerator()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
TypeDescription
boolean

Whether the accelerator 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 AllocationAggregateReservationReservedResourceInfo.Builder newBuilderForType()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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