Class NodeType

  • All Implemented Interfaces:
    NodeTypeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class NodeType
    extends com.google.protobuf.GeneratedMessageV3
    implements NodeTypeOrBuilder
     Describes node type.
     
    Protobuf type google.cloud.vmwareengine.v1.NodeType
    See Also:
    Serialized Form
    • Field Detail

      • NODE_TYPE_ID_FIELD_NUMBER

        public static final int NODE_TYPE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VIRTUAL_CPU_COUNT_FIELD_NUMBER

        public static final int VIRTUAL_CPU_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_CORE_COUNT_FIELD_NUMBER

        public static final int TOTAL_CORE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISK_SIZE_GB_FIELD_NUMBER

        public static final int DISK_SIZE_GB_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER

        public static final int AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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