Interface NodeTypeOrBuilder (0.22.0)

public interface NodeTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailableCustomCoreCounts(int index)

public abstract 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 abstract 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 abstract 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.

getDiskSizeGb()

public abstract 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 abstract 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 abstract 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.

getMemoryGb()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getTotalCoreCount()

public abstract 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 abstract 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.