Package org.apache.pekko.remote
Class WireFormats.RemoteEnvelope
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.RemoteEnvelope
- 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.RemoteEnvelopeOrBuilder
- Enclosing class:
- WireFormats
public static final class WireFormats.RemoteEnvelope
extends org.apache.pekko.protobufv3.internal.GeneratedMessage
implements WireFormats.RemoteEnvelopeOrBuilder
* Defines a remote message.Protobuf type
RemoteEnvelope
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
* Defines a remote 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
FieldsModifier and TypeFieldDescriptionstatic final int
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 TypeMethodDescriptionboolean
static WireFormats.RemoteEnvelope
static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
required .SerializedMessage message = 2;
required .SerializedMessage message = 2;
org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope>
required .ActorRefData recipient = 1;
required .ActorRefData recipient = 1;
optional .ActorRefData sender = 4;
optional .ActorRefData sender = 4;
long
getSeq()
optional fixed64 seq = 5;
int
int
hashCode()
boolean
required .SerializedMessage message = 2;
boolean
required .ActorRefData recipient = 1;
boolean
optional .ActorRefData sender = 4;
boolean
hasSeq()
optional fixed64 seq = 5;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(WireFormats.RemoteEnvelope prototype) protected WireFormats.RemoteEnvelope.Builder
newBuilderForType
(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) static WireFormats.RemoteEnvelope
parseDelimitedFrom
(InputStream input) static WireFormats.RemoteEnvelope
parseDelimitedFrom
(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static WireFormats.RemoteEnvelope
parseFrom
(byte[] data) static WireFormats.RemoteEnvelope
parseFrom
(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static WireFormats.RemoteEnvelope
parseFrom
(InputStream input) static WireFormats.RemoteEnvelope
parseFrom
(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static WireFormats.RemoteEnvelope
parseFrom
(ByteBuffer data) static WireFormats.RemoteEnvelope
parseFrom
(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static WireFormats.RemoteEnvelope
parseFrom
(org.apache.pekko.protobufv3.internal.ByteString data) static WireFormats.RemoteEnvelope
parseFrom
(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static WireFormats.RemoteEnvelope
parseFrom
(org.apache.pekko.protobufv3.internal.CodedInputStream input) static WireFormats.RemoteEnvelope
parseFrom
(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope>
parser()
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
-
RECIPIENT_FIELD_NUMBER
public static final int RECIPIENT_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
SENDER_FIELD_NUMBER
public static final int SENDER_FIELD_NUMBER- See Also:
-
SEQ_FIELD_NUMBER
public static final int SEQ_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 classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasRecipient
public boolean hasRecipient()required .ActorRefData recipient = 1;
- Specified by:
hasRecipient
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- Whether the recipient field is set.
-
getRecipient
required .ActorRefData recipient = 1;
- Specified by:
getRecipient
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The recipient.
-
getRecipientOrBuilder
required .ActorRefData recipient = 1;
- Specified by:
getRecipientOrBuilder
in interfaceWireFormats.RemoteEnvelopeOrBuilder
-
hasMessage
public boolean hasMessage()required .SerializedMessage message = 2;
- Specified by:
hasMessage
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
required .SerializedMessage message = 2;
- Specified by:
getMessage
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The message.
-
getMessageOrBuilder
required .SerializedMessage message = 2;
- Specified by:
getMessageOrBuilder
in interfaceWireFormats.RemoteEnvelopeOrBuilder
-
hasSender
public boolean hasSender()optional .ActorRefData sender = 4;
- Specified by:
hasSender
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- Whether the sender field is set.
-
getSender
optional .ActorRefData sender = 4;
- Specified by:
getSender
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The sender.
-
getSenderOrBuilder
optional .ActorRefData sender = 4;
- Specified by:
getSenderOrBuilder
in interfaceWireFormats.RemoteEnvelopeOrBuilder
-
hasSeq
public boolean hasSeq()optional fixed64 seq = 5;
- Specified by:
hasSeq
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- Whether the seq field is set.
-
getSeq
public long getSeq()optional fixed64 seq = 5;
- Specified by:
getSeq
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The seq.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
- Specified by:
equals
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
equals
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
hashCode
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.RemoteEnvelope 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.RemoteEnvelope 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.RemoteEnvelope 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.RemoteEnvelope parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.RemoteEnvelope 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
- Throws:
IOException
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WireFormats.RemoteEnvelope parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected WireFormats.RemoteEnvelope.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getParserForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-