Class Node.Builder (0.28.0)

public static final class Node.Builder extends GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder

Node in a cluster.

Protobuf type google.cloud.vmwareengine.v1.Node

Implements

NodeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Node build()
Returns
TypeDescription
Node

buildPartial()

public Node buildPartial()
Returns
TypeDescription
Node

clear()

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

clearCustomCoreCount()

public Node.Builder clearCustomCoreCount()

Output only. Customized number of cores

int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Node.Builder clearFqdn()

Output only. Fully qualified domain name of the node.

string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearInternalIp()

public Node.Builder clearInternalIp()

Output only. Internal IP address of the node.

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

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearName()

public Node.Builder clearName()

Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearNodeTypeId()

public Node.Builder clearNodeTypeId()

Output only. The canonical identifier of the node type (corresponds to the NodeType). For example: standard-72.

string node_type_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Node.Builder clearState()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearVersion()

public Node.Builder clearVersion()

Output only. The version number of the VMware ESXi management component in this cluster.

string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.Builder

This builder for chaining.

clone()

public Node.Builder clone()
Returns
TypeDescription
Node.Builder
Overrides

getCustomCoreCount()

public long getCustomCoreCount()

Output only. Customized number of cores

int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The customCoreCount.

getDefaultInstanceForType()

public Node getDefaultInstanceForType()
Returns
TypeDescription
Node

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFqdn()

public String getFqdn()

Output only. Fully qualified domain name of the node.

string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The fqdn.

getFqdnBytes()

public ByteString getFqdnBytes()

Output only. Fully qualified domain name of the node.

string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for fqdn.

getInternalIp()

public String getInternalIp()

Output only. Internal IP address of the node.

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

Returns
TypeDescription
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Output only. Internal IP address of the node.

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

Returns
TypeDescription
ByteString

The bytes for internalIp.

getName()

public String getName()

Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node

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. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node

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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nodeTypeId.

getState()

public Node.State getState()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Node.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getVersion()

public String getVersion()

Output only. The version number of the VMware ESXi management component in this cluster.

string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Output only. The version number of the VMware ESXi management component in this cluster.

string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Node other)

public Node.Builder mergeFrom(Node other)
Parameter
NameDescription
otherNode
Returns
TypeDescription
Node.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomCoreCount(long value)

public Node.Builder setCustomCoreCount(long value)

Output only. Customized number of cores

int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuelong

The customCoreCount to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Node.Builder setFqdn(String value)

Output only. Fully qualified domain name of the node.

string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The fqdn to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setFqdnBytes(ByteString value)

public Node.Builder setFqdnBytes(ByteString value)

Output only. Fully qualified domain name of the node.

string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for fqdn to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setInternalIp(String value)

public Node.Builder setInternalIp(String value)

Output only. Internal IP address of the node.

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

Parameter
NameDescription
valueString

The internalIp to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setInternalIpBytes(ByteString value)

public Node.Builder setInternalIpBytes(ByteString value)

Output only. Internal IP address of the node.

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

Parameter
NameDescription
valueByteString

The bytes for internalIp to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setName(String value)

public Node.Builder setName(String value)

Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Node.Builder setNameBytes(ByteString value)

Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setNodeTypeId(String value)

public Node.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The nodeTypeId to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setNodeTypeIdBytes(ByteString value)

public Node.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for nodeTypeId to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

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

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

setState(Node.State value)

public Node.Builder setState(Node.State value)

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNode.State

The state to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setStateValue(int value)

public Node.Builder setStateValue(int value)

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Node.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Node.Builder setVersion(String value)

Output only. The version number of the VMware ESXi management component in this cluster.

string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Node.Builder setVersionBytes(ByteString value)

Output only. The version number of the VMware ESXi management component in this cluster.

string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.