Class DistributedPubSubMessages.Publish
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
- org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Publish
-
- All Implemented Interfaces:
java.io.Serializable
,DistributedPubSubMessages.PublishOrBuilder
,org.apache.pekko.protobufv3.internal.Message
,org.apache.pekko.protobufv3.internal.MessageLite
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- DistributedPubSubMessages
public static final class DistributedPubSubMessages.Publish extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3 implements DistributedPubSubMessages.PublishOrBuilder
Publish normally local, but it is also used by the ClusterClient.
Protobuf typePublish
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributedPubSubMessages.Publish.Builder
Publish normally local, but it is also used by the ClusterClient.-
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 org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish>
PARSER
Deprecated.static int
PAYLOAD_FIELD_NUMBER
static int
TOPIC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static DistributedPubSubMessages.Publish
getDefaultInstance()
DistributedPubSubMessages.Publish
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish>
getParserForType()
DistributedPubSubMessages.Payload
getPayload()
required .Payload payload = 3;
DistributedPubSubMessages.PayloadOrBuilder
getPayloadOrBuilder()
required .Payload payload = 3;
int
getSerializedSize()
java.lang.String
getTopic()
required string topic = 1;
org.apache.pekko.protobufv3.internal.ByteString
getTopicBytes()
required string topic = 1;
org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasPayload()
required .Payload payload = 3;
boolean
hasTopic()
required string topic = 1;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DistributedPubSubMessages.Publish.Builder
newBuilder()
static DistributedPubSubMessages.Publish.Builder
newBuilder(DistributedPubSubMessages.Publish prototype)
DistributedPubSubMessages.Publish.Builder
newBuilderForType()
protected DistributedPubSubMessages.Publish.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
static DistributedPubSubMessages.Publish
parseDelimitedFrom(java.io.InputStream input)
static DistributedPubSubMessages.Publish
parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static DistributedPubSubMessages.Publish
parseFrom(byte[] data)
static DistributedPubSubMessages.Publish
parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static DistributedPubSubMessages.Publish
parseFrom(java.io.InputStream input)
static DistributedPubSubMessages.Publish
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static DistributedPubSubMessages.Publish
parseFrom(java.nio.ByteBuffer data)
static DistributedPubSubMessages.Publish
parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static DistributedPubSubMessages.Publish
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
static DistributedPubSubMessages.Publish
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static DistributedPubSubMessages.Publish
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
static DistributedPubSubMessages.Publish
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish>
parser()
DistributedPubSubMessages.Publish.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, 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
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish> 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
-
getUnknownFields
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getUnknownFields
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
-
hasTopic
public boolean hasTopic()
required string topic = 1;
- Specified by:
hasTopic
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- Whether the topic field is set.
-
getTopic
public java.lang.String getTopic()
required string topic = 1;
- Specified by:
getTopic
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- The topic.
-
getTopicBytes
public org.apache.pekko.protobufv3.internal.ByteString getTopicBytes()
required string topic = 1;
- Specified by:
getTopicBytes
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- The bytes for topic.
-
hasPayload
public boolean hasPayload()
required .Payload payload = 3;
- Specified by:
hasPayload
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public DistributedPubSubMessages.Payload getPayload()
required .Payload payload = 3;
- Specified by:
getPayload
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
public DistributedPubSubMessages.PayloadOrBuilder getPayloadOrBuilder()
required .Payload payload = 3;
- Specified by:
getPayloadOrBuilder
in interfaceDistributedPubSubMessages.PublishOrBuilder
-
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 DistributedPubSubMessages.Publish parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static DistributedPubSubMessages.Publish 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 DistributedPubSubMessages.Publish 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 DistributedPubSubMessages.Publish 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 DistributedPubSubMessages.Publish parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static DistributedPubSubMessages.Publish 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 DistributedPubSubMessages.Publish parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DistributedPubSubMessages.Publish parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DistributedPubSubMessages.Publish parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DistributedPubSubMessages.Publish parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DistributedPubSubMessages.Publish parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DistributedPubSubMessages.Publish 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 DistributedPubSubMessages.Publish.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 DistributedPubSubMessages.Publish.Builder newBuilder()
-
newBuilder
public static DistributedPubSubMessages.Publish.Builder newBuilder(DistributedPubSubMessages.Publish prototype)
-
toBuilder
public DistributedPubSubMessages.Publish.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected DistributedPubSubMessages.Publish.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static DistributedPubSubMessages.Publish getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<DistributedPubSubMessages.Publish> 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 DistributedPubSubMessages.Publish getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-