Send feedback
Class ClusterAutoscaling (2.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.18.0 keyboard_arrow_down
public final class ClusterAutoscaling extends GeneratedMessageV3 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.v1.ClusterAutoscaling
Static Fields
AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
Field Value Type Description int
AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
Field Value Type Description int
AUTOSCALING_PROFILE_FIELD_NUMBER
public static final int AUTOSCALING_PROFILE_FIELD_NUMBER
Field Value Type Description int
ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
Field Value Type Description int
RESOURCE_LIMITS_FIELD_NUMBER
public static final int RESOURCE_LIMITS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ClusterAutoscaling getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ClusterAutoscaling . Builder newBuilder ()
newBuilder(ClusterAutoscaling prototype)
public static ClusterAutoscaling . Builder newBuilder ( ClusterAutoscaling prototype )
public static ClusterAutoscaling parseDelimitedFrom ( InputStream input )
public static ClusterAutoscaling parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ClusterAutoscaling parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterAutoscaling parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ClusterAutoscaling parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterAutoscaling parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ClusterAutoscaling parseFrom ( CodedInputStream input )
public static ClusterAutoscaling parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ClusterAutoscaling parseFrom ( InputStream input )
public static ClusterAutoscaling parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ClusterAutoscaling parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterAutoscaling parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ClusterAutoscaling> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
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;
Parameter Name Description index
int
The index of the element to return.
Returns 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;
Parameter Name Description index
int
The index of the value to return.
Returns 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;
Returns 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;
getAutoprovisioningNodePoolDefaults()
public AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults ()
AutoprovisioningNodePoolDefaults contains defaults for a node pool
created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
getAutoprovisioningNodePoolDefaultsOrBuilder()
public AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder ()
AutoprovisioningNodePoolDefaults contains defaults for a node pool
created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
getAutoscalingProfile()
public ClusterAutoscaling . AutoscalingProfile getAutoscalingProfile ()
Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
getAutoscalingProfileValue()
public int getAutoscalingProfileValue ()
Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
Returns Type Description int
The enum numeric value on the wire for autoscalingProfile.
getDefaultInstanceForType()
public ClusterAutoscaling getDefaultInstanceForType ()
getEnableNodeAutoprovisioning()
public boolean getEnableNodeAutoprovisioning ()
Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;
Returns Type Description boolean
The enableNodeAutoprovisioning.
getParserForType()
public Parser<ClusterAutoscaling> getParserForType ()
Overrides
getResourceLimits(int index)
public ResourceLimit getResourceLimits ( int index )
Contains global constraints regarding minimum and maximum
amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;
Parameter Name Description index
int
getResourceLimitsCount()
public int getResourceLimitsCount ()
Contains global constraints regarding minimum and maximum
amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;
Returns Type Description int
getResourceLimitsList()
public List<ResourceLimit> getResourceLimitsList ()
Contains global constraints regarding minimum and maximum
amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;
getResourceLimitsOrBuilder(int index)
public ResourceLimitOrBuilder getResourceLimitsOrBuilder ( int index )
Contains global constraints regarding minimum and maximum
amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;
Parameter Name Description index
int
getResourceLimitsOrBuilderList()
public List <? extends ResourceLimitOrBuilder > getResourceLimitsOrBuilderList ()
Contains global constraints regarding minimum and maximum
amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;
Returns Type Description List <? extends com.google.container.v1.ResourceLimitOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasAutoprovisioningNodePoolDefaults()
public boolean hasAutoprovisioningNodePoolDefaults ()
AutoprovisioningNodePoolDefaults contains defaults for a node pool
created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
Returns Type Description boolean
Whether the autoprovisioningNodePoolDefaults field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ClusterAutoscaling . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterAutoscaling . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ClusterAutoscaling . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]