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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeTypeConfig build()
buildPartial()
public NodeTypeConfig buildPartial()
clear()
public NodeTypeConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public NodeTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NodeTypeConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NodeTypeConfig other)
public NodeTypeConfig.Builder mergeFrom(NodeTypeConfig other)
public NodeTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeTypeConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTypeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides