Interface ScalingConfigOrBuilder (2.43.0)

public interface ScalingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceSize()

public abstract 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.v1beta.ScalingConfig.InstanceSize instance_size = 1;

Returns
Type Description
ScalingConfig.InstanceSize

The instanceSize.

getInstanceSizeValue()

public abstract 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.v1beta.ScalingConfig.InstanceSize instance_size = 1;

Returns
Type Description
int

The enum numeric value on the wire for instanceSize.

getScalingFactor()

public abstract 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
Type Description
float

The scalingFactor.

getScalingModelCase()

public abstract ScalingConfig.ScalingModelCase getScalingModelCase()
Returns
Type Description
ScalingConfig.ScalingModelCase

hasInstanceSize()

public abstract 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.v1beta.ScalingConfig.InstanceSize instance_size = 1;

Returns
Type Description
boolean

Whether the instanceSize field is set.

hasScalingFactor()

public abstract 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
Type Description
boolean

Whether the scalingFactor field is set.