Package com.google.cloud.vmwareengine.v1
Class Node.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
com.google.cloud.vmwareengine.v1.Node.Builder
- All Implemented Interfaces:
NodeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Node
public static final class Node.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
implements NodeOrBuilder
Node in a cluster.Protobuf type
google.cloud.vmwareengine.v1.Node-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.longOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFqdn()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCustomCoreCount(long value) Output only.Output only.setFqdnBytes(com.google.protobuf.ByteString value) Output only.setInternalIp(String value) Output only.setInternalIpBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNodeTypeId(String value) Output only.setNodeTypeIdBytes(com.google.protobuf.ByteString value) Output only.setState(Node.State value) Output only.setStateValue(int value) Output only.setVersion(String value) Output only.setVersionBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceNodeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFqdn
Output only. Fully qualified domain name of the node.
string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFqdnin interfaceNodeOrBuilder- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()Output only. Fully qualified domain name of the node.
string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFqdnBytesin interfaceNodeOrBuilder- Returns:
- The bytes for fqdn.
-
setFqdn
Output only. Fully qualified domain name of the node.
string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The fqdn to set.- Returns:
- This builder for chaining.
-
clearFqdn
Output only. Fully qualified domain name of the node.
string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFqdnBytes
Output only. Fully qualified domain name of the node.
string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
getInternalIp
Output only. Internal IP address of the node.
string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalIpin interfaceNodeOrBuilder- Returns:
- The internalIp.
-
getInternalIpBytes
public com.google.protobuf.ByteString getInternalIpBytes()Output only. Internal IP address of the node.
string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalIpBytesin interfaceNodeOrBuilder- Returns:
- The bytes for internalIp.
-
setInternalIp
Output only. Internal IP address of the node.
string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The internalIp to set.- Returns:
- This builder for chaining.
-
clearInternalIp
Output only. Internal IP address of the node.
string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setInternalIpBytes
Output only. Internal IP address of the node.
string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for internalIp to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getNodeTypeIdin interfaceNodeOrBuilder- Returns:
- The nodeTypeId.
-
getNodeTypeIdBytes
public com.google.protobuf.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];- Specified by:
getNodeTypeIdBytesin interfaceNodeOrBuilder- Returns:
- The bytes for nodeTypeId.
-
setNodeTypeId
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];- Parameters:
value- The nodeTypeId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNodeTypeIdBytes
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];- Parameters:
value- The bytes for nodeTypeId to set.- Returns:
- This builder for chaining.
-
getVersion
Output only. The version number of the VMware ESXi management component in this cluster.
string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceNodeOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.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];- Specified by:
getVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for version.
-
setVersion
Output only. The version number of the VMware ESXi management component in this cluster.
string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVersionBytes
Output only. The version number of the VMware ESXi management component in this cluster.
string version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getCustomCoreCount
public long getCustomCoreCount()Output only. Customized number of cores
int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomCoreCountin interfaceNodeOrBuilder- Returns:
- The customCoreCount.
-
setCustomCoreCount
Output only. Customized number of cores
int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customCoreCount to set.- Returns:
- This builder for chaining.
-
clearCustomCoreCount
Output only. Customized number of cores
int64 custom_core_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the appliance.
.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the appliance.
.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceNodeOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the appliance.
.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the appliance.
.google.cloud.vmwareengine.v1.Node.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-