public final class NodeType extends com.google.protobuf.GeneratedMessageV3 implements NodeTypeOrBuilder
Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.Protobuf type
google.cloud.compute.v1.NodeType| Modifier and Type | Class and Description |
|---|---|
static class |
NodeType.Builder
Represent a sole-tenant Node Type resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CPU_PLATFORM_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
GUEST_CPUS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LOCAL_SSD_GB_FIELD_NUMBER |
static int |
MEMORY_MB_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCpuPlatform()
[Output Only] The CPU platform used by this node type.
|
com.google.protobuf.ByteString |
getCpuPlatformBytes()
[Output Only] The CPU platform used by this node type.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static NodeType |
getDefaultInstance() |
NodeType |
getDefaultInstanceForType() |
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this node type.
|
DeprecationStatusOrBuilder |
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this node type.
|
String |
getDescription()
[Output Only] An optional textual description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] An optional textual description of the resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] The type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The type of the resource.
|
int |
getLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
|
int |
getMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
String |
getName()
[Output Only] Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] Name of the resource.
|
com.google.protobuf.Parser<NodeType> |
getParserForType() |
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
boolean |
hasCpuPlatform()
[Output Only] The CPU platform used by this node type.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeprecated()
[Output Only] The deprecation status associated with this node type.
|
boolean |
hasDescription()
[Output Only] An optional textual description of the resource.
|
boolean |
hasGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] The type of the resource.
|
boolean |
hasLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
|
boolean |
hasMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
boolean |
hasName()
[Output Only] Name of the resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
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(ByteBuffer data) |
static NodeType |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<NodeType> |
parser() |
NodeType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CPU_PLATFORM_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int GUEST_CPUS_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int LOCAL_SSD_GB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCpuPlatform()
[Output Only] The CPU platform used by this node type.
optional string cpu_platform = 410285354;hasCpuPlatform in interface NodeTypeOrBuilderpublic String getCpuPlatform()
[Output Only] The CPU platform used by this node type.
optional string cpu_platform = 410285354;getCpuPlatform in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getCpuPlatformBytes()
[Output Only] The CPU platform used by this node type.
optional string cpu_platform = 410285354;getCpuPlatformBytes in interface NodeTypeOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface NodeTypeOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface NodeTypeOrBuilderpublic boolean hasDeprecated()
[Output Only] The deprecation status associated with this node type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;hasDeprecated in interface NodeTypeOrBuilderpublic DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this node type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecated in interface NodeTypeOrBuilderpublic DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this node type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecatedOrBuilder in interface NodeTypeOrBuilderpublic boolean hasDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;hasDescription in interface NodeTypeOrBuilderpublic String getDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescription in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescriptionBytes in interface NodeTypeOrBuilderpublic boolean hasGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
optional int32 guest_cpus = 393356754;hasGuestCpus in interface NodeTypeOrBuilderpublic int getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
optional int32 guest_cpus = 393356754;getGuestCpus in interface NodeTypeOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface NodeTypeOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface NodeTypeOrBuilderpublic boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeType for node types.
optional string kind = 3292052;hasKind in interface NodeTypeOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#nodeType for node types.
optional string kind = 3292052;getKind in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeType for node types.
optional string kind = 3292052;getKindBytes in interface NodeTypeOrBuilderpublic boolean hasLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
optional int32 local_ssd_gb = 329237578;hasLocalSsdGb in interface NodeTypeOrBuilderpublic int getLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
optional int32 local_ssd_gb = 329237578;getLocalSsdGb in interface NodeTypeOrBuilderpublic boolean hasMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
optional int32 memory_mb = 116001171;hasMemoryMb in interface NodeTypeOrBuilderpublic int getMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
optional int32 memory_mb = 116001171;getMemoryMb in interface NodeTypeOrBuilderpublic boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;hasName in interface NodeTypeOrBuilderpublic String getName()
[Output Only] Name of the resource.
optional string name = 3373707;getName in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;getNameBytes in interface NodeTypeOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface NodeTypeOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface NodeTypeOrBuilderpublic boolean hasZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
optional string zone = 3744684;hasZone in interface NodeTypeOrBuilderpublic String getZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
optional string zone = 3744684;getZone in interface NodeTypeOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
optional string zone = 3744684;getZoneBytes in interface NodeTypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NodeType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeType parseFrom(InputStream input) throws IOException
IOExceptionpublic static NodeType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodeType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NodeType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodeType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NodeType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NodeType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NodeType.Builder newBuilder()
public static NodeType.Builder newBuilder(NodeType prototype)
public NodeType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NodeType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NodeType getDefaultInstance()
public static com.google.protobuf.Parser<NodeType> parser()
public com.google.protobuf.Parser<NodeType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NodeType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.