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

    Modifier and Type
    Method
    Description
    int
    Specifies a fixed value.
     
    int
    Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
    boolean
    Specifies a fixed value.
    boolean
    Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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