Package akka.cluster.pubsub.protobuf.msg
Class DistributedPubSubMessages.Publish.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
- akka.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Publish.Builder
-
- All Implemented Interfaces:
DistributedPubSubMessages.PublishOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DistributedPubSubMessages.Publish
public static final class DistributedPubSubMessages.Publish.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder> implements DistributedPubSubMessages.PublishOrBuilder
Publish normally local.
Protobuf typePublish
-
-
Method Summary
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
clear
public DistributedPubSubMessages.Publish.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
getDefaultInstanceForType
public DistributedPubSubMessages.Publish getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public DistributedPubSubMessages.Publish build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public DistributedPubSubMessages.Publish buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public DistributedPubSubMessages.Publish.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
setField
public DistributedPubSubMessages.Publish.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
clearField
public DistributedPubSubMessages.Publish.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
clearOneof
public DistributedPubSubMessages.Publish.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
setRepeatedField
public DistributedPubSubMessages.Publish.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
addRepeatedField
public DistributedPubSubMessages.Publish.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
mergeFrom
public DistributedPubSubMessages.Publish.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<DistributedPubSubMessages.Publish.Builder>
-
mergeFrom
public DistributedPubSubMessages.Publish.Builder mergeFrom(DistributedPubSubMessages.Publish other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
mergeFrom
public DistributedPubSubMessages.Publish.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<DistributedPubSubMessages.Publish.Builder>
- Throws:
java.io.IOException
-
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 akka.protobufv3.internal.ByteString getTopicBytes()
required string topic = 1;
- Specified by:
getTopicBytes
in interfaceDistributedPubSubMessages.PublishOrBuilder
- Returns:
- The bytes for topic.
-
setTopic
public DistributedPubSubMessages.Publish.Builder setTopic(java.lang.String value)
required string topic = 1;
- Parameters:
value
- The topic to set.- Returns:
- This builder for chaining.
-
clearTopic
public DistributedPubSubMessages.Publish.Builder clearTopic()
required string topic = 1;
- Returns:
- This builder for chaining.
-
setTopicBytes
public DistributedPubSubMessages.Publish.Builder setTopicBytes(akka.protobufv3.internal.ByteString value)
required string topic = 1;
- Parameters:
value
- The bytes for topic to set.- Returns:
- This builder for chaining.
-
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.
-
setPayload
public DistributedPubSubMessages.Publish.Builder setPayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
-
setPayload
public DistributedPubSubMessages.Publish.Builder setPayload(DistributedPubSubMessages.Payload.Builder builderForValue)
required .Payload payload = 3;
-
mergePayload
public DistributedPubSubMessages.Publish.Builder mergePayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
-
clearPayload
public DistributedPubSubMessages.Publish.Builder clearPayload()
required .Payload payload = 3;
-
getPayloadBuilder
public DistributedPubSubMessages.Payload.Builder getPayloadBuilder()
required .Payload payload = 3;
-
getPayloadOrBuilder
public DistributedPubSubMessages.PayloadOrBuilder getPayloadOrBuilder()
required .Payload payload = 3;
- Specified by:
getPayloadOrBuilder
in interfaceDistributedPubSubMessages.PublishOrBuilder
-
setUnknownFields
public final DistributedPubSubMessages.Publish.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
mergeUnknownFields
public final DistributedPubSubMessages.Publish.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Publish.Builder>
-
-