Package org.apache.pekko.remote
Class WireFormats.SerializedMessage
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessage
-
- org.apache.pekko.remote.WireFormats.SerializedMessage
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.pekko.protobufv3.internal.Message,org.apache.pekko.protobufv3.internal.MessageLite,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder,WireFormats.SerializedMessageOrBuilder
- Enclosing class:
- WireFormats
public static final class WireFormats.SerializedMessage extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements WireFormats.SerializedMessageOrBuilder
* Defines a message.
Protobuf typeSerializedMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWireFormats.SerializedMessage.Builder* Defines a message.-
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message,T extends java.lang.Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMESSAGE_FIELD_NUMBERstatic intMESSAGEMANIFEST_FIELD_NUMBERstatic intSERIALIZERID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static WireFormats.SerializedMessagegetDefaultInstance()WireFormats.SerializedMessagegetDefaultInstanceForType()static org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptor()org.apache.pekko.protobufv3.internal.ByteStringgetMessage()required bytes message = 1;org.apache.pekko.protobufv3.internal.ByteStringgetMessageManifest()optional bytes messageManifest = 3;org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage>getParserForType()intgetSerializedSize()intgetSerializerId()required int32 serializerId = 2;inthashCode()booleanhasMessage()required bytes message = 1;booleanhasMessageManifest()optional bytes messageManifest = 3;booleanhasSerializerId()required int32 serializerId = 2;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WireFormats.SerializedMessage.BuildernewBuilder()static WireFormats.SerializedMessage.BuildernewBuilder(WireFormats.SerializedMessage prototype)WireFormats.SerializedMessage.BuildernewBuilderForType()protected WireFormats.SerializedMessage.BuildernewBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)static WireFormats.SerializedMessageparseDelimitedFrom(java.io.InputStream input)static WireFormats.SerializedMessageparseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.SerializedMessageparseFrom(byte[] data)static WireFormats.SerializedMessageparseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.SerializedMessageparseFrom(java.io.InputStream input)static WireFormats.SerializedMessageparseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.SerializedMessageparseFrom(java.nio.ByteBuffer data)static WireFormats.SerializedMessageparseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.SerializedMessageparseFrom(org.apache.pekko.protobufv3.internal.ByteString data)static WireFormats.SerializedMessageparseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.SerializedMessageparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)static WireFormats.SerializedMessageparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage>parser()WireFormats.SerializedMessage.BuildertoBuilder()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
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
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasMessage
public boolean hasMessage()
required bytes message = 1;- Specified by:
hasMessagein interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
public org.apache.pekko.protobufv3.internal.ByteString getMessage()
required bytes message = 1;- Specified by:
getMessagein interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- The message.
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 2;- Specified by:
hasSerializerIdin interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- Whether the serializerId field is set.
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 2;- Specified by:
getSerializerIdin interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- The serializerId.
-
hasMessageManifest
public boolean hasMessageManifest()
optional bytes messageManifest = 3;- Specified by:
hasMessageManifestin interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- Whether the messageManifest field is set.
-
getMessageManifest
public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest()
optional bytes messageManifest = 3;- Specified by:
getMessageManifestin interfaceWireFormats.SerializedMessageOrBuilder- Returns:
- The messageManifest.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
writeToin classorg.apache.pekko.protobufv3.internal.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
equalsin classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
hashCodein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.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, org.apache.pekko.protobufv3.internal.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, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WireFormats.SerializedMessage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static WireFormats.SerializedMessage.Builder newBuilder()
-
newBuilder
public static WireFormats.SerializedMessage.Builder newBuilder(WireFormats.SerializedMessage prototype)
-
toBuilder
public WireFormats.SerializedMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected WireFormats.SerializedMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
public static WireFormats.SerializedMessage getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage> getParserForType()
- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
public WireFormats.SerializedMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-