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:
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 type SerializedMessage
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * 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 Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

    org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite

    org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

    memoizedSize

    Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
     
    org.apache.pekko.protobufv3.internal.ByteString
    required bytes message = 1;
    org.apache.pekko.protobufv3.internal.ByteString
    optional bytes messageManifest = 3;
    org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage>
     
    int
     
    int
    required int32 serializerId = 2;
    int
     
    boolean
    required bytes message = 1;
    boolean
    optional bytes messageManifest = 3;
    boolean
    required int32 serializerId = 2;
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
     
    parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
     
    parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    static org.apache.pekko.protobufv3.internal.Parser<WireFormats.SerializedMessage>
     
     
    void
    writeTo(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

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • SERIALIZERID_FIELD_NUMBER

      public static final int SERIALIZERID_FIELD_NUMBER
      See Also:
    • MESSAGEMANIFEST_FIELD_NUMBER

      public static final int MESSAGEMANIFEST_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasMessage

      public boolean hasMessage()
      required bytes message = 1;
      Specified by:
      hasMessage in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      Whether the message field is set.
    • getMessage

      public org.apache.pekko.protobufv3.internal.ByteString getMessage()
      required bytes message = 1;
      Specified by:
      getMessage in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      The message.
    • hasSerializerId

      public boolean hasSerializerId()
      required int32 serializerId = 2;
      Specified by:
      hasSerializerId in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      Whether the serializerId field is set.
    • getSerializerId

      public int getSerializerId()
      required int32 serializerId = 2;
      Specified by:
      getSerializerId in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      The serializerId.
    • hasMessageManifest

      public boolean hasMessageManifest()
      optional bytes messageManifest = 3;
      Specified by:
      hasMessageManifest in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      Whether the messageManifest field is set.
    • getMessageManifest

      public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest()
      optional bytes messageManifest = 3;
      Specified by:
      getMessageManifest in interface WireFormats.SerializedMessageOrBuilder
      Returns:
      The messageManifest.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • writeTo

      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getSerializedSize in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      equals in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      hashCode in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • parseFrom

      public static WireFormats.SerializedMessage parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static WireFormats.SerializedMessage parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WireFormats.SerializedMessage parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WireFormats.SerializedMessage parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WireFormats.SerializedMessage parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WireFormats.SerializedMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public WireFormats.SerializedMessage.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilder

      public static WireFormats.SerializedMessage.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilderForType

      protected WireFormats.SerializedMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.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:
      getParserForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getParserForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • getDefaultInstanceForType

      public WireFormats.SerializedMessage getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder