- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends java.lang.Integer> The availableCustomCoreCounts to add. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The availableCustomCoreCounts to add. |
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeType.Builder |
build()
public NodeType build()
Returns | |
---|---|
Type | Description |
NodeType |
buildPartial()
public NodeType buildPartial()
Returns | |
---|---|
Type | Description |
NodeType |
clear()
public NodeType.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
clone()
public NodeType.Builder clone()
Returns | |
---|---|
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];
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. |
getDefaultInstanceForType()
public NodeType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NodeType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NodeType other)
public NodeType.Builder mergeFrom(NodeType other)
Parameter | |
---|---|
Name | Description |
other | NodeType |
Returns | |
---|---|
Type | Description |
NodeType.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodeType.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodeType.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NodeType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The availableCustomCoreCounts to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The diskSizeGb to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The memoryGb to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The nodeTypeId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nodeTypeId to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The totalCoreCount to set. |
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The virtualCpuCount to set. |
Returns | |
---|---|
Type | Description |
NodeType.Builder | This builder for chaining. |