- 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. |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.vmwareengine.v1.NodeType.Capability> The capabilities to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for capabilities to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The families 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. |
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 | |
---|---|
Name | Description |
value | NodeType.Capability The capabilities to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for capabilities to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The families to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the families 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. |
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 | |
---|---|
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. |
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 | |
---|---|
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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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. |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for capabilities. |
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. |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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. |
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | NodeType.Capability The capabilities to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for capabilities 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. |
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The families 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 |
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 | |
---|---|
Name | Description |
value | NodeType.Kind The kind to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for kind to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |