Package akka.remote
Class WireFormats.AkkaProtocolMessage.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
- akka.remote.WireFormats.AkkaProtocolMessage.Builder
-
- All Implemented Interfaces:
akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,WireFormats.AkkaProtocolMessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WireFormats.AkkaProtocolMessage
public static final class WireFormats.AkkaProtocolMessage.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder> implements WireFormats.AkkaProtocolMessageOrBuilder
Message format of Akka Protocol. Message contains either a payload or an instruction.
Protobuf typeAkkaProtocolMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.AkkaProtocolMessage.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.AkkaProtocolMessage
build()
WireFormats.AkkaProtocolMessage
buildPartial()
WireFormats.AkkaProtocolMessage.Builder
clear()
WireFormats.AkkaProtocolMessage.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
WireFormats.AkkaProtocolMessage.Builder
clearInstruction()
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaProtocolMessage.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
WireFormats.AkkaProtocolMessage.Builder
clearPayload()
optional bytes payload = 1;
WireFormats.AkkaProtocolMessage.Builder
clone()
WireFormats.AkkaProtocolMessage
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
WireFormats.AkkaControlMessage
getInstruction()
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaControlMessage.Builder
getInstructionBuilder()
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaControlMessageOrBuilder
getInstructionOrBuilder()
optional .AkkaControlMessage instruction = 2;
akka.protobufv3.internal.ByteString
getPayload()
optional bytes payload = 1;
boolean
hasInstruction()
optional .AkkaControlMessage instruction = 2;
boolean
hasPayload()
optional bytes payload = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.AkkaProtocolMessage.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.AkkaProtocolMessage.Builder
mergeFrom(akka.protobufv3.internal.Message other)
WireFormats.AkkaProtocolMessage.Builder
mergeFrom(WireFormats.AkkaProtocolMessage other)
WireFormats.AkkaProtocolMessage.Builder
mergeInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaProtocolMessage.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.AkkaProtocolMessage.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.AkkaProtocolMessage.Builder
setInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaProtocolMessage.Builder
setInstruction(WireFormats.AkkaControlMessage.Builder builderForValue)
optional .AkkaControlMessage instruction = 2;
WireFormats.AkkaProtocolMessage.Builder
setPayload(akka.protobufv3.internal.ByteString value)
optional bytes payload = 1;
WireFormats.AkkaProtocolMessage.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WireFormats.AkkaProtocolMessage.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
clear
public WireFormats.AkkaProtocolMessage.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
getDefaultInstanceForType
public WireFormats.AkkaProtocolMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.AkkaProtocolMessage build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public WireFormats.AkkaProtocolMessage buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public WireFormats.AkkaProtocolMessage.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
setField
public WireFormats.AkkaProtocolMessage.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
clearField
public WireFormats.AkkaProtocolMessage.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
clearOneof
public WireFormats.AkkaProtocolMessage.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
setRepeatedField
public WireFormats.AkkaProtocolMessage.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
addRepeatedField
public WireFormats.AkkaProtocolMessage.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
mergeFrom
public WireFormats.AkkaProtocolMessage.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
mergeFrom
public WireFormats.AkkaProtocolMessage.Builder mergeFrom(WireFormats.AkkaProtocolMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
mergeFrom
public WireFormats.AkkaProtocolMessage.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.AkkaProtocolMessage.Builder>
- Throws:
java.io.IOException
-
hasPayload
public boolean hasPayload()
optional bytes payload = 1;
- Specified by:
hasPayload
in interfaceWireFormats.AkkaProtocolMessageOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public akka.protobufv3.internal.ByteString getPayload()
optional bytes payload = 1;
- Specified by:
getPayload
in interfaceWireFormats.AkkaProtocolMessageOrBuilder
- Returns:
- The payload.
-
setPayload
public WireFormats.AkkaProtocolMessage.Builder setPayload(akka.protobufv3.internal.ByteString value)
optional bytes payload = 1;
- Parameters:
value
- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
public WireFormats.AkkaProtocolMessage.Builder clearPayload()
optional bytes payload = 1;
- Returns:
- This builder for chaining.
-
hasInstruction
public boolean hasInstruction()
optional .AkkaControlMessage instruction = 2;
- Specified by:
hasInstruction
in interfaceWireFormats.AkkaProtocolMessageOrBuilder
- Returns:
- Whether the instruction field is set.
-
getInstruction
public WireFormats.AkkaControlMessage getInstruction()
optional .AkkaControlMessage instruction = 2;
- Specified by:
getInstruction
in interfaceWireFormats.AkkaProtocolMessageOrBuilder
- Returns:
- The instruction.
-
setInstruction
public WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;
-
setInstruction
public WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage.Builder builderForValue)
optional .AkkaControlMessage instruction = 2;
-
mergeInstruction
public WireFormats.AkkaProtocolMessage.Builder mergeInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;
-
clearInstruction
public WireFormats.AkkaProtocolMessage.Builder clearInstruction()
optional .AkkaControlMessage instruction = 2;
-
getInstructionBuilder
public WireFormats.AkkaControlMessage.Builder getInstructionBuilder()
optional .AkkaControlMessage instruction = 2;
-
getInstructionOrBuilder
public WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder()
optional .AkkaControlMessage instruction = 2;
- Specified by:
getInstructionOrBuilder
in interfaceWireFormats.AkkaProtocolMessageOrBuilder
-
setUnknownFields
public final WireFormats.AkkaProtocolMessage.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
mergeUnknownFields
public final WireFormats.AkkaProtocolMessage.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AkkaProtocolMessage.Builder>
-
-