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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeTypeConfig build()
Returns
buildPartial()
public NodeTypeConfig buildPartial()
Returns
clear()
public NodeTypeConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public NodeTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NodeTypeConfig.Builder clone()
Returns
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
Type | Description |
int | The customCoreCount.
|
getDefaultInstanceForType()
public NodeTypeConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
int | The nodeCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeTypeConfig other)
public NodeTypeConfig.Builder mergeFrom(NodeTypeConfig other)
Parameter
Returns
public NodeTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeTypeConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | int
The customCoreCount to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | int
The nodeCount to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTypeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides