Class NodeType.Builder (0.35.0)

public static final class NodeType.Builder extends GeneratedMessageV3.Builder<NodeType.Builder> implements NodeTypeOrBuilder

Describes node type.

Protobuf type google.cloud.vmwareengine.v1.NodeType

Implements

NodeTypeOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllAvailableCustomCoreCounts(Iterable<? extends Integer> values)

public NodeType.Builder addAllAvailableCustomCoreCounts(Iterable<? extends Integer> values)

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
valuesIterable<? extends java.lang.Integer>

The availableCustomCoreCounts to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addAllCapabilities(Iterable<? extends NodeType.Capability> values)

public NodeType.Builder addAllCapabilities(Iterable<? extends NodeType.Capability> values)

Output only. Capabilities of this node type.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.NodeType.Capability>

The capabilities to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addAllCapabilitiesValue(Iterable<Integer> values)

public NodeType.Builder addAllCapabilitiesValue(Iterable<Integer> values)

Output only. Capabilities of this node type.

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

Parameter
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for capabilities to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addAllFamilies(Iterable<String> values)

public NodeType.Builder addAllFamilies(Iterable<String> values)

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
valuesIterable<String>

The families to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addAvailableCustomCoreCounts(int value)

public NodeType.Builder addAvailableCustomCoreCounts(int value)

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
valueint

The availableCustomCoreCounts to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addCapabilities(NodeType.Capability value)

public NodeType.Builder addCapabilities(NodeType.Capability value)

Output only. Capabilities of this node type.

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

Parameter
NameDescription
valueNodeType.Capability

The capabilities to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addCapabilitiesValue(int value)

public NodeType.Builder addCapabilitiesValue(int value)

Output only. Capabilities of this node type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for capabilities to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addFamilies(String value)

public NodeType.Builder addFamilies(String value)

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
valueString

The families to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addFamiliesBytes(ByteString value)

public NodeType.Builder addFamiliesBytes(ByteString value)

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
valueByteString

The bytes of the families to add.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeType.Builder
Overrides

build()

public NodeType build()
Returns
TypeDescription
NodeType

buildPartial()

public NodeType buildPartial()
Returns
TypeDescription
NodeType

clear()

public NodeType.Builder clear()
Returns
TypeDescription
NodeType.Builder
Overrides

clearAvailableCustomCoreCounts()

public NodeType.Builder clearAvailableCustomCoreCounts()

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
NodeType.Builder

This builder for chaining.

clearCapabilities()

public NodeType.Builder clearCapabilities()

Output only. Capabilities of this node type.

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

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

clearDiskSizeGb()

public NodeType.Builder clearDiskSizeGb()

Output only. The amount of storage available, defined in GB.

int32 disk_size_gb = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

clearDisplayName()

public NodeType.Builder clearDisplayName()

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
NodeType.Builder

This builder for chaining.

clearFamilies()

public NodeType.Builder clearFamilies()

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
NodeType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeType.Builder
Overrides

clearKind()

public NodeType.Builder clearKind()

Output only. The type of the resource.

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

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

clearMemoryGb()

public NodeType.Builder clearMemoryGb()

Output only. The amount of physical memory available, defined in GB.

int32 memory_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

clearName()

public NodeType.Builder clearName()

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
NodeType.Builder

This builder for chaining.

clearNodeTypeId()

public NodeType.Builder clearNodeTypeId()

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
NodeType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeType.Builder
Overrides

clearTotalCoreCount()

public NodeType.Builder clearTotalCoreCount()

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
NodeType.Builder

This builder for chaining.

clearVirtualCpuCount()

public NodeType.Builder clearVirtualCpuCount()

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
NodeType.Builder

This builder for chaining.

clone()

public NodeType.Builder clone()
Returns
TypeDescription
NodeType.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeType other)

public NodeType.Builder mergeFrom(NodeType other)
Parameter
NameDescription
otherNodeType
Returns
TypeDescription
NodeType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeType.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeType.Builder
Overrides

setAvailableCustomCoreCounts(int index, int value)

public NodeType.Builder setAvailableCustomCoreCounts(int index, int value)

Output only. List of possible values of custom core count.

repeated int32 available_custom_core_counts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index to set the value at.

valueint

The availableCustomCoreCounts to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setCapabilities(int index, NodeType.Capability value)

public NodeType.Builder setCapabilities(int index, NodeType.Capability value)

Output only. Capabilities of this node type.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueNodeType.Capability

The capabilities to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setCapabilitiesValue(int index, int value)

public NodeType.Builder setCapabilitiesValue(int index, int value)

Output only. Capabilities of this node type.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueint

The enum numeric value on the wire for capabilities to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setDiskSizeGb(int value)

public NodeType.Builder setDiskSizeGb(int value)

Output only. The amount of storage available, defined in GB.

int32 disk_size_gb = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The diskSizeGb to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setDisplayName(String value)

public NodeType.Builder setDisplayName(String value)

Output only. The friendly name for this node type. For example: ve1-standard-72

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public NodeType.Builder setDisplayNameBytes(ByteString value)

Output only. The friendly name for this node type. For example: ve1-standard-72

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setFamilies(int index, String value)

public NodeType.Builder setFamilies(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The families to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeType.Builder
Overrides

setKind(NodeType.Kind value)

public NodeType.Builder setKind(NodeType.Kind value)

Output only. The type of the resource.

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

Parameter
NameDescription
valueNodeType.Kind

The kind to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setKindValue(int value)

public NodeType.Builder setKindValue(int value)

Output only. The type of the resource.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for kind to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setMemoryGb(int value)

public NodeType.Builder setMemoryGb(int value)

Output only. The amount of physical memory available, defined in GB.

int32 memory_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The memoryGb to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setName(String value)

public NodeType.Builder setName(String value)

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];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setNameBytes(ByteString value)

public NodeType.Builder setNameBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setNodeTypeId(String value)

public NodeType.Builder setNodeTypeId(String value)

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];

Parameter
NameDescription
valueString

The nodeTypeId to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setNodeTypeIdBytes(ByteString value)

public NodeType.Builder setNodeTypeIdBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for nodeTypeId to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeType.Builder
Overrides

setTotalCoreCount(int value)

public NodeType.Builder setTotalCoreCount(int value)

Output only. The total number of CPU cores in a single node.

int32 total_core_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The totalCoreCount to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeType.Builder
Overrides

setVirtualCpuCount(int value)

public NodeType.Builder setVirtualCpuCount(int value)

Output only. The total number of virtual CPUs in a single node.

int32 virtual_cpu_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The virtualCpuCount to set.

Returns
TypeDescription
NodeType.Builder

This builder for chaining.