Interface ScalingConfigOrBuilder (2.42.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
TypeDescription
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
TypeDescription
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
TypeDescription
float

The scalingFactor.

getScalingModelCase()

public abstract ScalingConfig.ScalingModelCase getScalingModelCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the scalingFactor field is set.