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.GeneratedMessageV3
-
- org.apache.pekko.remote.WireFormats.RemoteEnvelope
-
- 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.RemoteEnvelopeOrBuilder
- Enclosing class:
- WireFormats
public static final class WireFormats.RemoteEnvelope extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements WireFormats.RemoteEnvelopeOrBuilder
Defines a remote message.
Protobuf typeRemoteEnvelope
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WireFormats.RemoteEnvelope.Builder
Defines a remote message.-
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<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
MESSAGE_FIELD_NUMBER
static org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope>
PARSER
Deprecated.static int
RECIPIENT_FIELD_NUMBER
static int
SENDER_FIELD_NUMBER
static int
SEQ_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static WireFormats.RemoteEnvelope
getDefaultInstance()
WireFormats.RemoteEnvelope
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
WireFormats.SerializedMessage
getMessage()
required .SerializedMessage message = 2;
WireFormats.SerializedMessageOrBuilder
getMessageOrBuilder()
required .SerializedMessage message = 2;
org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope>
getParserForType()
WireFormats.ActorRefData
getRecipient()
required .ActorRefData recipient = 1;
WireFormats.ActorRefDataOrBuilder
getRecipientOrBuilder()
required .ActorRefData recipient = 1;
WireFormats.ActorRefData
getSender()
optional .ActorRefData sender = 4;
WireFormats.ActorRefDataOrBuilder
getSenderOrBuilder()
optional .ActorRefData sender = 4;
long
getSeq()
optional fixed64 seq = 5;
int
getSerializedSize()
int
hashCode()
boolean
hasMessage()
required .SerializedMessage message = 2;
boolean
hasRecipient()
required .ActorRefData recipient = 1;
boolean
hasSender()
optional .ActorRefData sender = 4;
boolean
hasSeq()
optional fixed64 seq = 5;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static WireFormats.RemoteEnvelope.Builder
newBuilder()
static WireFormats.RemoteEnvelope.Builder
newBuilder(WireFormats.RemoteEnvelope prototype)
WireFormats.RemoteEnvelope.Builder
newBuilderForType()
protected WireFormats.RemoteEnvelope.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
static WireFormats.RemoteEnvelope
parseDelimitedFrom(java.io.InputStream input)
static WireFormats.RemoteEnvelope
parseDelimitedFrom(java.io.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(java.io.InputStream input)
static WireFormats.RemoteEnvelope
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static WireFormats.RemoteEnvelope
parseFrom(java.nio.ByteBuffer data)
static WireFormats.RemoteEnvelope
parseFrom(java.nio.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()
WireFormats.RemoteEnvelope.Builder
toBuilder()
void
writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
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, 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
-
RECIPIENT_FIELD_NUMBER
public static final int RECIPIENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENDER_FIELD_NUMBER
public static final int SENDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQ_FIELD_NUMBER
public static final int SEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in 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:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
hasRecipient
public boolean hasRecipient()
required .ActorRefData recipient = 1;
- Specified by:
hasRecipient
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- Whether the recipient field is set.
-
getRecipient
public WireFormats.ActorRefData getRecipient()
required .ActorRefData recipient = 1;
- Specified by:
getRecipient
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The recipient.
-
getRecipientOrBuilder
public WireFormats.ActorRefDataOrBuilder 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
public WireFormats.SerializedMessage getMessage()
required .SerializedMessage message = 2;
- Specified by:
getMessage
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The message.
-
getMessageOrBuilder
public WireFormats.SerializedMessageOrBuilder 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
public WireFormats.ActorRefData getSender()
optional .ActorRefData sender = 4;
- Specified by:
getSender
in interfaceWireFormats.RemoteEnvelopeOrBuilder
- Returns:
- The sender.
-
getSenderOrBuilder
public WireFormats.ActorRefDataOrBuilder 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.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static WireFormats.RemoteEnvelope 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.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
public static WireFormats.RemoteEnvelope parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.RemoteEnvelope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WireFormats.RemoteEnvelope parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.RemoteEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WireFormats.RemoteEnvelope 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.RemoteEnvelope.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static WireFormats.RemoteEnvelope.Builder newBuilder()
-
newBuilder
public static WireFormats.RemoteEnvelope.Builder newBuilder(WireFormats.RemoteEnvelope prototype)
-
toBuilder
public WireFormats.RemoteEnvelope.Builder 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.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static WireFormats.RemoteEnvelope getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<WireFormats.RemoteEnvelope> 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.GeneratedMessageV3
-
getDefaultInstanceForType
public WireFormats.RemoteEnvelope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-