Class WireFormats.PekkoControlMessage

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.PekkoControlMessage
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.PekkoControlMessageOrBuilder
Enclosing class:
WireFormats

public static final class WireFormats.PekkoControlMessage extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements WireFormats.PekkoControlMessageOrBuilder
 *
 Defines some control messages for the remoting
 
Protobuf type PekkoControlMessage
See Also:
  • Field Details

    • COMMANDTYPE_FIELD_NUMBER

      public static final int COMMANDTYPE_FIELD_NUMBER
      See Also:
    • HANDSHAKEINFO_FIELD_NUMBER

      public static final int HANDSHAKEINFO_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
    • hasCommandType

      public boolean hasCommandType()
      required .CommandType commandType = 1;
      Specified by:
      hasCommandType in interface WireFormats.PekkoControlMessageOrBuilder
      Returns:
      Whether the commandType field is set.
    • getCommandType

      public WireFormats.CommandType getCommandType()
      required .CommandType commandType = 1;
      Specified by:
      getCommandType in interface WireFormats.PekkoControlMessageOrBuilder
      Returns:
      The commandType.
    • hasHandshakeInfo

      public boolean hasHandshakeInfo()
      optional .PekkoHandshakeInfo handshakeInfo = 2;
      Specified by:
      hasHandshakeInfo in interface WireFormats.PekkoControlMessageOrBuilder
      Returns:
      Whether the handshakeInfo field is set.
    • getHandshakeInfo

      public WireFormats.PekkoHandshakeInfo getHandshakeInfo()
      optional .PekkoHandshakeInfo handshakeInfo = 2;
      Specified by:
      getHandshakeInfo in interface WireFormats.PekkoControlMessageOrBuilder
      Returns:
      The handshakeInfo.
    • getHandshakeInfoOrBuilder

      public WireFormats.PekkoHandshakeInfoOrBuilder getHandshakeInfoOrBuilder()
      optional .PekkoHandshakeInfo handshakeInfo = 2;
      Specified by:
      getHandshakeInfoOrBuilder in interface WireFormats.PekkoControlMessageOrBuilder
    • 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.PekkoControlMessage parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public WireFormats.PekkoControlMessage.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.PekkoControlMessage.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.PekkoControlMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static WireFormats.PekkoControlMessage getDefaultInstance()
    • parser

      public static org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoControlMessage> parser()
    • getParserForType

      public org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoControlMessage> 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.PekkoControlMessage getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder