public final class MachineShape extends GeneratedMessage implements MachineShapeOrBuilder
Machine shape details
Next : 13
Protobuf type google.cloud.capacityplanner.v1beta.MachineShape
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CPU_CORES_FIELD_NUMBER
public static final int CPU_CORES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GPU_COMPUTE_TYPE_FIELD_NUMBER
public static final int GPU_COMPUTE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GPU_CORES_FIELD_NUMBER
public static final int GPU_CORES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GPU_TYPE_FIELD_NUMBER
public static final int GPU_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOCAL_SSD_GB_FIELD_NUMBER
public static final int LOCAL_SSD_GB_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOCAL_SSD_INTERFACE_FIELD_NUMBER
public static final int LOCAL_SSD_INTERFACE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOCAL_SSD_PARTITIONS_FIELD_NUMBER
public static final int LOCAL_SSD_PARTITIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MACHINE_FAMILY_FIELD_NUMBER
public static final int MACHINE_FAMILY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MACHINE_SHAPE_FIELD_NUMBER
public static final int MACHINE_SHAPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MEMORY_GB_FIELD_NUMBER
public static final int MEMORY_GB_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MachineShape getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MachineShape.Builder newBuilder()
newBuilder(MachineShape prototype)
public static MachineShape.Builder newBuilder(MachineShape prototype)
public static MachineShape parseDelimitedFrom(InputStream input)
public static MachineShape parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MachineShape parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MachineShape parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MachineShape parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineShape parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineShape parseFrom(CodedInputStream input)
public static MachineShape parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MachineShape parseFrom(InputStream input)
public static MachineShape parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MachineShape parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MachineShape parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MachineShape> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCpuCores()
public double getCpuCores()
Optional. Number of CPU cores per VM.
double cpu_cores = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The cpuCores.
|
getDefaultInstanceForType()
public MachineShape getDefaultInstanceForType()
getGpuComputeType()
public String getGpuComputeType()
Optional. The GPU name recognized by Compute Engine APIs.
string gpu_compute_type = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The gpuComputeType.
|
getGpuComputeTypeBytes()
public ByteString getGpuComputeTypeBytes()
Optional. The GPU name recognized by Compute Engine APIs.
string gpu_compute_type = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for gpuComputeType.
|
getGpuCores()
public long getGpuCores()
Optional. The number of GPU cores per VM.
int64 gpu_cores = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The gpuCores.
|
getGpuType()
public String getGpuType()
Optional. The type of GPU with the VM.
string gpu_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The gpuType.
|
getGpuTypeBytes()
public ByteString getGpuTypeBytes()
Optional. The type of GPU with the VM.
string gpu_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for gpuType.
|
getLocalSsdGb()
public double getLocalSsdGb()
Optional. Total amount of local SSD storage.
double local_ssd_gb = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The localSsdGb.
|
getLocalSsdInterface()
public String getLocalSsdInterface()
Optional. The local SSD interface used such as nvme or scsi
string local_ssd_interface = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The localSsdInterface.
|
getLocalSsdInterfaceBytes()
public ByteString getLocalSsdInterfaceBytes()
Optional. The local SSD interface used such as nvme or scsi
string local_ssd_interface = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for localSsdInterface.
|
getLocalSsdPartitions()
public long getLocalSsdPartitions()
Optional. The number of local SSD partitions per VM.
int64 local_ssd_partitions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The localSsdPartitions.
|
getMachineFamily()
public String getMachineFamily()
Optional. The VM family.
string machine_family = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The machineFamily.
|
getMachineFamilyBytes()
public ByteString getMachineFamilyBytes()
Optional. The VM family.
string machine_family = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for machineFamily.
|
getMachineShape()
public String getMachineShape()
Optional. The customer visible string representing the type of VM.
string machine_shape = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The machineShape.
|
getMachineShapeBytes()
public ByteString getMachineShapeBytes()
Optional. The customer visible string representing the type of VM.
string machine_shape = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for machineShape.
|
getMachineType()
public String getMachineType()
Optional. The characteristics of the sampled VM expressed as a string.
string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Optional. The characteristics of the sampled VM expressed as a string.
string machine_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for machineType.
|
getMemoryGb()
public double getMemoryGb()
Optional. Total amount of memory with the VM.
double memory_gb = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The memoryGb.
|
public String getMinCpuPlatform()
Optional. The Min-cpu platform used such as icelake
string min_cpu_platform = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The minCpuPlatform.
|
public ByteString getMinCpuPlatformBytes()
Optional. The Min-cpu platform used such as icelake
string min_cpu_platform = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for minCpuPlatform.
|
getParserForType()
public Parser<MachineShape> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MachineShape.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MachineShape.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public MachineShape.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides