Class NodeType

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.vmwareengine.v1.NodeType
All Implemented Interfaces:
NodeTypeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class NodeType extends com.google.protobuf.GeneratedMessage implements NodeTypeOrBuilder
 Describes node type.
 
Protobuf type google.cloud.vmwareengine.v1.NodeType
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • NODE_TYPE_ID_FIELD_NUMBER

      public static final int NODE_TYPE_ID_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • VIRTUAL_CPU_COUNT_FIELD_NUMBER

      public static final int VIRTUAL_CPU_COUNT_FIELD_NUMBER
      See Also:
    • TOTAL_CORE_COUNT_FIELD_NUMBER

      public static final int TOTAL_CORE_COUNT_FIELD_NUMBER
      See Also:
    • MEMORY_GB_FIELD_NUMBER

      public static final int MEMORY_GB_FIELD_NUMBER
      See Also:
    • DISK_SIZE_GB_FIELD_NUMBER

      public static final int DISK_SIZE_GB_FIELD_NUMBER
      See Also:
    • AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER

      public static final int AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
      See Also:
    • KIND_FIELD_NUMBER

      public static final int KIND_FIELD_NUMBER
      See Also:
    • FAMILIES_FIELD_NUMBER

      public static final int FAMILIES_FIELD_NUMBER
      See Also:
    • CAPABILITIES_FIELD_NUMBER

      public static final int CAPABILITIES_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NodeType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeType parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeType parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static NodeType.Builder newBuilder()
    • newBuilder

      public static NodeType.Builder newBuilder(NodeType prototype)
    • toBuilder

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

      protected NodeType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NodeType getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodeType> parser()
    • getParserForType

      public com.google.protobuf.Parser<NodeType> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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