public final class NodeType extends GeneratedMessageV3 implements NodeTypeOrBuilder
Describes node type.
Protobuf type google.cloud.vmwareengine.v1.NodeType
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>)
Static Fields
AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
public static final int AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MEMORY_GB_FIELD_NUMBER
public static final int MEMORY_GB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NODE_TYPE_ID_FIELD_NUMBER
public static final int NODE_TYPE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TOTAL_CORE_COUNT_FIELD_NUMBER
public static final int TOTAL_CORE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIRTUAL_CPU_COUNT_FIELD_NUMBER
public static final int VIRTUAL_CPU_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NodeType getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NodeType.Builder newBuilder()
newBuilder(NodeType prototype)
public static NodeType.Builder newBuilder(NodeType prototype)
Parameter |
---|
Name | Description |
prototype | NodeType
|
public static NodeType parseDelimitedFrom(InputStream input)
public static NodeType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NodeType parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NodeType parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(CodedInputStream input)
public static NodeType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(InputStream input)
public static NodeType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NodeType parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NodeType> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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-central1-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-central1-a/nodeTypes/standard-72
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NodeType.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NodeType.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides