Class ReliableDelivery.SequencedMessage.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ReliableDelivery.SequencedMessage.Builder>
-
- akka.cluster.typed.internal.protobuf.ReliableDelivery.SequencedMessage.Builder
-
- All Implemented Interfaces:
ReliableDelivery.SequencedMessageOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ReliableDelivery.SequencedMessage
public static final class ReliableDelivery.SequencedMessage.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ReliableDelivery.SequencedMessage.Builder> implements ReliableDelivery.SequencedMessageOrBuilder
ConsumerController
Protobuf typeakka.cluster.typed.delivery.SequencedMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReliableDelivery.SequencedMessage.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ReliableDelivery.SequencedMessage
build()
ReliableDelivery.SequencedMessage
buildPartial()
ReliableDelivery.SequencedMessage.Builder
clear()
ReliableDelivery.SequencedMessage.Builder
clearAck()
required bool ack = 4;
ReliableDelivery.SequencedMessage.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ReliableDelivery.SequencedMessage.Builder
clearFirst()
required bool first = 3;
ReliableDelivery.SequencedMessage.Builder
clearFirstChunk()
optional bool firstChunk = 7;
ReliableDelivery.SequencedMessage.Builder
clearLastChunk()
optional bool lastChunk = 8;
ReliableDelivery.SequencedMessage.Builder
clearMessage()
required .Payload message = 6;
ReliableDelivery.SequencedMessage.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ReliableDelivery.SequencedMessage.Builder
clearProducerControllerRef()
required string producerControllerRef = 5;
ReliableDelivery.SequencedMessage.Builder
clearProducerId()
required string producerId = 1;
ReliableDelivery.SequencedMessage.Builder
clearSeqNr()
required int64 seqNr = 2;
ReliableDelivery.SequencedMessage.Builder
clone()
boolean
getAck()
required bool ack = 4;
ReliableDelivery.SequencedMessage
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
boolean
getFirst()
required bool first = 3;
boolean
getFirstChunk()
optional bool firstChunk = 7;
boolean
getLastChunk()
optional bool lastChunk = 8;
ContainerFormats.Payload
getMessage()
required .Payload message = 6;
ContainerFormats.Payload.Builder
getMessageBuilder()
required .Payload message = 6;
ContainerFormats.PayloadOrBuilder
getMessageOrBuilder()
required .Payload message = 6;
java.lang.String
getProducerControllerRef()
required string producerControllerRef = 5;
akka.protobufv3.internal.ByteString
getProducerControllerRefBytes()
required string producerControllerRef = 5;
java.lang.String
getProducerId()
required string producerId = 1;
akka.protobufv3.internal.ByteString
getProducerIdBytes()
required string producerId = 1;
long
getSeqNr()
required int64 seqNr = 2;
boolean
hasAck()
required bool ack = 4;
boolean
hasFirst()
required bool first = 3;
boolean
hasFirstChunk()
optional bool firstChunk = 7;
boolean
hasLastChunk()
optional bool lastChunk = 8;
boolean
hasMessage()
required .Payload message = 6;
boolean
hasProducerControllerRef()
required string producerControllerRef = 5;
boolean
hasProducerId()
required string producerId = 1;
boolean
hasSeqNr()
required int64 seqNr = 2;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReliableDelivery.SequencedMessage.Builder
mergeFrom(ReliableDelivery.SequencedMessage other)
ReliableDelivery.SequencedMessage.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ReliableDelivery.SequencedMessage.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ReliableDelivery.SequencedMessage.Builder
mergeMessage(ContainerFormats.Payload value)
required .Payload message = 6;
ReliableDelivery.SequencedMessage.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ReliableDelivery.SequencedMessage.Builder
setAck(boolean value)
required bool ack = 4;
ReliableDelivery.SequencedMessage.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ReliableDelivery.SequencedMessage.Builder
setFirst(boolean value)
required bool first = 3;
ReliableDelivery.SequencedMessage.Builder
setFirstChunk(boolean value)
optional bool firstChunk = 7;
ReliableDelivery.SequencedMessage.Builder
setLastChunk(boolean value)
optional bool lastChunk = 8;
ReliableDelivery.SequencedMessage.Builder
setMessage(ContainerFormats.Payload value)
required .Payload message = 6;
ReliableDelivery.SequencedMessage.Builder
setMessage(ContainerFormats.Payload.Builder builderForValue)
required .Payload message = 6;
ReliableDelivery.SequencedMessage.Builder
setProducerControllerRef(java.lang.String value)
required string producerControllerRef = 5;
ReliableDelivery.SequencedMessage.Builder
setProducerControllerRefBytes(akka.protobufv3.internal.ByteString value)
required string producerControllerRef = 5;
ReliableDelivery.SequencedMessage.Builder
setProducerId(java.lang.String value)
required string producerId = 1;
ReliableDelivery.SequencedMessage.Builder
setProducerIdBytes(akka.protobufv3.internal.ByteString value)
required string producerId = 1;
ReliableDelivery.SequencedMessage.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ReliableDelivery.SequencedMessage.Builder
setSeqNr(long value)
required int64 seqNr = 2;
ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
clear
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
getDefaultInstanceForType
public ReliableDelivery.SequencedMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ReliableDelivery.SequencedMessage build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ReliableDelivery.SequencedMessage buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
setField
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
clearField
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
clearOneof
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
setRepeatedField
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
addRepeatedField
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
-
mergeFrom
public ReliableDelivery.SequencedMessage.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ReliableDelivery.SequencedMessage.Builder>
-
mergeFrom
public ReliableDelivery.SequencedMessage.Builder mergeFrom(ReliableDelivery.SequencedMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReliableDelivery.SequencedMessage.Builder>
-
mergeFrom
public ReliableDelivery.SequencedMessage.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<ReliableDelivery.SequencedMessage.Builder>
- Throws:
java.io.IOException
-
hasProducerId
public boolean hasProducerId()
required string producerId = 1;
- Specified by:
hasProducerId
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the producerId field is set.
-
getProducerId
public java.lang.String getProducerId()
required string producerId = 1;
- Specified by:
getProducerId
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The producerId.
-
getProducerIdBytes
public akka.protobufv3.internal.ByteString getProducerIdBytes()
required string producerId = 1;
- Specified by:
getProducerIdBytes
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The bytes for producerId.
-
setProducerId
public ReliableDelivery.SequencedMessage.Builder setProducerId(java.lang.String value)
required string producerId = 1;
- Parameters:
value
- The producerId to set.- Returns:
- This builder for chaining.
-
clearProducerId
public ReliableDelivery.SequencedMessage.Builder clearProducerId()
required string producerId = 1;
- Returns:
- This builder for chaining.
-
setProducerIdBytes
public ReliableDelivery.SequencedMessage.Builder setProducerIdBytes(akka.protobufv3.internal.ByteString value)
required string producerId = 1;
- Parameters:
value
- The bytes for producerId to set.- Returns:
- This builder for chaining.
-
hasSeqNr
public boolean hasSeqNr()
required int64 seqNr = 2;
- Specified by:
hasSeqNr
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the seqNr field is set.
-
getSeqNr
public long getSeqNr()
required int64 seqNr = 2;
- Specified by:
getSeqNr
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The seqNr.
-
setSeqNr
public ReliableDelivery.SequencedMessage.Builder setSeqNr(long value)
required int64 seqNr = 2;
- Parameters:
value
- The seqNr to set.- Returns:
- This builder for chaining.
-
clearSeqNr
public ReliableDelivery.SequencedMessage.Builder clearSeqNr()
required int64 seqNr = 2;
- Returns:
- This builder for chaining.
-
hasFirst
public boolean hasFirst()
required bool first = 3;
- Specified by:
hasFirst
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the first field is set.
-
getFirst
public boolean getFirst()
required bool first = 3;
- Specified by:
getFirst
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The first.
-
setFirst
public ReliableDelivery.SequencedMessage.Builder setFirst(boolean value)
required bool first = 3;
- Parameters:
value
- The first to set.- Returns:
- This builder for chaining.
-
clearFirst
public ReliableDelivery.SequencedMessage.Builder clearFirst()
required bool first = 3;
- Returns:
- This builder for chaining.
-
hasAck
public boolean hasAck()
required bool ack = 4;
- Specified by:
hasAck
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the ack field is set.
-
getAck
public boolean getAck()
required bool ack = 4;
- Specified by:
getAck
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The ack.
-
setAck
public ReliableDelivery.SequencedMessage.Builder setAck(boolean value)
required bool ack = 4;
- Parameters:
value
- The ack to set.- Returns:
- This builder for chaining.
-
clearAck
public ReliableDelivery.SequencedMessage.Builder clearAck()
required bool ack = 4;
- Returns:
- This builder for chaining.
-
hasProducerControllerRef
public boolean hasProducerControllerRef()
required string producerControllerRef = 5;
- Specified by:
hasProducerControllerRef
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the producerControllerRef field is set.
-
getProducerControllerRef
public java.lang.String getProducerControllerRef()
required string producerControllerRef = 5;
- Specified by:
getProducerControllerRef
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The producerControllerRef.
-
getProducerControllerRefBytes
public akka.protobufv3.internal.ByteString getProducerControllerRefBytes()
required string producerControllerRef = 5;
- Specified by:
getProducerControllerRefBytes
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The bytes for producerControllerRef.
-
setProducerControllerRef
public ReliableDelivery.SequencedMessage.Builder setProducerControllerRef(java.lang.String value)
required string producerControllerRef = 5;
- Parameters:
value
- The producerControllerRef to set.- Returns:
- This builder for chaining.
-
clearProducerControllerRef
public ReliableDelivery.SequencedMessage.Builder clearProducerControllerRef()
required string producerControllerRef = 5;
- Returns:
- This builder for chaining.
-
setProducerControllerRefBytes
public ReliableDelivery.SequencedMessage.Builder setProducerControllerRefBytes(akka.protobufv3.internal.ByteString value)
required string producerControllerRef = 5;
- Parameters:
value
- The bytes for producerControllerRef to set.- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()
required .Payload message = 6;
- Specified by:
hasMessage
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
public ContainerFormats.Payload getMessage()
required .Payload message = 6;
- Specified by:
getMessage
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The message.
-
setMessage
public ReliableDelivery.SequencedMessage.Builder setMessage(ContainerFormats.Payload value)
required .Payload message = 6;
-
setMessage
public ReliableDelivery.SequencedMessage.Builder setMessage(ContainerFormats.Payload.Builder builderForValue)
required .Payload message = 6;
-
mergeMessage
public ReliableDelivery.SequencedMessage.Builder mergeMessage(ContainerFormats.Payload value)
required .Payload message = 6;
-
clearMessage
public ReliableDelivery.SequencedMessage.Builder clearMessage()
required .Payload message = 6;
-
getMessageBuilder
public ContainerFormats.Payload.Builder getMessageBuilder()
required .Payload message = 6;
-
getMessageOrBuilder
public ContainerFormats.PayloadOrBuilder getMessageOrBuilder()
required .Payload message = 6;
- Specified by:
getMessageOrBuilder
in interfaceReliableDelivery.SequencedMessageOrBuilder
-
hasFirstChunk
public boolean hasFirstChunk()
optional bool firstChunk = 7;
- Specified by:
hasFirstChunk
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the firstChunk field is set.
-
getFirstChunk
public boolean getFirstChunk()
optional bool firstChunk = 7;
- Specified by:
getFirstChunk
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The firstChunk.
-
setFirstChunk
public ReliableDelivery.SequencedMessage.Builder setFirstChunk(boolean value)
optional bool firstChunk = 7;
- Parameters:
value
- The firstChunk to set.- Returns:
- This builder for chaining.
-
clearFirstChunk
public ReliableDelivery.SequencedMessage.Builder clearFirstChunk()
optional bool firstChunk = 7;
- Returns:
- This builder for chaining.
-
hasLastChunk
public boolean hasLastChunk()
optional bool lastChunk = 8;
- Specified by:
hasLastChunk
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- Whether the lastChunk field is set.
-
getLastChunk
public boolean getLastChunk()
optional bool lastChunk = 8;
- Specified by:
getLastChunk
in interfaceReliableDelivery.SequencedMessageOrBuilder
- Returns:
- The lastChunk.
-
setLastChunk
public ReliableDelivery.SequencedMessage.Builder setLastChunk(boolean value)
optional bool lastChunk = 8;
- Parameters:
value
- The lastChunk to set.- Returns:
- This builder for chaining.
-
clearLastChunk
public ReliableDelivery.SequencedMessage.Builder clearLastChunk()
optional bool lastChunk = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReliableDelivery.SequencedMessage.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReliableDelivery.SequencedMessage.Builder>
-
mergeUnknownFields
public final ReliableDelivery.SequencedMessage.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReliableDelivery.SequencedMessage.Builder>
-
-