Class FutureResourcesSpecAggregateResources (1.92.0)

public final class FutureResourcesSpecAggregateResources extends GeneratedMessageV3 implements FutureResourcesSpecAggregateResourcesOrBuilder

Protobuf type google.cloud.compute.v1.FutureResourcesSpecAggregateResources

Inheritance

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

Static Fields

ACCELERATOR_COUNT_FIELD_NUMBER

public static final int ACCELERATOR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

VM_FAMILY_FIELD_NUMBER

public static final int VM_FAMILY_FIELD_NUMBER
Field Value
Type Description
int

WORKLOAD_TYPE_FIELD_NUMBER

public static final int WORKLOAD_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FutureResourcesSpecAggregateResources getDefaultInstance()
Returns
Type Description
FutureResourcesSpecAggregateResources

getDescriptor()

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

newBuilder()

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

newBuilder(FutureResourcesSpecAggregateResources prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAcceleratorCount()

public long getAcceleratorCount()

Size of the request, in accelerator (chip) count.

optional int64 accelerator_count = 504879675;

Returns
Type Description
long

The acceleratorCount.

getDefaultInstanceForType()

public FutureResourcesSpecAggregateResources getDefaultInstanceForType()
Returns
Type Description
FutureResourcesSpecAggregateResources

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVmFamily()

public String getVmFamily()

The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
String

The vmFamily.

getVmFamilyBytes()

public ByteString getVmFamilyBytes()

The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
ByteString

The bytes for vmFamily.

getWorkloadType()

public String getWorkloadType()

Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
String

The workloadType.

getWorkloadTypeBytes()

public ByteString getWorkloadTypeBytes()

Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
ByteString

The bytes for workloadType.

hasAcceleratorCount()

public boolean hasAcceleratorCount()

Size of the request, in accelerator (chip) count.

optional int64 accelerator_count = 504879675;

Returns
Type Description
boolean

Whether the acceleratorCount field is set.

hasVmFamily()

public boolean hasVmFamily()

The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values.

optional string vm_family = 125017580;

Returns
Type Description
boolean

Whether the vmFamily field is set.

hasWorkloadType()

public boolean hasWorkloadType()

Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values.

optional string workload_type = 273432322;

Returns
Type Description
boolean

Whether the workloadType 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 FutureResourcesSpecAggregateResources.Builder newBuilderForType()
Returns
Type Description
FutureResourcesSpecAggregateResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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