- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AutoscalingSettings.Builder extends GeneratedMessageV3.Builder<AutoscalingSettings.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingSettings.BuilderImplements
AutoscalingSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
build()
public AutoscalingSettings build()
Returns | |
---|---|
Type | Description |
AutoscalingSettings |
buildPartial()
public AutoscalingSettings buildPartial()
Returns | |
---|---|
Type | Description |
AutoscalingSettings |
clear()
public AutoscalingSettings.Builder clear()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
clearAutoscalingPolicies()
public AutoscalingSettings.Builder clearAutoscalingPolicies()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
clearCoolDownPeriod()
public AutoscalingSettings.Builder clearCoolDownPeriod()
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 |
AutoscalingSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
clearMaxClusterNodeCount()
public AutoscalingSettings.Builder clearMaxClusterNodeCount()
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 |
AutoscalingSettings.Builder |
This builder for chaining. |
clearMinClusterNodeCount()
public AutoscalingSettings.Builder clearMinClusterNodeCount()
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 |
AutoscalingSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
clone()
public AutoscalingSettings.Builder clone()
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
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:
- 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 Map<String,AutoscalingSettings.AutoscalingPolicy> getAutoscalingPolicies()
Use #getAutoscalingPoliciesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,AutoscalingPolicy> |
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:
- 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 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 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 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 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. |
getCoolDownPeriodBuilder()
public Duration.Builder getCoolDownPeriodBuilder()
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 |
Builder |
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];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public AutoscalingSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getMutableAutoscalingPolicies() (deprecated)
public Map<String,AutoscalingSettings.AutoscalingPolicy> getMutableAutoscalingPolicies()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,AutoscalingPolicy> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCoolDownPeriod(Duration value)
public AutoscalingSettings.Builder mergeCoolDownPeriod(Duration value)
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];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
mergeFrom(AutoscalingSettings other)
public AutoscalingSettings.Builder mergeFrom(AutoscalingSettings other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingSettings |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
putAllAutoscalingPolicies(Map<String,AutoscalingSettings.AutoscalingPolicy> values)
public AutoscalingSettings.Builder putAllAutoscalingPolicies(Map<String,AutoscalingSettings.AutoscalingPolicy> values)
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 |
values |
Map<String,AutoscalingPolicy> |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
putAutoscalingPolicies(String key, AutoscalingSettings.AutoscalingPolicy value)
public AutoscalingSettings.Builder putAutoscalingPolicies(String key, AutoscalingSettings.AutoscalingPolicy value)
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 |
value |
AutoscalingSettings.AutoscalingPolicy |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
putAutoscalingPoliciesBuilderIfAbsent(String key)
public AutoscalingSettings.AutoscalingPolicy.Builder putAutoscalingPoliciesBuilderIfAbsent(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.Builder |
removeAutoscalingPolicies(String key)
public AutoscalingSettings.Builder removeAutoscalingPolicies(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.Builder |
setCoolDownPeriod(Duration value)
public AutoscalingSettings.Builder setCoolDownPeriod(Duration value)
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];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
setCoolDownPeriod(Duration.Builder builderForValue)
public AutoscalingSettings.Builder setCoolDownPeriod(Duration.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
setMaxClusterNodeCount(int value)
public AutoscalingSettings.Builder setMaxClusterNodeCount(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The maxClusterNodeCount to set. |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
This builder for chaining. |
setMinClusterNodeCount(int value)
public AutoscalingSettings.Builder setMinClusterNodeCount(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The minClusterNodeCount to set. |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutoscalingSettings.Builder |