Package akka.remote
Interface WireFormats.FiniteDurationOrBuilder
-
- All Superinterfaces:
akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
- All Known Implementing Classes:
WireFormats.FiniteDuration
,WireFormats.FiniteDuration.Builder
- Enclosing class:
- WireFormats
public static interface WireFormats.FiniteDurationOrBuilder extends akka.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 akka.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.
-
getUnit
WireFormats.TimeUnit getUnit()
required .TimeUnit unit = 2;
- Returns:
- The unit.
-
-