Class NodeType (0.42.0)

public final class NodeType extends GeneratedMessageV3 implements NodeTypeOrBuilder

Describes node type.

Protobuf type google.cloud.vmwareengine.v1.NodeType

Implements

NodeTypeOrBuilder

Static Fields

AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER

public static final int AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

CAPABILITIES_FIELD_NUMBER

public static final int CAPABILITIES_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

FAMILIES_FIELD_NUMBER

public static final int FAMILIES_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_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()
Returns
Type Description
NodeType

getDescriptor()

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

newBuilder()

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

newBuilder(NodeType prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

getCapabilities(int index)

public NodeType.Capability getCapabilities(int index)

Output only. Capabilities of this node type.

repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
NodeType.Capability

The capabilities at the given index.

getCapabilitiesCount()

public int getCapabilitiesCount()

Output only. Capabilities of this node type.

repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of capabilities.

getCapabilitiesList()

public List<NodeType.Capability> getCapabilitiesList()

Output only. Capabilities of this node type.

repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Capability>

A list containing the capabilities.

getCapabilitiesValue(int index)

public int getCapabilitiesValue(int index)

Output only. Capabilities of this node type.

repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of capabilities at the given index.

getCapabilitiesValueList()

public List<Integer> getCapabilitiesValueList()

Output only. Capabilities of this node type.

repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for capabilities.

getDefaultInstanceForType()

public NodeType getDefaultInstanceForType()
Returns
Type Description
NodeType

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.

getFamilies(int index)

public String getFamilies(int index)

Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the families.

repeated string families = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The families at the given index.

getFamiliesBytes(int index)

public ByteString getFamiliesBytes(int index)

Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the families.

repeated string families = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the families at the given index.

getFamiliesCount()

public int getFamiliesCount()

Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the families.

repeated string families = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of families.

getFamiliesList()

public ProtocolStringList getFamiliesList()

Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the families.

repeated string families = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the families.

getKind()

public NodeType.Kind getKind()

Output only. The type of the resource.

.google.cloud.vmwareengine.v1.NodeType.Kind kind = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NodeType.Kind

The kind.

getKindValue()

public int getKindValue()

Output only. The type of the resource.

.google.cloud.vmwareengine.v1.NodeType.Kind kind = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for kind.

getMemoryGb()

public int 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()

public String 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()
Returns
Type Description
Parser<NodeType>
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()

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 NodeType.Builder newBuilderForType()
Returns
Type Description
NodeType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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