- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeTypeConfig.BuilderImplements
NodeTypeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
build()
public NodeTypeConfig build()
Returns | |
---|---|
Type | Description |
NodeTypeConfig |
buildPartial()
public NodeTypeConfig buildPartial()
Returns | |
---|---|
Type | Description |
NodeTypeConfig |
clear()
public NodeTypeConfig.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
clone()
public NodeTypeConfig.Builder clone()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
int | The customCoreCount. |
getDefaultInstanceForType()
public NodeTypeConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NodeTypeConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
int | The nodeCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NodeTypeConfig other)
public NodeTypeConfig.Builder mergeFrom(NodeTypeConfig other)
Parameter | |
---|---|
Name | Description |
other | NodeTypeConfig |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodeTypeConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The customCoreCount to set. |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | int The nodeCount to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeTypeConfig.Builder |