Package com.google.cloud.vmwareengine.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes node type.static enumCapability of a node type.static enumEnum Kind defines possible types of a NodeType.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetAvailableCustomCoreCounts(int index) Output only.intOutput only.Output only.getCapabilities(int index) Output only.intOutput only.Output only.intgetCapabilitiesValue(int index) Output only.Output only.static NodeTypestatic final com.google.protobuf.Descriptors.DescriptorintOutput only.Output only.com.google.protobuf.ByteStringOutput only.getFamilies(int index) Output only.com.google.protobuf.ByteStringgetFamiliesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getKind()Output only.intOutput only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<NodeType>intintOutput only.intOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NodeType.Builderstatic NodeType.BuildernewBuilder(NodeType prototype) protected NodeType.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodeTypeparseDelimitedFrom(InputStream input) static NodeTypeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeparseFrom(byte[] data) static NodeTypeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeparseFrom(com.google.protobuf.ByteString data) static NodeTypeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeparseFrom(com.google.protobuf.CodedInputStream input) static NodeTypeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeparseFrom(InputStream input) static NodeTypeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTypeparseFrom(ByteBuffer data) static NodeTypeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeType>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getNamein 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:
getNameBytesin interfaceNodeTypeOrBuilder- Returns:
- The bytes for name.
-
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:
getNodeTypeIdin 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:
getNodeTypeIdBytesin interfaceNodeTypeOrBuilder- Returns:
- The bytes for nodeTypeId.
-
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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getVirtualCpuCountin 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:
getTotalCoreCountin 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:
getMemoryGbin 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:
getDiskSizeGbin interfaceNodeTypeOrBuilder- Returns:
- The diskSizeGb.
-
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:
getAvailableCustomCoreCountsListin 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:
getAvailableCustomCoreCountsCountin 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:
getAvailableCustomCoreCountsin interfaceNodeTypeOrBuilder- 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:
getKindValuein interfaceNodeTypeOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getKindin interfaceNodeTypeOrBuilder- 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:
getFamiliesListin interfaceNodeTypeOrBuilder- 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:
getFamiliesCountin interfaceNodeTypeOrBuilder- Returns:
- The count of families.
-
getFamilies
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:
getFamiliesin interfaceNodeTypeOrBuilder- 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:
getFamiliesBytesin interfaceNodeTypeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the families at the given index.
-
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:
getCapabilitiesListin interfaceNodeTypeOrBuilder- 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:
getCapabilitiesCountin interfaceNodeTypeOrBuilder- Returns:
- The count of capabilities.
-
getCapabilities
Output only. Capabilities of this node type.
repeated .google.cloud.vmwareengine.v1.NodeType.Capability capabilities = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCapabilitiesin interfaceNodeTypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
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:
getCapabilitiesValueListin interfaceNodeTypeOrBuilder- 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:
getCapabilitiesValuein interfaceNodeTypeOrBuilder- 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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
- Throws:
IOException
-
parseFrom
public static NodeType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-