Package com.google.cloud.metastore.v1
Interface ScalingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScalingConfig
,ScalingConfig.Builder
public interface ScalingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalingConfig.InstanceSize
getInstanceSize()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g.int
getInstanceSizeValue()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g.float
getScalingFactor()
Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.ScalingConfig.ScalingModelCase
getScalingModelCase()
boolean
hasInstanceSize()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g.boolean
hasScalingFactor()
Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstanceSize
boolean hasInstanceSize()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
.google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
- Returns:
- Whether the instanceSize field is set.
-
getInstanceSizeValue
int getInstanceSizeValue()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
.google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
- Returns:
- The enum numeric value on the wire for instanceSize.
-
getInstanceSize
ScalingConfig.InstanceSize getInstanceSize()
An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
.google.cloud.metastore.v1.ScalingConfig.InstanceSize instance_size = 1;
- Returns:
- The instanceSize.
-
hasScalingFactor
boolean hasScalingFactor()
Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
float scaling_factor = 2;
- Returns:
- Whether the scalingFactor field is set.
-
getScalingFactor
float getScalingFactor()
Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
float scaling_factor = 2;
- Returns:
- The scalingFactor.
-
getScalingModelCase
ScalingConfig.ScalingModelCase getScalingModelCase()
-
-