Package org.apache.pekko.remote
Class WireFormats.PekkoProtocolMessage
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
- org.apache.pekko.remote.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 typePekkoProtocolMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWireFormats.PekkoProtocolMessage.BuilderMessage 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
-
-
Field Summary
Fields Modifier and Type Field Description static intINSTRUCTION_FIELD_NUMBERstatic org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage>PARSERDeprecated.static intPAYLOAD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static WireFormats.PekkoProtocolMessagegetDefaultInstance()WireFormats.PekkoProtocolMessagegetDefaultInstanceForType()static org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptor()WireFormats.PekkoControlMessagegetInstruction()optional .PekkoControlMessage instruction = 2;WireFormats.PekkoControlMessageOrBuildergetInstructionOrBuilder()optional .PekkoControlMessage instruction = 2;org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage>getParserForType()org.apache.pekko.protobufv3.internal.ByteStringgetPayload()optional bytes payload = 1;intgetSerializedSize()org.apache.pekko.protobufv3.internal.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasInstruction()optional .PekkoControlMessage instruction = 2;booleanhasPayload()optional bytes payload = 1;protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WireFormats.PekkoProtocolMessage.BuildernewBuilder()static WireFormats.PekkoProtocolMessage.BuildernewBuilder(WireFormats.PekkoProtocolMessage prototype)WireFormats.PekkoProtocolMessage.BuildernewBuilderForType()protected WireFormats.PekkoProtocolMessage.BuildernewBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)static WireFormats.PekkoProtocolMessageparseDelimitedFrom(java.io.InputStream input)static WireFormats.PekkoProtocolMessageparseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.PekkoProtocolMessageparseFrom(byte[] data)static WireFormats.PekkoProtocolMessageparseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.PekkoProtocolMessageparseFrom(java.io.InputStream input)static WireFormats.PekkoProtocolMessageparseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.PekkoProtocolMessageparseFrom(java.nio.ByteBuffer data)static WireFormats.PekkoProtocolMessageparseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.PekkoProtocolMessageparseFrom(org.apache.pekko.protobufv3.internal.ByteString data)static WireFormats.PekkoProtocolMessageparseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static WireFormats.PekkoProtocolMessageparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)static WireFormats.PekkoProtocolMessageparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage>parser()WireFormats.PekkoProtocolMessage.BuildertoBuilder()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTRUCTION_FIELD_NUMBER
public static final int INSTRUCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getUnknownFields
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder- Overrides:
getUnknownFieldsin classorg.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:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
hasPayload
public boolean hasPayload()
optional bytes payload = 1;- Specified by:
hasPayloadin interfaceWireFormats.PekkoProtocolMessageOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public org.apache.pekko.protobufv3.internal.ByteString getPayload()
optional bytes payload = 1;- Specified by:
getPayloadin interfaceWireFormats.PekkoProtocolMessageOrBuilder- Returns:
- The payload.
-
hasInstruction
public boolean hasInstruction()
optional .PekkoControlMessage instruction = 2;- Specified by:
hasInstructionin interfaceWireFormats.PekkoProtocolMessageOrBuilder- Returns:
- Whether the instruction field is set.
-
getInstruction
public WireFormats.PekkoControlMessage getInstruction()
optional .PekkoControlMessage instruction = 2;- Specified by:
getInstructionin interfaceWireFormats.PekkoProtocolMessageOrBuilder- Returns:
- The instruction.
-
getInstructionOrBuilder
public WireFormats.PekkoControlMessageOrBuilder getInstructionOrBuilder()
optional .PekkoControlMessage instruction = 2;- Specified by:
getInstructionOrBuilderin interfaceWireFormats.PekkoProtocolMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
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.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
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.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) throws java.io.IOException
- Throws:
java.io.IOException
-
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:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static WireFormats.PekkoProtocolMessage.Builder newBuilder()
-
newBuilder
public static WireFormats.PekkoProtocolMessage.Builder newBuilder(WireFormats.PekkoProtocolMessage prototype)
-
toBuilder
public WireFormats.PekkoProtocolMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected WireFormats.PekkoProtocolMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static WireFormats.PekkoProtocolMessage getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<WireFormats.PekkoProtocolMessage> 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.GeneratedMessageV3
-
getDefaultInstanceForType
public WireFormats.PekkoProtocolMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-