- 2.56.0 (latest)
- 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 ClusterAutoscaling.Builder extends GeneratedMessageV3.Builder<ClusterAutoscaling.Builder> implements ClusterAutoscalingOrBuilder
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
Protobuf type google.container.v1beta1.ClusterAutoscaling
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterAutoscaling.BuilderImplements
ClusterAutoscalingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAutoprovisioningLocations(Iterable<String> values)
public ClusterAutoscaling.Builder addAllAutoprovisioningLocations(Iterable<String> values)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
values | Iterable<String> The autoprovisioningLocations to add. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
addAllResourceLimits(Iterable<? extends ResourceLimit> values)
public ClusterAutoscaling.Builder addAllResourceLimits(Iterable<? extends ResourceLimit> values)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.ResourceLimit> |
Type | Description |
ClusterAutoscaling.Builder |
addAutoprovisioningLocations(String value)
public ClusterAutoscaling.Builder addAutoprovisioningLocations(String value)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
value | String The autoprovisioningLocations to add. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
addAutoprovisioningLocationsBytes(ByteString value)
public ClusterAutoscaling.Builder addAutoprovisioningLocationsBytes(ByteString value)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
value | ByteString The bytes of the autoprovisioningLocations to add. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClusterAutoscaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClusterAutoscaling.Builder |
addResourceLimits(ResourceLimit value)
public ClusterAutoscaling.Builder addResourceLimits(ResourceLimit value)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
value | ResourceLimit |
Type | Description |
ClusterAutoscaling.Builder |
addResourceLimits(ResourceLimit.Builder builderForValue)
public ClusterAutoscaling.Builder addResourceLimits(ResourceLimit.Builder builderForValue)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
builderForValue | ResourceLimit.Builder |
Type | Description |
ClusterAutoscaling.Builder |
addResourceLimits(int index, ResourceLimit value)
public ClusterAutoscaling.Builder addResourceLimits(int index, ResourceLimit value)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
value | ResourceLimit |
Type | Description |
ClusterAutoscaling.Builder |
addResourceLimits(int index, ResourceLimit.Builder builderForValue)
public ClusterAutoscaling.Builder addResourceLimits(int index, ResourceLimit.Builder builderForValue)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
builderForValue | ResourceLimit.Builder |
Type | Description |
ClusterAutoscaling.Builder |
addResourceLimitsBuilder()
public ResourceLimit.Builder addResourceLimitsBuilder()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
ResourceLimit.Builder |
addResourceLimitsBuilder(int index)
public ResourceLimit.Builder addResourceLimitsBuilder(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
Type | Description |
ResourceLimit.Builder |
build()
public ClusterAutoscaling build()
Type | Description |
ClusterAutoscaling |
buildPartial()
public ClusterAutoscaling buildPartial()
Type | Description |
ClusterAutoscaling |
clear()
public ClusterAutoscaling.Builder clear()
Type | Description |
ClusterAutoscaling.Builder |
clearAutoprovisioningLocations()
public ClusterAutoscaling.Builder clearAutoprovisioningLocations()
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
clearAutoprovisioningNodePoolDefaults()
public ClusterAutoscaling.Builder clearAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Type | Description |
ClusterAutoscaling.Builder |
clearAutoscalingProfile()
public ClusterAutoscaling.Builder clearAutoscalingProfile()
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
clearEnableNodeAutoprovisioning()
public ClusterAutoscaling.Builder clearEnableNodeAutoprovisioning()
Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ClusterAutoscaling.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ClusterAutoscaling.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterAutoscaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ClusterAutoscaling.Builder |
clearResourceLimits()
public ClusterAutoscaling.Builder clearResourceLimits()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
ClusterAutoscaling.Builder |
clone()
public ClusterAutoscaling.Builder clone()
Type | Description |
ClusterAutoscaling.Builder |
getAutoprovisioningLocations(int index)
public String getAutoprovisioningLocations(int index)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The autoprovisioningLocations at the given index. |
getAutoprovisioningLocationsBytes(int index)
public ByteString getAutoprovisioningLocationsBytes(int index)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the autoprovisioningLocations at the given index. |
getAutoprovisioningLocationsCount()
public int getAutoprovisioningLocationsCount()
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Type | Description |
int | The count of autoprovisioningLocations. |
getAutoprovisioningLocationsList()
public ProtocolStringList getAutoprovisioningLocationsList()
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Type | Description |
ProtocolStringList | A list containing the autoprovisioningLocations. |
getAutoprovisioningNodePoolDefaults()
public AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Type | Description |
AutoprovisioningNodePoolDefaults | The autoprovisioningNodePoolDefaults. |
getAutoprovisioningNodePoolDefaultsBuilder()
public AutoprovisioningNodePoolDefaults.Builder getAutoprovisioningNodePoolDefaultsBuilder()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Type | Description |
AutoprovisioningNodePoolDefaults.Builder |
getAutoprovisioningNodePoolDefaultsOrBuilder()
public AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Type | Description |
AutoprovisioningNodePoolDefaultsOrBuilder |
getAutoscalingProfile()
public ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile()
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Type | Description |
ClusterAutoscaling.AutoscalingProfile | The autoscalingProfile. |
getAutoscalingProfileValue()
public int getAutoscalingProfileValue()
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Type | Description |
int | The enum numeric value on the wire for autoscalingProfile. |
getDefaultInstanceForType()
public ClusterAutoscaling getDefaultInstanceForType()
Type | Description |
ClusterAutoscaling |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnableNodeAutoprovisioning()
public boolean getEnableNodeAutoprovisioning()
Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;
Type | Description |
boolean | The enableNodeAutoprovisioning. |
getResourceLimits(int index)
public ResourceLimit getResourceLimits(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
Type | Description |
ResourceLimit |
getResourceLimitsBuilder(int index)
public ResourceLimit.Builder getResourceLimitsBuilder(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
Type | Description |
ResourceLimit.Builder |
getResourceLimitsBuilderList()
public List<ResourceLimit.Builder> getResourceLimitsBuilderList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
List<Builder> |
getResourceLimitsCount()
public int getResourceLimitsCount()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
int |
getResourceLimitsList()
public List<ResourceLimit> getResourceLimitsList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
List<ResourceLimit> |
getResourceLimitsOrBuilder(int index)
public ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
Type | Description |
ResourceLimitOrBuilder |
getResourceLimitsOrBuilderList()
public List<? extends ResourceLimitOrBuilder> getResourceLimitsOrBuilderList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Type | Description |
List<? extends com.google.container.v1beta1.ResourceLimitOrBuilder> |
hasAutoprovisioningNodePoolDefaults()
public boolean hasAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Type | Description |
boolean | Whether the autoprovisioningNodePoolDefaults field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults value)
public ClusterAutoscaling.Builder mergeAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults value)
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Name | Description |
value | AutoprovisioningNodePoolDefaults |
Type | Description |
ClusterAutoscaling.Builder |
mergeFrom(ClusterAutoscaling other)
public ClusterAutoscaling.Builder mergeFrom(ClusterAutoscaling other)
Name | Description |
other | ClusterAutoscaling |
Type | Description |
ClusterAutoscaling.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterAutoscaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ClusterAutoscaling.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ClusterAutoscaling.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ClusterAutoscaling.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClusterAutoscaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClusterAutoscaling.Builder |
removeResourceLimits(int index)
public ClusterAutoscaling.Builder removeResourceLimits(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
Type | Description |
ClusterAutoscaling.Builder |
setAutoprovisioningLocations(int index, String value)
public ClusterAutoscaling.Builder setAutoprovisioningLocations(int index, String value)
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;
Name | Description |
index | int The index to set the value at. |
value | String The autoprovisioningLocations to set. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
setAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults value)
public ClusterAutoscaling.Builder setAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults value)
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Name | Description |
value | AutoprovisioningNodePoolDefaults |
Type | Description |
ClusterAutoscaling.Builder |
setAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults.Builder builderForValue)
public ClusterAutoscaling.Builder setAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults.Builder builderForValue)
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Name | Description |
builderForValue | AutoprovisioningNodePoolDefaults.Builder |
Type | Description |
ClusterAutoscaling.Builder |
setAutoscalingProfile(ClusterAutoscaling.AutoscalingProfile value)
public ClusterAutoscaling.Builder setAutoscalingProfile(ClusterAutoscaling.AutoscalingProfile value)
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Name | Description |
value | ClusterAutoscaling.AutoscalingProfile The autoscalingProfile to set. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
setAutoscalingProfileValue(int value)
public ClusterAutoscaling.Builder setAutoscalingProfileValue(int value)
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Name | Description |
value | int The enum numeric value on the wire for autoscalingProfile to set. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
setEnableNodeAutoprovisioning(boolean value)
public ClusterAutoscaling.Builder setEnableNodeAutoprovisioning(boolean value)
Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;
Name | Description |
value | boolean The enableNodeAutoprovisioning to set. |
Type | Description |
ClusterAutoscaling.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ClusterAutoscaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ClusterAutoscaling.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClusterAutoscaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ClusterAutoscaling.Builder |
setResourceLimits(int index, ResourceLimit value)
public ClusterAutoscaling.Builder setResourceLimits(int index, ResourceLimit value)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
value | ResourceLimit |
Type | Description |
ClusterAutoscaling.Builder |
setResourceLimits(int index, ResourceLimit.Builder builderForValue)
public ClusterAutoscaling.Builder setResourceLimits(int index, ResourceLimit.Builder builderForValue)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
Name | Description |
index | int |
builderForValue | ResourceLimit.Builder |
Type | Description |
ClusterAutoscaling.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterAutoscaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ClusterAutoscaling.Builder |