Class NodeTypeConfig (0.18.0)

public final class NodeTypeConfig extends GeneratedMessageV3 implements NodeTypeConfigOrBuilder

Information about the type and number of nodes associated with the cluster.

Protobuf type google.cloud.vmwareengine.v1.NodeTypeConfig

Static Fields

CUSTOM_CORE_COUNT_FIELD_NUMBER

public static final int CUSTOM_CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeTypeConfig getDefaultInstance()
Returns
TypeDescription
NodeTypeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodeTypeConfig.Builder newBuilder()
Returns
TypeDescription
NodeTypeConfig.Builder

newBuilder(NodeTypeConfig prototype)

public static NodeTypeConfig.Builder newBuilder(NodeTypeConfig prototype)
Parameter
NameDescription
prototypeNodeTypeConfig
Returns
TypeDescription
NodeTypeConfig.Builder

parseDelimitedFrom(InputStream input)

public static NodeTypeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeTypeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeTypeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeTypeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeTypeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeTypeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeTypeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeTypeConfig> parser()
Returns
TypeDescription
Parser<NodeTypeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomCoreCount()

public int getCustomCoreCount()

Optional. Customized number of cores available to each node of the type. This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value from nodeType.availableCustomCoreCounts will be used.

int32 custom_core_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The customCoreCount.

getDefaultInstanceForType()

public NodeTypeConfig getDefaultInstanceForType()
Returns
TypeDescription
NodeTypeConfig

getNodeCount()

public int getNodeCount()

Required. The number of nodes of this type in the cluster

int32 node_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The nodeCount.

getParserForType()

public Parser<NodeTypeConfig> getParserForType()
Returns
TypeDescription
Parser<NodeTypeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeTypeConfig.Builder newBuilderForType()
Returns
TypeDescription
NodeTypeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeTypeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeTypeConfig.Builder toBuilder()
Returns
TypeDescription
NodeTypeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException