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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeTypeConfig.BuilderImplements
NodeTypeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeTypeConfig.Builder |
build()
public NodeTypeConfig build()
Type | Description |
NodeTypeConfig |
buildPartial()
public NodeTypeConfig buildPartial()
Type | Description |
NodeTypeConfig |
clear()
public NodeTypeConfig.Builder clear()
Type | Description |
NodeTypeConfig.Builder |
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];
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NodeTypeConfig.Builder |
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];
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NodeTypeConfig.Builder |
clone()
public NodeTypeConfig.Builder clone()
Type | Description |
NodeTypeConfig.Builder |
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];
Type | Description |
int | The customCoreCount. |
getDefaultInstanceForType()
public NodeTypeConfig getDefaultInstanceForType()
Type | Description |
NodeTypeConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNodeCount()
public int getNodeCount()
Required. The number of nodes of this type in the cluster
int32 node_count = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The nodeCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NodeTypeConfig other)
public NodeTypeConfig.Builder mergeFrom(NodeTypeConfig other)
Name | Description |
other | NodeTypeConfig |
Type | Description |
NodeTypeConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeTypeConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NodeTypeConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NodeTypeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeTypeConfig.Builder |
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];
Name | Description |
value | int The customCoreCount to set. |
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeTypeConfig.Builder |
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];
Name | Description |
value | int The nodeCount to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NodeTypeConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeTypeConfig.Builder |