Package org.apache.pekko.remote
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
Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
isInitializedMethods 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
WireFormats.TimeUnit getUnit()required .TimeUnit unit = 2;- Returns:
- The unit.
-