Class NodeType (0.29.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
TypeDescription
int

CAPABILITIES_FIELD_NUMBER

public static final int CAPABILITIES_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_SIZE_GB_FIELD_NUMBER

public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FAMILIES_FIELD_NUMBER

public static final int FAMILIES_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_GB_FIELD_NUMBER

public static final int MEMORY_GB_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_TYPE_ID_FIELD_NUMBER

public static final int NODE_TYPE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_CORE_COUNT_FIELD_NUMBER

public static final int TOTAL_CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

VIRTUAL_CPU_COUNT_FIELD_NUMBER

public static final int VIRTUAL_CPU_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeType getDefaultInstance()
Returns
TypeDescription
NodeType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodeType.Builder newBuilder()
Returns
TypeDescription
NodeType.Builder

newBuilder(NodeType prototype)

public static NodeType.Builder newBuilder(NodeType prototype)
Parameter
NameDescription
prototypeNodeType
Returns
TypeDescription
NodeType.Builder

parseDelimitedFrom(InputStream input)

public static NodeType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeType> parser()
Returns
TypeDescription
Parser<NodeType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

getDefaultInstanceForType()

public NodeType getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nodeTypeId.

getParserForType()

public Parser<NodeType> getParserForType()
Returns
TypeDescription
Parser<NodeType>
Overrides

getSerializedSize()

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

The virtualCpuCount.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeType.Builder newBuilderForType()
Returns
TypeDescription
NodeType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeType.Builder toBuilder()
Returns
TypeDescription
NodeType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException