Class Node.Builder (0.46.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Node.Builder
Overrides

build()

public Node build()
Returns
Type Description
Node

buildPartial()

public Node buildPartial()
Returns
Type Description
Node

clear()

public Node.Builder clear()
Returns
Type Description
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
Type Description
Node.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Node.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Node.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
Node.Builder

This builder for chaining.

clone()

public Node.Builder clone()
Returns
Type Description
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
Type Description
long

The customCoreCount.

getDefaultInstanceForType()

public Node getDefaultInstanceForType()
Returns
Type Description
Node

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Node other)

public Node.Builder mergeFrom(Node other)
Parameter
Name Description
other Node
Returns
Type Description
Node.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Node.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Node.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Node.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value long

The customCoreCount to set.

Returns
Type Description
Node.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The fqdn to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for fqdn to set.

Returns
Type Description
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
Name Description
value String

The internalIp to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for internalIp to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The nodeTypeId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nodeTypeId to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Node.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
Node.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The version to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Node.Builder

This builder for chaining.