Interface WireFormats.FiniteDurationOrBuilder

  • All Superinterfaces:
    org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder
    All Known Implementing Classes:
    WireFormats.FiniteDuration, WireFormats.FiniteDuration.Builder
    Enclosing class:
    WireFormats

    public static interface WireFormats.FiniteDurationOrBuilder
    extends org.apache.pekko.protobufv3.internal.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      WireFormats.TimeUnit getUnit()
      required .TimeUnit unit = 2;
      long getValue()
      required int64 value = 1;
      boolean hasUnit()
      required .TimeUnit unit = 2;
      boolean hasValue()
      required int64 value = 1;
      • Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder

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

      • hasValue

        boolean hasValue()
        required int64 value = 1;
        Returns:
        Whether the value field is set.
      • getValue

        long getValue()
        required int64 value = 1;
        Returns:
        The value.
      • hasUnit

        boolean hasUnit()
        required .TimeUnit unit = 2;
        Returns:
        Whether the unit field is set.