Interface FixedOrPercentOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FixedOrPercent, FixedOrPercent.Builder

    public interface 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.
      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.MessageLiteOrBuilder

        isInitialized
      • 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.