Class WireFormats.PekkoProtocolMessage

  • 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.PekkoProtocolMessageOrBuilder
    Enclosing class:
    WireFormats

    public static final class WireFormats.PekkoProtocolMessage
    extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3
    implements WireFormats.PekkoProtocolMessageOrBuilder
    
     Message format of Pekko Protocol.
     Message contains either a payload or an instruction.
     
    Protobuf type PekkoProtocolMessage
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WireFormats.PekkoProtocolMessage.Builder
      Message format of Pekko Protocol.
      • Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3

        org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage,​BuilderType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
      • 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 int INSTRUCTION_FIELD_NUMBER  
      static org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage> PARSER
      Deprecated.
      static int PAYLOAD_FIELD_NUMBER  
      • Fields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

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

        memoizedHashCode
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
      • getUnknownFields

        public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
      • getDescriptor

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

        protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • writeTo

        public void writeTo​(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
        Overrides:
        writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
        Throws:
        java.io.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.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.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.PekkoProtocolMessage parseFrom​(java.nio.ByteBuffer data)
                                                          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
        Throws:
        org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      • parseFrom

        public static WireFormats.PekkoProtocolMessage 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.PekkoProtocolMessage 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.PekkoProtocolMessage 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.PekkoProtocolMessage parseFrom​(byte[] data)
                                                          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
        Throws:
        org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      • parseFrom

        public static WireFormats.PekkoProtocolMessage 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.PekkoProtocolMessage parseFrom​(java.io.InputStream input,
                                                                 org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static WireFormats.PekkoProtocolMessage parseDelimitedFrom​(java.io.InputStream input)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static WireFormats.PekkoProtocolMessage parseFrom​(org.apache.pekko.protobufv3.internal.CodedInputStream input)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WireFormats.PekkoProtocolMessage 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.PekkoProtocolMessage.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
        Specified by:
        newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      • toBuilder

        public WireFormats.PekkoProtocolMessage.Builder 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.PekkoProtocolMessage.Builder newBuilderForType​(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
      • getParserForType

        public org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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