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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • clear

      public Node.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
    • getDefaultInstanceForType

      public Node getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Node build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Node buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Node.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.Builder>
    • mergeFrom

      public Node.Builder mergeFrom(Node other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface NodeOrBuilder
      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:
      getNameBytes in interface NodeOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      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:
      This builder for chaining.
    • setNameBytes

      public Node.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFqdn

      public String getFqdn()
       Output only. Fully qualified domain name of the node.
       
      string fqdn = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFqdn in interface NodeOrBuilder
      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:
      getFqdnBytes in interface NodeOrBuilder
      Returns:
      The bytes for fqdn.
    • setFqdn

      public Node.Builder setFqdn(String value)
       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

      public Node.Builder 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

      public Node.Builder setFqdnBytes(com.google.protobuf.ByteString value)
       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

      public String getInternalIp()
       Output only. Internal IP address of the node.
       
      string internal_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalIp in interface NodeOrBuilder
      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:
      getInternalIpBytes in interface NodeOrBuilder
      Returns:
      The bytes for internalIp.
    • setInternalIp

      public Node.Builder setInternalIp(String value)
       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

      public Node.Builder 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

      public Node.Builder setInternalIpBytes(com.google.protobuf.ByteString value)
       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

      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];
      Specified by:
      getNodeTypeId in interface NodeOrBuilder
      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:
      getNodeTypeIdBytes in interface NodeOrBuilder
      Returns:
      The bytes for nodeTypeId.
    • setNodeTypeId

      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];
      Parameters:
      value - The nodeTypeId to set.
      Returns:
      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:
      This builder for chaining.
    • setNodeTypeIdBytes

      public Node.Builder setNodeTypeIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for nodeTypeId to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getVersion in interface NodeOrBuilder
      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:
      getVersionBytes in interface NodeOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      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];
      Parameters:
      value - The version to set.
      Returns:
      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:
      This builder for chaining.
    • setVersionBytes

      public Node.Builder setVersionBytes(com.google.protobuf.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];
      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:
      getCustomCoreCount in interface NodeOrBuilder
      Returns:
      The customCoreCount.
    • setCustomCoreCount

      public Node.Builder setCustomCoreCount(long value)
       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

      public Node.Builder 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:
      getStateValue in interface NodeOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface NodeOrBuilder
      Returns:
      The state.
    • setState

      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];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.