public static final class NodeType.Builder extends GeneratedMessageV3.Builder<NodeType.Builder> implements NodeTypeOrBuilder
Describes node type.
Protobuf type google.cloud.vmwareengine.v1.NodeType
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeType.BuilderImplements
NodeTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
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];
Name | Description |
values | Iterable<? extends java.lang.Integer> The availableCustomCoreCounts to add. |
Type | Description |
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];
Name | Description |
value | int The availableCustomCoreCounts to add. |
Type | Description |
NodeType.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeType.Builder |
build()
public NodeType build()
Type | Description |
NodeType |
buildPartial()
public NodeType buildPartial()
Type | Description |
NodeType |
clear()
public NodeType.Builder clear()
Type | Description |
NodeType.Builder |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
NodeType.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeType.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NodeType.Builder |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
NodeType.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NodeType.Builder |
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];
Type | Description |
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];
Type | Description |
NodeType.Builder | This builder for chaining. |
clone()
public NodeType.Builder clone()
Type | Description |
NodeType.Builder |
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];
Name | Description |
index | int The index of the element to return. |
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];
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];
Type | Description |
List<Integer> | A list containing the availableCustomCoreCounts. |
getDefaultInstanceForType()
public NodeType getDefaultInstanceForType()
Type | Description |
NodeType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
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];
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];
Type | Description |
ByteString | The bytes for displayName. |
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];
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];
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];
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];
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];
Type | Description |
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];
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];
Type | Description |
int | The virtualCpuCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NodeType other)
public NodeType.Builder mergeFrom(NodeType other)
Name | Description |
other | NodeType |
Type | Description |
NodeType.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeType.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NodeType.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NodeType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeType.Builder |
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];
Name | Description |
index | int The index to set the value at. |
value | int The availableCustomCoreCounts to set. |
Type | Description |
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];
Name | Description |
value | int The diskSizeGb to set. |
Type | Description |
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
NodeType.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeType.Builder |
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];
Name | Description |
value | int The memoryGb to set. |
Type | Description |
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];
Name | Description |
value | String The name to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
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];
Name | Description |
value | String The nodeTypeId to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for nodeTypeId to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NodeType.Builder |
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];
Name | Description |
value | int The totalCoreCount to set. |
Type | Description |
NodeType.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeType.Builder |
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];
Name | Description |
value | int The virtualCpuCount to set. |
Type | Description |
NodeType.Builder | This builder for chaining. |