Interface FixedOrPercentOrBuilder (2.4.3)

public interface FixedOrPercentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFixed()

public abstract int getFixed()

Specifies a fixed value.

int32 fixed = 1;

Returns
TypeDescription
int

The fixed.

getModeCase()

public abstract FixedOrPercent.ModeCase getModeCase()
Returns
TypeDescription
FixedOrPercent.ModeCase

getPercent()

public abstract int getPercent()

Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

int32 percent = 2;

Returns
TypeDescription
int

The percent.

hasFixed()

public abstract boolean hasFixed()

Specifies a fixed value.

int32 fixed = 1;

Returns
TypeDescription
boolean

Whether the fixed field is set.

hasPercent()

public abstract boolean hasPercent()

Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

int32 percent = 2;

Returns
TypeDescription
boolean

Whether the percent field is set.