- 2.79.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class NodePoolAutoscaling.Builder extends GeneratedMessageV3.Builder<NodePoolAutoscaling.Builder> implements NodePoolAutoscalingOrBuilderNodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
Protobuf type google.container.v1beta1.NodePoolAutoscaling
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodePoolAutoscaling.BuilderImplements
NodePoolAutoscalingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoscaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| NodePoolAutoscaling.Builder |
build()
public NodePoolAutoscaling build()| Type | Description |
| NodePoolAutoscaling |
buildPartial()
public NodePoolAutoscaling buildPartial()| Type | Description |
| NodePoolAutoscaling |
clear()
public NodePoolAutoscaling.Builder clear()| Type | Description |
| NodePoolAutoscaling.Builder |
clearAutoprovisioned()
public NodePoolAutoscaling.Builder clearAutoprovisioned()Can this node pool be deleted automatically.
bool autoprovisioned = 4;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearEnabled()
public NodePoolAutoscaling.Builder clearEnabled()Is autoscaling enabled for this node pool.
bool enabled = 1;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodePoolAutoscaling.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| NodePoolAutoscaling.Builder |
clearLocationPolicy()
public NodePoolAutoscaling.Builder clearLocationPolicy()Location policy used when scaling up a nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearMaxNodeCount()
public NodePoolAutoscaling.Builder clearMaxNodeCount()Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearMinNodeCount()
public NodePoolAutoscaling.Builder clearMinNodeCount()Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
int32 min_node_count = 2;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodePoolAutoscaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| NodePoolAutoscaling.Builder |
clearTotalMaxNodeCount()
public NodePoolAutoscaling.Builder clearTotalMaxNodeCount()Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_max_node_count = 7;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clearTotalMinNodeCount()
public NodePoolAutoscaling.Builder clearTotalMinNodeCount()Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_min_node_count = 6;
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
clone()
public NodePoolAutoscaling.Builder clone()| Type | Description |
| NodePoolAutoscaling.Builder |
getAutoprovisioned()
public boolean getAutoprovisioned()Can this node pool be deleted automatically.
bool autoprovisioned = 4;
| Type | Description |
| boolean | The autoprovisioned. |
getDefaultInstanceForType()
public NodePoolAutoscaling getDefaultInstanceForType()| Type | Description |
| NodePoolAutoscaling |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getEnabled()
public boolean getEnabled()Is autoscaling enabled for this node pool.
bool enabled = 1;
| Type | Description |
| boolean | The enabled. |
getLocationPolicy()
public NodePoolAutoscaling.LocationPolicy getLocationPolicy()Location policy used when scaling up a nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
| Type | Description |
| NodePoolAutoscaling.LocationPolicy | The locationPolicy. |
getLocationPolicyValue()
public int getLocationPolicyValue()Location policy used when scaling up a nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
| Type | Description |
| int | The enum numeric value on the wire for locationPolicy. |
getMaxNodeCount()
public int getMaxNodeCount()Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
| Type | Description |
| int | The maxNodeCount. |
getMinNodeCount()
public int getMinNodeCount()Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
int32 min_node_count = 2;
| Type | Description |
| int | The minNodeCount. |
getTotalMaxNodeCount()
public int getTotalMaxNodeCount()Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_max_node_count = 7;
| Type | Description |
| int | The totalMaxNodeCount. |
getTotalMinNodeCount()
public int getTotalMinNodeCount()Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_min_node_count = 6;
| Type | Description |
| int | The totalMinNodeCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(NodePoolAutoscaling other)
public NodePoolAutoscaling.Builder mergeFrom(NodePoolAutoscaling other)| Name | Description |
| other | NodePoolAutoscaling |
| Type | Description |
| NodePoolAutoscaling.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodePoolAutoscaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| NodePoolAutoscaling.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public NodePoolAutoscaling.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| NodePoolAutoscaling.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoscaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| NodePoolAutoscaling.Builder |
setAutoprovisioned(boolean value)
public NodePoolAutoscaling.Builder setAutoprovisioned(boolean value)Can this node pool be deleted automatically.
bool autoprovisioned = 4;
| Name | Description |
| value | booleanThe autoprovisioned to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setEnabled(boolean value)
public NodePoolAutoscaling.Builder setEnabled(boolean value)Is autoscaling enabled for this node pool.
bool enabled = 1;
| Name | Description |
| value | booleanThe enabled to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoscaling.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| NodePoolAutoscaling.Builder |
setLocationPolicy(NodePoolAutoscaling.LocationPolicy value)
public NodePoolAutoscaling.Builder setLocationPolicy(NodePoolAutoscaling.LocationPolicy value)Location policy used when scaling up a nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
| Name | Description |
| value | NodePoolAutoscaling.LocationPolicyThe locationPolicy to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setLocationPolicyValue(int value)
public NodePoolAutoscaling.Builder setLocationPolicyValue(int value)Location policy used when scaling up a nodepool.
.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5;
| Name | Description |
| value | intThe enum numeric value on the wire for locationPolicy to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setMaxNodeCount(int value)
public NodePoolAutoscaling.Builder setMaxNodeCount(int value)Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
| Name | Description |
| value | intThe maxNodeCount to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setMinNodeCount(int value)
public NodePoolAutoscaling.Builder setMinNodeCount(int value)Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
int32 min_node_count = 2;
| Name | Description |
| value | intThe minNodeCount to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodePoolAutoscaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| NodePoolAutoscaling.Builder |
setTotalMaxNodeCount(int value)
public NodePoolAutoscaling.Builder setTotalMaxNodeCount(int value)Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_max_node_count = 7;
| Name | Description |
| value | intThe totalMaxNodeCount to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setTotalMinNodeCount(int value)
public NodePoolAutoscaling.Builder setTotalMinNodeCount(int value)Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
int32 total_min_node_count = 6;
| Name | Description |
| value | intThe totalMinNodeCount to set. |
| Type | Description |
| NodePoolAutoscaling.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoscaling.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| NodePoolAutoscaling.Builder |