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

    Modifier and Type
    Method
    Description
    required .TimeUnit unit = 2;
    long
    required int64 value = 1;
    boolean
    required .TimeUnit unit = 2;
    boolean
    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 Details

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

      required .TimeUnit unit = 2;
      Returns:
      The unit.