Package com.google.cloud.osconfig.v1
Interface Common.FixedOrPercentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.FixedOrPercent
,Common.FixedOrPercent.Builder
- Enclosing class:
- Common
public static interface Common.FixedOrPercentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFixed()
Specifies a fixed value.Common.FixedOrPercent.ModeCase
getModeCase()
int
getPercent()
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.boolean
hasFixed()
Specifies a fixed value.boolean
hasPercent()
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFixed
boolean hasFixed()
Specifies a fixed value.
int32 fixed = 1;
- Returns:
- Whether the fixed field is set.
-
getFixed
int getFixed()
Specifies a fixed value.
int32 fixed = 1;
- Returns:
- The fixed.
-
hasPercent
boolean hasPercent()
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
int32 percent = 2;
- Returns:
- Whether the percent field is set.
-
getPercent
int getPercent()
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
int32 percent = 2;
- Returns:
- The percent.
-
getModeCase
Common.FixedOrPercent.ModeCase getModeCase()
-
-