Package com.google.cloud.vmwareengine.v1
Class NodeType
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class NodeType extends com.google.protobuf.GeneratedMessageV3 implements NodeTypeOrBuilder
Describes node type.
Protobuf typegoogle.cloud.vmwareengine.v1.NodeType
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeType.Builder
Describes node type.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AVAILABLE_CUSTOM_CORE_COUNTS_FIELD_NUMBER
static int
DISK_SIZE_GB_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
MEMORY_GB_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NODE_TYPE_ID_FIELD_NUMBER
static int
TOTAL_CORE_COUNT_FIELD_NUMBER
static int
VIRTUAL_CPU_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getAvailableCustomCoreCounts(int index)
Output only.int
getAvailableCustomCoreCountsCount()
Output only.List<Integer>
getAvailableCustomCoreCountsList()
Output only.static NodeType
getDefaultInstance()
NodeType
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getDiskSizeGb()
Output only.String
getDisplayName()
Output only.com.google.protobuf.ByteString
getDisplayNameBytes()
Output only.int
getMemoryGb()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNodeTypeId()
Output only.com.google.protobuf.ByteString
getNodeTypeIdBytes()
Output only.com.google.protobuf.Parser<NodeType>
getParserForType()
int
getSerializedSize()
int
getTotalCoreCount()
Output only.int
getVirtualCpuCount()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NodeType.Builder
newBuilder()
static NodeType.Builder
newBuilder(NodeType prototype)
NodeType.Builder
newBuilderForType()
protected NodeType.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NodeType
parseDelimitedFrom(InputStream input)
static NodeType
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeType
parseFrom(byte[] data)
static NodeType
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeType
parseFrom(com.google.protobuf.ByteString data)
static NodeType
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeType
parseFrom(com.google.protobuf.CodedInputStream input)
static NodeType
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeType
parseFrom(InputStream input)
static NodeType
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeType
parseFrom(ByteBuffer data)
static NodeType
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NodeType>
parser()
NodeType.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
MEMORY_GB_FIELD_NUMBER
public static final int MEMORY_GB_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 classcom.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 classcom.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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfaceNodeTypeOrBuilder
- 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 interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-