publicfinalclass MachineSpecextendsGeneratedMessageV3implementsMachineSpecOrBuilder
Specification of a single machine.
Protobuf type google.cloud.vertexai.v1.MachineSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCELERATOR_COUNT_FIELD_NUMBER
publicstaticfinalintACCELERATOR_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ACCELERATOR_TYPE_FIELD_NUMBER
publicstaticfinalintACCELERATOR_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MACHINE_TYPE_FIELD_NUMBER
publicstaticfinalintMACHINE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESERVATION_AFFINITY_FIELD_NUMBER
publicstaticfinalintRESERVATION_AFFINITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TPU_TOPOLOGY_FIELD_NUMBER
publicstaticfinalintTPU_TOPOLOGY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticMachineSpecgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticMachineSpec.BuildernewBuilder()
newBuilder(MachineSpec prototype)
publicstaticMachineSpec.BuildernewBuilder(MachineSpecprototype)
publicstaticMachineSpecparseDelimitedFrom(InputStreaminput)
publicstaticMachineSpecparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticMachineSpecparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticMachineSpecparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticMachineSpecparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticMachineSpecparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticMachineSpecparseFrom(CodedInputStreaminput)
publicstaticMachineSpecparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticMachineSpecparseFrom(InputStreaminput)
publicstaticMachineSpecparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticMachineSpecparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticMachineSpecparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<MachineSpec>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAcceleratorCount()
publicintgetAcceleratorCount()
The number of accelerators to attach to the machine.
int32 accelerator_count = 3;
| Returns |
| Type |
Description |
int |
The acceleratorCount.
|
getAcceleratorType()
publicAcceleratorTypegetAcceleratorType()
Immutable. The type of accelerator(s) that may be attached to the machine
as per
accelerator_count.
.google.cloud.vertexai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE];
getAcceleratorTypeValue()
publicintgetAcceleratorTypeValue()
Immutable. The type of accelerator(s) that may be attached to the machine
as per
accelerator_count.
.google.cloud.vertexai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for acceleratorType.
|
getDefaultInstanceForType()
publicMachineSpecgetDefaultInstanceForType()
getMachineType()
publicStringgetMachineType()
| Returns |
| Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
publicByteStringgetMachineTypeBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for machineType.
|
getParserForType()
publicParser<MachineSpec>getParserForType()
Overrides
getReservationAffinity()
publicReservationAffinitygetReservationAffinity()
Optional. Immutable. Configuration controlling how this resource pool
consumes reservation.
.google.cloud.vertexai.v1.ReservationAffinity reservation_affinity = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getReservationAffinityOrBuilder()
publicReservationAffinityOrBuildergetReservationAffinityOrBuilder()
Optional. Immutable. Configuration controlling how this resource pool
consumes reservation.
.google.cloud.vertexai.v1.ReservationAffinity reservation_affinity = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTpuTopology()
publicStringgetTpuTopology()
Immutable. The topology of the TPUs. Corresponds to the TPU topologies
available from GKE. (Example: tpu_topology: "2x2x1").
string tpu_topology = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
String |
The tpuTopology.
|
getTpuTopologyBytes()
publicByteStringgetTpuTopologyBytes()
Immutable. The topology of the TPUs. Corresponds to the TPU topologies
available from GKE. (Example: tpu_topology: "2x2x1").
string tpu_topology = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
ByteString |
The bytes for tpuTopology.
|
hasReservationAffinity()
publicbooleanhasReservationAffinity()
Optional. Immutable. Configuration controlling how this resource pool
consumes reservation.
.google.cloud.vertexai.v1.ReservationAffinity reservation_affinity = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the reservationAffinity field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicMachineSpec.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedMachineSpec.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicMachineSpec.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides