Interface AutoscalingSettingsOrBuilder (0.42.0)

public interface AutoscalingSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAutoscalingPolicies(String key)

public abstract 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:

  • 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 (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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAutoscalingPolicies() (deprecated)

public abstract Map<String,AutoscalingSettings.AutoscalingPolicy> getAutoscalingPolicies()
Returns
Type Description
Map<String,AutoscalingPolicy>

getAutoscalingPoliciesCount()

public abstract 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 (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];

Returns
Type Description
int

getAutoscalingPoliciesMap()

public abstract 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 (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];

Returns
Type Description
Map<String,AutoscalingPolicy>

getAutoscalingPoliciesOrDefault(String key, AutoscalingSettings.AutoscalingPolicy defaultValue)

public abstract 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 (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];

Parameters
Name Description
key String
defaultValue AutoscalingSettings.AutoscalingPolicy
Returns
Type Description
AutoscalingSettings.AutoscalingPolicy

getAutoscalingPoliciesOrThrow(String key)

public abstract 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:

  • 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 (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];

Parameter
Name Description
key String
Returns
Type Description
AutoscalingSettings.AutoscalingPolicy

getCoolDownPeriod()

public abstract 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 abstract 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];

Returns
Type Description
DurationOrBuilder

getMaxClusterNodeCount()

public abstract 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 abstract 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.

hasCoolDownPeriod()

public abstract 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.