Package com.google.cloud.vmwareengine.v1
Interface AutoscalingSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingSettings,AutoscalingSettings.Builder
@Generated
public interface AutoscalingSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.Deprecated.intRequired.Required.getAutoscalingPoliciesOrDefault(String key, AutoscalingSettings.AutoscalingPolicy defaultValue) Required.Required.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.intOptional.intOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAutoscalingPoliciesCount
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: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED]; -
containsAutoscalingPolicies
Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingPolicies
Deprecated.UsegetAutoscalingPoliciesMap()instead. -
getAutoscalingPoliciesMap
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: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingPoliciesOrDefault
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: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED]; -
getAutoscalingPoliciesOrThrow
Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
map<string, .google.cloud.vmwareengine.v1.AutoscalingSettings.AutoscalingPolicy> autoscaling_policies = 1 [(.google.api.field_behavior) = REQUIRED]; -
getMinClusterNodeCount
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:
- The minClusterNodeCount.
-
getMaxClusterNodeCount
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:
- The maxClusterNodeCount.
-
hasCoolDownPeriod
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:
- Whether the coolDownPeriod field is set.
-
getCoolDownPeriod
com.google.protobuf.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:
- The coolDownPeriod.
-
getCoolDownPeriodOrBuilder
com.google.protobuf.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];
-