Class NodeTypeConfig.Builder (0.27.0)

public static final class NodeTypeConfig.Builder extends GeneratedMessageV3.Builder<NodeTypeConfig.Builder> implements NodeTypeConfigOrBuilder

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

Protobuf type google.cloud.vmwareengine.v1.NodeTypeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

build()

public NodeTypeConfig build()
Returns
TypeDescription
NodeTypeConfig

buildPartial()

public NodeTypeConfig buildPartial()
Returns
TypeDescription
NodeTypeConfig

clear()

public NodeTypeConfig.Builder clear()
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

clearCustomCoreCount()

public NodeTypeConfig.Builder clearCustomCoreCount()

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
NodeTypeConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

clearNodeCount()

public NodeTypeConfig.Builder clearNodeCount()

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

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

Returns
TypeDescription
NodeTypeConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

clone()

public NodeTypeConfig.Builder clone()
Returns
TypeDescription
NodeTypeConfig.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeTypeConfig other)

public NodeTypeConfig.Builder mergeFrom(NodeTypeConfig other)
Parameter
NameDescription
otherNodeTypeConfig
Returns
TypeDescription
NodeTypeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeTypeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

setCustomCoreCount(int value)

public NodeTypeConfig.Builder setCustomCoreCount(int value)

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];

Parameter
NameDescription
valueint

The customCoreCount to set.

Returns
TypeDescription
NodeTypeConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

setNodeCount(int value)

public NodeTypeConfig.Builder setNodeCount(int value)

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

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

Parameter
NameDescription
valueint

The nodeCount to set.

Returns
TypeDescription
NodeTypeConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeTypeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeTypeConfig.Builder
Overrides