Package akka.remote
Class WireFormats.FiniteDuration.Builder
- java.lang.Object
-
- akka.protobuf.AbstractMessageLite.Builder<BuilderType>
-
- akka.protobuf.AbstractMessage.Builder<BuilderType>
-
- akka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
- akka.remote.WireFormats.FiniteDuration.Builder
-
- All Implemented Interfaces:
akka.protobuf.Message.Builder
,akka.protobuf.MessageLite.Builder
,akka.protobuf.MessageLiteOrBuilder
,akka.protobuf.MessageOrBuilder
,WireFormats.FiniteDurationOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WireFormats.FiniteDuration
public static final class WireFormats.FiniteDuration.Builder extends akka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder> implements WireFormats.FiniteDurationOrBuilder
Protobuf typeFiniteDuration
-
-
Method Summary
-
Methods inherited from class akka.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class akka.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class akka.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
clear
public WireFormats.FiniteDuration.Builder clear()
- Specified by:
clear
in interfaceakka.protobuf.Message.Builder
- Specified by:
clear
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
clear
in classakka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
clone
public WireFormats.FiniteDuration.Builder clone()
- Specified by:
clone
in interfaceakka.protobuf.Message.Builder
- Specified by:
clone
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
clone
in classakka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
getDescriptorForType
public akka.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
getDefaultInstanceForType
public WireFormats.FiniteDuration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageOrBuilder
-
build
public WireFormats.FiniteDuration build()
- Specified by:
build
in interfaceakka.protobuf.Message.Builder
- Specified by:
build
in interfaceakka.protobuf.MessageLite.Builder
-
buildPartial
public WireFormats.FiniteDuration buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobuf.MessageLite.Builder
-
mergeFrom
public WireFormats.FiniteDuration.Builder mergeFrom(akka.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobuf.Message.Builder
- Overrides:
mergeFrom
in classakka.protobuf.AbstractMessage.Builder<WireFormats.FiniteDuration.Builder>
-
mergeFrom
public WireFormats.FiniteDuration.Builder mergeFrom(WireFormats.FiniteDuration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobuf.GeneratedMessage.Builder<WireFormats.FiniteDuration.Builder>
-
mergeFrom
public WireFormats.FiniteDuration.Builder mergeFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobuf.AbstractMessage.Builder<WireFormats.FiniteDuration.Builder>
- Throws:
java.io.IOException
-
hasValue
public boolean hasValue()
required int64 value = 1;
- Specified by:
hasValue
in interfaceWireFormats.FiniteDurationOrBuilder
-
getValue
public long getValue()
required int64 value = 1;
- Specified by:
getValue
in interfaceWireFormats.FiniteDurationOrBuilder
-
setValue
public WireFormats.FiniteDuration.Builder setValue(long value)
required int64 value = 1;
-
clearValue
public WireFormats.FiniteDuration.Builder clearValue()
required int64 value = 1;
-
hasUnit
public boolean hasUnit()
required .TimeUnit unit = 2;
- Specified by:
hasUnit
in interfaceWireFormats.FiniteDurationOrBuilder
-
getUnit
public WireFormats.TimeUnit getUnit()
required .TimeUnit unit = 2;
- Specified by:
getUnit
in interfaceWireFormats.FiniteDurationOrBuilder
-
setUnit
public WireFormats.FiniteDuration.Builder setUnit(WireFormats.TimeUnit value)
required .TimeUnit unit = 2;
-
clearUnit
public WireFormats.FiniteDuration.Builder clearUnit()
required .TimeUnit unit = 2;
-
-