public final class NodeType extends GeneratedMessageV3 implements NodeTypeOrBuilder
Describes node type.
Protobuf type google.cloud.vmwareengine.v1.NodeType
Static Fields
AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
public static final int AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
Field Value
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
MEMORY_GB_FIELD_NUMBER
public static final int MEMORY_GB_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NODE_TYPE_ID_FIELD_NUMBER
public static final int NODE_TYPE_ID_FIELD_NUMBER
Field Value
TOTAL_CORE_COUNT_FIELD_NUMBER
public static final int TOTAL_CORE_COUNT_FIELD_NUMBER
Field Value
VIRTUAL_CPU_COUNT_FIELD_NUMBER
public static final int VIRTUAL_CPU_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeType getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeType.Builder newBuilder()
Returns
newBuilder(NodeType prototype)
public static NodeType.Builder newBuilder(NodeType prototype)
Parameter
Returns
public static NodeType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeType> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAvailableCustomCoreCounts(int index)
public int getAvailableCustomCoreCounts(int index)
Output only. List of possible values of custom core count.
repeated int32 available_custom_core_counts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
int | The availableCustomCoreCounts at the given index.
|
getAvailableCustomCoreCountsCount()
public int getAvailableCustomCoreCountsCount()
Output only. List of possible values of custom core count.
repeated int32 available_custom_core_counts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The count of availableCustomCoreCounts.
|
getAvailableCustomCoreCountsList()
public List<Integer> getAvailableCustomCoreCountsList()
Output only. List of possible values of custom core count.
repeated int32 available_custom_core_counts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
List<Integer> | A list containing the availableCustomCoreCounts.
|
getDefaultInstanceForType()
public NodeType getDefaultInstanceForType()
Returns
getDiskSizeGb()
public int getDiskSizeGb()
Output only. The amount of storage available, defined in GB.
int32 disk_size_gb = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The diskSizeGb.
|
getDisplayName()
public String getDisplayName()
Output only. The friendly name for this node type.
For example: ve1-standard-72
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. The friendly name for this node type.
For example: ve1-standard-72
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getMemoryGb()
Output only. The amount of physical memory available, defined in GB.
int32 memory_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The memoryGb.
|
getName()
Output only. The resource name of this node type.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-proj/locations/us-west1-a/nodeTypes/standard-72
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of this node type.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-proj/locations/us-west1-a/nodeTypes/standard-72
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getNodeTypeId()
public String getNodeTypeId()
Output only. The canonical identifier of the node type
(corresponds to the NodeType
). For example: standard-72.
string node_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The nodeTypeId.
|
getNodeTypeIdBytes()
public ByteString getNodeTypeIdBytes()
Output only. The canonical identifier of the node type
(corresponds to the NodeType
). For example: standard-72.
string node_type_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for nodeTypeId.
|
getParserForType()
public Parser<NodeType> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTotalCoreCount()
public int getTotalCoreCount()
Output only. The total number of CPU cores in a single node.
int32 total_core_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The totalCoreCount.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVirtualCpuCount()
public int getVirtualCpuCount()
Output only. The total number of virtual CPUs in a single node.
int32 virtual_cpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The virtualCpuCount.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions