Package akka.cluster.pubsub.protobuf.msg
Class DistributedPubSubMessages.Send.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Send.Builder>
-
- akka.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Send.Builder
-
- All Implemented Interfaces:
DistributedPubSubMessages.SendOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DistributedPubSubMessages.Send
public static final class DistributedPubSubMessages.Send.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Send.Builder> implements DistributedPubSubMessages.SendOrBuilder
Send normally local, but it is also used by the ClusterClient.
Protobuf typeSend
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedPubSubMessages.Send.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
DistributedPubSubMessages.Send
build()
DistributedPubSubMessages.Send
buildPartial()
DistributedPubSubMessages.Send.Builder
clear()
DistributedPubSubMessages.Send.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
DistributedPubSubMessages.Send.Builder
clearLocalAffinity()
required bool localAffinity = 2;
DistributedPubSubMessages.Send.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
DistributedPubSubMessages.Send.Builder
clearPath()
required string path = 1;
DistributedPubSubMessages.Send.Builder
clearPayload()
required .Payload payload = 3;
DistributedPubSubMessages.Send.Builder
clone()
DistributedPubSubMessages.Send
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
boolean
getLocalAffinity()
required bool localAffinity = 2;
java.lang.String
getPath()
required string path = 1;
akka.protobufv3.internal.ByteString
getPathBytes()
required string path = 1;
DistributedPubSubMessages.Payload
getPayload()
required .Payload payload = 3;
DistributedPubSubMessages.Payload.Builder
getPayloadBuilder()
required .Payload payload = 3;
DistributedPubSubMessages.PayloadOrBuilder
getPayloadOrBuilder()
required .Payload payload = 3;
boolean
hasLocalAffinity()
required bool localAffinity = 2;
boolean
hasPath()
required string path = 1;
boolean
hasPayload()
required .Payload payload = 3;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DistributedPubSubMessages.Send.Builder
mergeFrom(DistributedPubSubMessages.Send other)
DistributedPubSubMessages.Send.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
DistributedPubSubMessages.Send.Builder
mergeFrom(akka.protobufv3.internal.Message other)
DistributedPubSubMessages.Send.Builder
mergePayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
DistributedPubSubMessages.Send.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
DistributedPubSubMessages.Send.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
DistributedPubSubMessages.Send.Builder
setLocalAffinity(boolean value)
required bool localAffinity = 2;
DistributedPubSubMessages.Send.Builder
setPath(java.lang.String value)
required string path = 1;
DistributedPubSubMessages.Send.Builder
setPathBytes(akka.protobufv3.internal.ByteString value)
required string path = 1;
DistributedPubSubMessages.Send.Builder
setPayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
DistributedPubSubMessages.Send.Builder
setPayload(DistributedPubSubMessages.Payload.Builder builderForValue)
required .Payload payload = 3;
DistributedPubSubMessages.Send.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DistributedPubSubMessages.Send.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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.Send.Builder>
-
clear
public DistributedPubSubMessages.Send.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.Send.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.Send.Builder>
-
getDefaultInstanceForType
public DistributedPubSubMessages.Send getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public DistributedPubSubMessages.Send build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public DistributedPubSubMessages.Send buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public DistributedPubSubMessages.Send.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.Send.Builder>
-
setField
public DistributedPubSubMessages.Send.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.Send.Builder>
-
clearField
public DistributedPubSubMessages.Send.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.Send.Builder>
-
clearOneof
public DistributedPubSubMessages.Send.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.Send.Builder>
-
setRepeatedField
public DistributedPubSubMessages.Send.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.Send.Builder>
-
addRepeatedField
public DistributedPubSubMessages.Send.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.Send.Builder>
-
mergeFrom
public DistributedPubSubMessages.Send.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.Send.Builder>
-
mergeFrom
public DistributedPubSubMessages.Send.Builder mergeFrom(DistributedPubSubMessages.Send other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<DistributedPubSubMessages.Send.Builder>
-
mergeFrom
public DistributedPubSubMessages.Send.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.Send.Builder>
- Throws:
java.io.IOException
-
hasPath
public boolean hasPath()
required string path = 1;
- Specified by:
hasPath
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- Whether the path field is set.
-
getPath
public java.lang.String getPath()
required string path = 1;
- Specified by:
getPath
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- The path.
-
getPathBytes
public akka.protobufv3.internal.ByteString getPathBytes()
required string path = 1;
- Specified by:
getPathBytes
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- The bytes for path.
-
setPath
public DistributedPubSubMessages.Send.Builder setPath(java.lang.String value)
required string path = 1;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public DistributedPubSubMessages.Send.Builder clearPath()
required string path = 1;
- Returns:
- This builder for chaining.
-
setPathBytes
public DistributedPubSubMessages.Send.Builder setPathBytes(akka.protobufv3.internal.ByteString value)
required string path = 1;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasLocalAffinity
public boolean hasLocalAffinity()
required bool localAffinity = 2;
- Specified by:
hasLocalAffinity
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- Whether the localAffinity field is set.
-
getLocalAffinity
public boolean getLocalAffinity()
required bool localAffinity = 2;
- Specified by:
getLocalAffinity
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- The localAffinity.
-
setLocalAffinity
public DistributedPubSubMessages.Send.Builder setLocalAffinity(boolean value)
required bool localAffinity = 2;
- Parameters:
value
- The localAffinity to set.- Returns:
- This builder for chaining.
-
clearLocalAffinity
public DistributedPubSubMessages.Send.Builder clearLocalAffinity()
required bool localAffinity = 2;
- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload()
required .Payload payload = 3;
- Specified by:
hasPayload
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public DistributedPubSubMessages.Payload getPayload()
required .Payload payload = 3;
- Specified by:
getPayload
in interfaceDistributedPubSubMessages.SendOrBuilder
- Returns:
- The payload.
-
setPayload
public DistributedPubSubMessages.Send.Builder setPayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
-
setPayload
public DistributedPubSubMessages.Send.Builder setPayload(DistributedPubSubMessages.Payload.Builder builderForValue)
required .Payload payload = 3;
-
mergePayload
public DistributedPubSubMessages.Send.Builder mergePayload(DistributedPubSubMessages.Payload value)
required .Payload payload = 3;
-
clearPayload
public DistributedPubSubMessages.Send.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.SendOrBuilder
-
setUnknownFields
public final DistributedPubSubMessages.Send.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.Send.Builder>
-
mergeUnknownFields
public final DistributedPubSubMessages.Send.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.Send.Builder>
-
-