Send feedback
Class AutoscalingSettings (0.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.42.0 keyboard_arrow_down
public final class AutoscalingSettings extends GeneratedMessageV3 implements AutoscalingSettingsOrBuilder
Autoscaling settings define the rules used by VMware Engine to
automatically scale-out and scale-in the clusters in a private cloud.
Protobuf type google.cloud.vmwareengine.v1.AutoscalingSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTOSCALING_POLICIES_FIELD_NUMBER
public static final int AUTOSCALING_POLICIES_FIELD_NUMBER
Field Value
Type
Description
int
COOL_DOWN_PERIOD_FIELD_NUMBER
public static final int COOL_DOWN_PERIOD_FIELD_NUMBER
Field Value
Type
Description
int
MAX_CLUSTER_NODE_COUNT_FIELD_NUMBER
public static final int MAX_CLUSTER_NODE_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
MIN_CLUSTER_NODE_COUNT_FIELD_NUMBER
public static final int MIN_CLUSTER_NODE_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AutoscalingSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AutoscalingSettings . Builder newBuilder ()
newBuilder(AutoscalingSettings prototype)
public static AutoscalingSettings . Builder newBuilder ( AutoscalingSettings prototype )
public static AutoscalingSettings parseDelimitedFrom ( InputStream input )
public static AutoscalingSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AutoscalingSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AutoscalingSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AutoscalingSettings parseFrom ( CodedInputStream input )
public static AutoscalingSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AutoscalingSettings parseFrom ( InputStream input )
public static AutoscalingSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AutoscalingSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AutoscalingSettings> parser ()
Methods
containsAutoscalingPolicies(String key)
public boolean containsAutoscalingPolicies ( String key )
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAutoscalingPolicies() (deprecated)
public Map<String , AutoscalingSettings . AutoscalingPolicy > getAutoscalingPolicies ()
getAutoscalingPoliciesCount()
public int getAutoscalingPoliciesCount ()
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
getAutoscalingPoliciesMap()
public Map<String , AutoscalingSettings . AutoscalingPolicy > getAutoscalingPoliciesMap ()
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingPoliciesOrDefault(String key, AutoscalingSettings.AutoscalingPolicy defaultValue)
public AutoscalingSettings . AutoscalingPolicy getAutoscalingPoliciesOrDefault ( String key , AutoscalingSettings . AutoscalingPolicy defaultValue )
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED];
getAutoscalingPoliciesOrThrow(String key)
public AutoscalingSettings . AutoscalingPolicy getAutoscalingPoliciesOrThrow ( String key )
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
key
String
getCoolDownPeriod()
public Duration getCoolDownPeriod ()
Optional. The minimum duration between consecutive autoscale operations.
It starts once addition or removal of nodes is fully completed.
Defaults to 30 minutes if not specified. Cool down period must be in whole
minutes (for example, 30, 31, 50, 180 minutes).
.google.protobuf.Duration cool_down_period = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Duration
The coolDownPeriod.
getCoolDownPeriodOrBuilder()
public DurationOrBuilder getCoolDownPeriodOrBuilder ()
Optional. The minimum duration between consecutive autoscale operations.
It starts once addition or removal of nodes is fully completed.
Defaults to 30 minutes if not specified. Cool down period must be in whole
minutes (for example, 30, 31, 50, 180 minutes).
.google.protobuf.Duration cool_down_period = 4 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AutoscalingSettings getDefaultInstanceForType ()
getMaxClusterNodeCount()
public int getMaxClusterNodeCount ()
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
int32 max_cluster_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The maxClusterNodeCount.
getMinClusterNodeCount()
public int getMinClusterNodeCount ()
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
int32 min_cluster_node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The minClusterNodeCount.
getParserForType()
public Parser<AutoscalingSettings> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasCoolDownPeriod()
public boolean hasCoolDownPeriod ()
Optional. The minimum duration between consecutive autoscale operations.
It starts once addition or removal of nodes is fully completed.
Defaults to 30 minutes if not specified. Cool down period must be in whole
minutes (for example, 30, 31, 50, 180 minutes).
.google.protobuf.Duration cool_down_period = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the coolDownPeriod field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AutoscalingSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AutoscalingSettings . 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."],[],[]]