Class NodeType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NodeType.Builder>
com.google.cloud.vmwareengine.v1.NodeType.Builder
All Implemented Interfaces:
NodeTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NodeType

public static final class NodeType.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodeType.Builder> implements NodeTypeOrBuilder
 Describes node type.
 
Protobuf type google.cloud.vmwareengine.v1.NodeType
  • 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<NodeType.Builder>
    • clear

      public NodeType.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<NodeType.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<NodeType.Builder>
    • getDefaultInstanceForType

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

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

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

      public NodeType.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<NodeType.Builder>
    • mergeFrom

      public NodeType.Builder mergeFrom(NodeType other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NodeType.Builder>
    • mergeFrom

      public NodeType.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<NodeType.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface NodeTypeOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface NodeTypeOrBuilder
      Returns:
      The bytes for name.
    • setName

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

      public NodeType.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodeTypeId in interface NodeTypeOrBuilder
      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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodeTypeIdBytes in interface NodeTypeOrBuilder
      Returns:
      The bytes for nodeTypeId.
    • setNodeTypeId

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

      public NodeType.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for nodeTypeId to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getDisplayName in interface NodeTypeOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.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];
      Specified by:
      getDisplayNameBytes in interface NodeTypeOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

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

      public NodeType.Builder setDisplayNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getVirtualCpuCount in interface NodeTypeOrBuilder
      Returns:
      The virtualCpuCount.
    • setVirtualCpuCount

      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];
      Parameters:
      value - The virtualCpuCount to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getTotalCoreCount in interface NodeTypeOrBuilder
      Returns:
      The totalCoreCount.
    • setTotalCoreCount

      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];
      Parameters:
      value - The totalCoreCount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getMemoryGb in interface NodeTypeOrBuilder
      Returns:
      The memoryGb.
    • setMemoryGb

      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];
      Parameters:
      value - The memoryGb to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getDiskSizeGb in interface NodeTypeOrBuilder
      Returns:
      The diskSizeGb.
    • setDiskSizeGb

      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];
      Parameters:
      value - The diskSizeGb to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getAvailableCustomCoreCountsList in interface NodeTypeOrBuilder
      Returns:
      A list containing the availableCustomCoreCounts.
    • 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];
      Specified by:
      getAvailableCustomCoreCountsCount in interface NodeTypeOrBuilder
      Returns:
      The count of availableCustomCoreCounts.
    • getAvailableCustomCoreCounts

      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];
      Specified by:
      getAvailableCustomCoreCounts in interface NodeTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The availableCustomCoreCounts at the given index.
    • setAvailableCustomCoreCounts

      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:
      index - The index to set the value at.
      value - The availableCustomCoreCounts to set.
      Returns:
      This builder for chaining.
    • addAvailableCustomCoreCounts

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

      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];
      Parameters:
      values - The availableCustomCoreCounts to add.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getKindValue in interface NodeTypeOrBuilder
      Returns:
      The enum numeric value on the wire for kind.
    • setKindValue

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

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

      public com.google.protobuf.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];
      Specified by:
      getFamiliesList in interface NodeTypeOrBuilder
      Returns:
      A list containing the families.
    • 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];
      Specified by:
      getFamiliesCount in interface NodeTypeOrBuilder
      Returns:
      The count of families.
    • getFamilies

      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];
      Specified by:
      getFamilies in interface NodeTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The families at the given index.
    • getFamiliesBytes

      public com.google.protobuf.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];
      Specified by:
      getFamiliesBytes in interface NodeTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the families at the given index.
    • setFamilies

      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:
      index - The index to set the value at.
      value - The families to set.
      Returns:
      This builder for chaining.
    • addFamilies

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

      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];
      Parameters:
      values - The families to add.
      Returns:
      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:
      This builder for chaining.
    • addFamiliesBytes

      public NodeType.Builder addFamiliesBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes of the families to add.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getCapabilitiesList in interface NodeTypeOrBuilder
      Returns:
      A list containing the capabilities.
    • 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];
      Specified by:
      getCapabilitiesCount in interface NodeTypeOrBuilder
      Returns:
      The count of capabilities.
    • getCapabilities

      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];
      Specified by:
      getCapabilities in interface NodeTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The capabilities at the given index.
    • setCapabilities

      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:
      index - The index to set the value at.
      value - The capabilities to set.
      Returns:
      This builder for chaining.
    • addCapabilities

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

      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];
      Parameters:
      values - The capabilities to add.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getCapabilitiesValueList in interface NodeTypeOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for capabilities.
    • getCapabilitiesValue

      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];
      Specified by:
      getCapabilitiesValue in interface NodeTypeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of capabilities at the given index.
    • setCapabilitiesValue

      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:
      index - The index to set the value at.
      value - The enum numeric value on the wire for capabilities to set.
      Returns:
      This builder for chaining.
    • addCapabilitiesValue

      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];
      Parameters:
      value - The enum numeric value on the wire for capabilities to add.
      Returns:
      This builder for chaining.
    • addAllCapabilitiesValue

      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];
      Parameters:
      values - The enum numeric values on the wire for capabilities to add.
      Returns:
      This builder for chaining.