Package com.google.cloud.vmwareengine.v1
Interface AutoscalingSettings.AutoscalingPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingSettings.AutoscalingPolicy,AutoscalingSettings.AutoscalingPolicy.Builder
- Enclosing class:
- AutoscalingSettings
public static interface AutoscalingSettings.AutoscalingPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.intRequired.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.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
-
getNodeTypeId
String getNodeTypeId()Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`.
string node_type_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The nodeTypeId.
-
getNodeTypeIdBytes
com.google.protobuf.ByteString getNodeTypeIdBytes()Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`.
string node_type_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for nodeTypeId.
-
getScaleOutSize
int getScaleOutSize()Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
int32 scale_out_size = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The scaleOutSize.
-
hasCpuThresholds
boolean hasCpuThresholds()Optional. Utilization thresholds pertaining to CPU utilization.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds cpu_thresholds = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the cpuThresholds field is set.
-
getCpuThresholds
AutoscalingSettings.Thresholds getCpuThresholds()Optional. Utilization thresholds pertaining to CPU utilization.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds cpu_thresholds = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The cpuThresholds.
-
getCpuThresholdsOrBuilder
AutoscalingSettings.ThresholdsOrBuilder getCpuThresholdsOrBuilder()Optional. Utilization thresholds pertaining to CPU utilization.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds cpu_thresholds = 11 [(.google.api.field_behavior) = OPTIONAL]; -
hasGrantedMemoryThresholds
boolean hasGrantedMemoryThresholds()Optional. Utilization thresholds pertaining to amount of granted memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds granted_memory_thresholds = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the grantedMemoryThresholds field is set.
-
getGrantedMemoryThresholds
AutoscalingSettings.Thresholds getGrantedMemoryThresholds()Optional. Utilization thresholds pertaining to amount of granted memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds granted_memory_thresholds = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The grantedMemoryThresholds.
-
getGrantedMemoryThresholdsOrBuilder
AutoscalingSettings.ThresholdsOrBuilder getGrantedMemoryThresholdsOrBuilder()Optional. Utilization thresholds pertaining to amount of granted memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds granted_memory_thresholds = 12 [(.google.api.field_behavior) = OPTIONAL]; -
hasConsumedMemoryThresholds
boolean hasConsumedMemoryThresholds()Optional. Utilization thresholds pertaining to amount of consumed memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds consumed_memory_thresholds = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the consumedMemoryThresholds field is set.
-
getConsumedMemoryThresholds
AutoscalingSettings.Thresholds getConsumedMemoryThresholds()Optional. Utilization thresholds pertaining to amount of consumed memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds consumed_memory_thresholds = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The consumedMemoryThresholds.
-
getConsumedMemoryThresholdsOrBuilder
AutoscalingSettings.ThresholdsOrBuilder getConsumedMemoryThresholdsOrBuilder()Optional. Utilization thresholds pertaining to amount of consumed memory.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds consumed_memory_thresholds = 13 [(.google.api.field_behavior) = OPTIONAL]; -
hasStorageThresholds
boolean hasStorageThresholds()Optional. Utilization thresholds pertaining to amount of consumed storage.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds storage_thresholds = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the storageThresholds field is set.
-
getStorageThresholds
AutoscalingSettings.Thresholds getStorageThresholds()Optional. Utilization thresholds pertaining to amount of consumed storage.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds storage_thresholds = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The storageThresholds.
-
getStorageThresholdsOrBuilder
AutoscalingSettings.ThresholdsOrBuilder getStorageThresholdsOrBuilder()Optional. Utilization thresholds pertaining to amount of consumed storage.
.google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds storage_thresholds = 14 [(.google.api.field_behavior) = OPTIONAL];
-