Package akka.remote
Class WireFormats.AkkaProtocolMessage
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite
-
- akka.protobufv3.internal.AbstractMessage
-
- akka.protobufv3.internal.GeneratedMessageV3
-
- akka.remote.WireFormats.AkkaProtocolMessage
-
- All Implemented Interfaces:
akka.protobufv3.internal.Message,akka.protobufv3.internal.MessageLite,akka.protobufv3.internal.MessageLiteOrBuilder,akka.protobufv3.internal.MessageOrBuilder,WireFormats.AkkaProtocolMessageOrBuilder,java.io.Serializable
- Enclosing class:
- WireFormats
public static final class WireFormats.AkkaProtocolMessage extends akka.protobufv3.internal.GeneratedMessageV3 implements WireFormats.AkkaProtocolMessageOrBuilder
Message format of Akka Protocol. Message contains either a payload or an instruction.
Protobuf typeAkkaProtocolMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWireFormats.AkkaProtocolMessage.BuilderMessage format of Akka Protocol.-
Nested classes/interfaces inherited from class akka.protobufv3.internal.GeneratedMessageV3
akka.protobufv3.internal.GeneratedMessageV3.BuilderParent, akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage,BuilderType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intINSTRUCTION_FIELD_NUMBERstatic akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage>PARSERDeprecated.static intPAYLOAD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static WireFormats.AkkaProtocolMessagegetDefaultInstance()WireFormats.AkkaProtocolMessagegetDefaultInstanceForType()static akka.protobufv3.internal.Descriptors.DescriptorgetDescriptor()WireFormats.AkkaControlMessagegetInstruction()optional .AkkaControlMessage instruction = 2;WireFormats.AkkaControlMessageOrBuildergetInstructionOrBuilder()optional .AkkaControlMessage instruction = 2;akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage>getParserForType()akka.protobufv3.internal.ByteStringgetPayload()optional bytes payload = 1;intgetSerializedSize()akka.protobufv3.internal.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasInstruction()optional .AkkaControlMessage instruction = 2;booleanhasPayload()optional bytes payload = 1;protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WireFormats.AkkaProtocolMessage.BuildernewBuilder()static WireFormats.AkkaProtocolMessage.BuildernewBuilder(WireFormats.AkkaProtocolMessage prototype)WireFormats.AkkaProtocolMessage.BuildernewBuilderForType()protected WireFormats.AkkaProtocolMessage.BuildernewBuilderForType(akka.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)static WireFormats.AkkaProtocolMessageparseDelimitedFrom(java.io.InputStream input)static WireFormats.AkkaProtocolMessageparseDelimitedFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.AkkaProtocolMessageparseFrom(byte[] data)static WireFormats.AkkaProtocolMessageparseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.AkkaProtocolMessageparseFrom(akka.protobufv3.internal.ByteString data)static WireFormats.AkkaProtocolMessageparseFrom(akka.protobufv3.internal.ByteString data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.AkkaProtocolMessageparseFrom(akka.protobufv3.internal.CodedInputStream input)static WireFormats.AkkaProtocolMessageparseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.AkkaProtocolMessageparseFrom(java.io.InputStream input)static WireFormats.AkkaProtocolMessageparseFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.AkkaProtocolMessageparseFrom(java.nio.ByteBuffer data)static WireFormats.AkkaProtocolMessageparseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage>parser()WireFormats.AkkaProtocolMessage.BuildertoBuilder()voidwriteTo(akka.protobufv3.internal.CodedOutputStream output)-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTRUCTION_FIELD_NUMBER
public static final int INSTRUCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classakka.protobufv3.internal.GeneratedMessageV3
-
getUnknownFields
public final akka.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceakka.protobufv3.internal.MessageOrBuilder- Overrides:
getUnknownFieldsin classakka.protobufv3.internal.GeneratedMessageV3
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classakka.protobufv3.internal.GeneratedMessageV3
-
hasPayload
public boolean hasPayload()
optional bytes payload = 1;- Specified by:
hasPayloadin interfaceWireFormats.AkkaProtocolMessageOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public akka.protobufv3.internal.ByteString getPayload()
optional bytes payload = 1;- Specified by:
getPayloadin interfaceWireFormats.AkkaProtocolMessageOrBuilder- Returns:
- The payload.
-
hasInstruction
public boolean hasInstruction()
optional .AkkaControlMessage instruction = 2;- Specified by:
hasInstructionin interfaceWireFormats.AkkaProtocolMessageOrBuilder- Returns:
- Whether the instruction field is set.
-
getInstruction
public WireFormats.AkkaControlMessage getInstruction()
optional .AkkaControlMessage instruction = 2;- Specified by:
getInstructionin interfaceWireFormats.AkkaProtocolMessageOrBuilder- Returns:
- The instruction.
-
getInstructionOrBuilder
public WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder()
optional .AkkaControlMessage instruction = 2;- Specified by:
getInstructionOrBuilderin interfaceWireFormats.AkkaProtocolMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceakka.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classakka.protobufv3.internal.GeneratedMessageV3
-
writeTo
public void writeTo(akka.protobufv3.internal.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfaceakka.protobufv3.internal.MessageLite- Overrides:
writeToin classakka.protobufv3.internal.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceakka.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classakka.protobufv3.internal.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfaceakka.protobufv3.internal.Message- Overrides:
equalsin classakka.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceakka.protobufv3.internal.Message- Overrides:
hashCodein classakka.protobufv3.internal.AbstractMessage
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(java.nio.ByteBuffer data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(akka.protobufv3.internal.ByteString data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(akka.protobufv3.internal.ByteString data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(byte[] data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.AkkaProtocolMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.AkkaProtocolMessage parseDelimitedFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(akka.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.AkkaProtocolMessage parseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WireFormats.AkkaProtocolMessage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceakka.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceakka.protobufv3.internal.MessageLite
-
newBuilder
public static WireFormats.AkkaProtocolMessage.Builder newBuilder()
-
newBuilder
public static WireFormats.AkkaProtocolMessage.Builder newBuilder(WireFormats.AkkaProtocolMessage prototype)
-
toBuilder
public WireFormats.AkkaProtocolMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceakka.protobufv3.internal.Message- Specified by:
toBuilderin interfaceakka.protobufv3.internal.MessageLite
-
newBuilderForType
protected WireFormats.AkkaProtocolMessage.Builder newBuilderForType(akka.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classakka.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static WireFormats.AkkaProtocolMessage getDefaultInstance()
-
parser
public static akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage> parser()
-
getParserForType
public akka.protobufv3.internal.Parser<WireFormats.AkkaProtocolMessage> getParserForType()
- Specified by:
getParserForTypein interfaceakka.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceakka.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classakka.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstanceForType
public WireFormats.AkkaProtocolMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceakka.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceakka.protobufv3.internal.MessageOrBuilder
-
-