Package akka.remote
Class WireFormats.SerializedMessage
- java.lang.Object
-
- akka.protobuf.AbstractMessageLite
-
- akka.protobuf.AbstractMessage
-
- akka.protobuf.GeneratedMessage
-
- akka.remote.WireFormats.SerializedMessage
-
- All Implemented Interfaces:
akka.protobuf.Message
,akka.protobuf.MessageLite
,akka.protobuf.MessageLiteOrBuilder
,akka.protobuf.MessageOrBuilder
,WireFormats.SerializedMessageOrBuilder
,java.io.Serializable
- Enclosing class:
- WireFormats
public static final class WireFormats.SerializedMessage extends akka.protobuf.GeneratedMessage implements WireFormats.SerializedMessageOrBuilder
Protobuf typeSerializedMessage
Defines a message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WireFormats.SerializedMessage.Builder
Protobuf typeSerializedMessage
-
Nested classes/interfaces inherited from class akka.protobuf.GeneratedMessage
akka.protobuf.GeneratedMessage.BuilderParent, akka.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends akka.protobuf.GeneratedMessage.ExtendableBuilder>, akka.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage>, akka.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage>, akka.protobuf.GeneratedMessage.FieldAccessorTable, akka.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends akka.protobuf.Message,Type extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description static int
MESSAGE_FIELD_NUMBER
static int
MESSAGEMANIFEST_FIELD_NUMBER
static akka.protobuf.Parser<WireFormats.SerializedMessage>
PARSER
static int
SERIALIZERID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WireFormats.SerializedMessage
getDefaultInstance()
WireFormats.SerializedMessage
getDefaultInstanceForType()
static akka.protobuf.Descriptors.Descriptor
getDescriptor()
akka.protobuf.ByteString
getMessage()
required bytes message = 1;
akka.protobuf.ByteString
getMessageManifest()
optional bytes messageManifest = 3;
akka.protobuf.Parser<WireFormats.SerializedMessage>
getParserForType()
int
getSerializedSize()
int
getSerializerId()
required int32 serializerId = 2;
akka.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasMessage()
required bytes message = 1;
boolean
hasMessageManifest()
optional bytes messageManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 2;
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static WireFormats.SerializedMessage.Builder
newBuilder()
static WireFormats.SerializedMessage.Builder
newBuilder(WireFormats.SerializedMessage prototype)
WireFormats.SerializedMessage.Builder
newBuilderForType()
protected WireFormats.SerializedMessage.Builder
newBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)
static WireFormats.SerializedMessage
parseDelimitedFrom(java.io.InputStream input)
static WireFormats.SerializedMessage
parseDelimitedFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static WireFormats.SerializedMessage
parseFrom(byte[] data)
static WireFormats.SerializedMessage
parseFrom(byte[] data, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static WireFormats.SerializedMessage
parseFrom(akka.protobuf.ByteString data)
static WireFormats.SerializedMessage
parseFrom(akka.protobuf.ByteString data, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static WireFormats.SerializedMessage
parseFrom(akka.protobuf.CodedInputStream input)
static WireFormats.SerializedMessage
parseFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static WireFormats.SerializedMessage
parseFrom(java.io.InputStream input)
static WireFormats.SerializedMessage
parseFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
WireFormats.SerializedMessage.Builder
toBuilder()
protected java.lang.Object
writeReplace()
void
writeTo(akka.protobuf.CodedOutputStream output)
-
Methods inherited from class akka.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
-
Methods inherited from class akka.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class akka.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static akka.protobuf.Parser<WireFormats.SerializedMessage> PARSER
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZERID_FIELD_NUMBER
public static final int SERIALIZERID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGEMANIFEST_FIELD_NUMBER
public static final int MESSAGEMANIFEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static WireFormats.SerializedMessage getDefaultInstance()
-
getDefaultInstanceForType
public WireFormats.SerializedMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageOrBuilder
-
getUnknownFields
public final akka.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceakka.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classakka.protobuf.GeneratedMessage
-
getDescriptor
public static final akka.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobuf.GeneratedMessage
-
getParserForType
public akka.protobuf.Parser<WireFormats.SerializedMessage> getParserForType()
- Specified by:
getParserForType
in interfaceakka.protobuf.Message
- Specified by:
getParserForType
in interfaceakka.protobuf.MessageLite
- Overrides:
getParserForType
in classakka.protobuf.GeneratedMessage
-
hasMessage
public boolean hasMessage()
required bytes message = 1;
- Specified by:
hasMessage
in interfaceWireFormats.SerializedMessageOrBuilder
-
getMessage
public akka.protobuf.ByteString getMessage()
required bytes message = 1;
- Specified by:
getMessage
in interfaceWireFormats.SerializedMessageOrBuilder
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 2;
- Specified by:
hasSerializerId
in interfaceWireFormats.SerializedMessageOrBuilder
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 2;
- Specified by:
getSerializerId
in interfaceWireFormats.SerializedMessageOrBuilder
-
hasMessageManifest
public boolean hasMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
hasMessageManifest
in interfaceWireFormats.SerializedMessageOrBuilder
-
getMessageManifest
public akka.protobuf.ByteString getMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
getMessageManifest
in interfaceWireFormats.SerializedMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobuf.GeneratedMessage
-
writeTo
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceakka.protobuf.MessageLite
- Overrides:
writeTo
in classakka.protobuf.AbstractMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceakka.protobuf.MessageLite
- Overrides:
getSerializedSize
in classakka.protobuf.AbstractMessage
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
- Overrides:
writeReplace
in classakka.protobuf.GeneratedMessage
- Throws:
java.io.ObjectStreamException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(akka.protobuf.ByteString data) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(akka.protobuf.ByteString data, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(byte[] data) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(byte[] data, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.SerializedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.SerializedMessage parseDelimitedFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(akka.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static WireFormats.SerializedMessage.Builder newBuilder()
-
newBuilderForType
public WireFormats.SerializedMessage.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceakka.protobuf.Message
- Specified by:
newBuilderForType
in interfaceakka.protobuf.MessageLite
-
newBuilder
public static WireFormats.SerializedMessage.Builder newBuilder(WireFormats.SerializedMessage prototype)
-
toBuilder
public WireFormats.SerializedMessage.Builder toBuilder()
- Specified by:
toBuilder
in interfaceakka.protobuf.Message
- Specified by:
toBuilder
in interfaceakka.protobuf.MessageLite
-
newBuilderForType
protected WireFormats.SerializedMessage.Builder newBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classakka.protobuf.GeneratedMessage
-
-