Class ReplicatedEventSourcing.PublishedEvent.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatedEventSourcing.PublishedEvent.Builder>
-
- akka.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent.Builder
-
- All Implemented Interfaces:
ReplicatedEventSourcing.PublishedEventOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ReplicatedEventSourcing.PublishedEvent
public static final class ReplicatedEventSourcing.PublishedEvent.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatedEventSourcing.PublishedEvent.Builder> implements ReplicatedEventSourcing.PublishedEventOrBuilder
Protobuf typePublishedEvent
-
-
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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
clear
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
getDefaultInstanceForType
public ReplicatedEventSourcing.PublishedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ReplicatedEventSourcing.PublishedEvent build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ReplicatedEventSourcing.PublishedEvent buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
setField
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
clearField
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
clearOneof
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
setRepeatedField
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
addRepeatedField
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
-
mergeFrom
public ReplicatedEventSourcing.PublishedEvent.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ReplicatedEventSourcing.PublishedEvent.Builder>
-
mergeFrom
public ReplicatedEventSourcing.PublishedEvent.Builder mergeFrom(ReplicatedEventSourcing.PublishedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatedEventSourcing.PublishedEvent.Builder>
-
mergeFrom
public ReplicatedEventSourcing.PublishedEvent.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<ReplicatedEventSourcing.PublishedEvent.Builder>
- Throws:
java.io.IOException
-
hasPersistenceId
public boolean hasPersistenceId()
optional string persistenceId = 1;
- Specified by:
hasPersistenceId
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
public java.lang.String getPersistenceId()
optional string persistenceId = 1;
- Specified by:
getPersistenceId
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public akka.protobufv3.internal.ByteString getPersistenceIdBytes()
optional string persistenceId = 1;
- Specified by:
getPersistenceIdBytes
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The bytes for persistenceId.
-
setPersistenceId
public ReplicatedEventSourcing.PublishedEvent.Builder setPersistenceId(java.lang.String value)
optional string persistenceId = 1;
- Parameters:
value
- The persistenceId to set.- Returns:
- This builder for chaining.
-
clearPersistenceId
public ReplicatedEventSourcing.PublishedEvent.Builder clearPersistenceId()
optional string persistenceId = 1;
- Returns:
- This builder for chaining.
-
setPersistenceIdBytes
public ReplicatedEventSourcing.PublishedEvent.Builder setPersistenceIdBytes(akka.protobufv3.internal.ByteString value)
optional string persistenceId = 1;
- Parameters:
value
- The bytes for persistenceId to set.- Returns:
- This builder for chaining.
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The sequenceNr.
-
setSequenceNr
public ReplicatedEventSourcing.PublishedEvent.Builder setSequenceNr(long value)
optional int64 sequenceNr = 2;
- Parameters:
value
- The sequenceNr to set.- Returns:
- This builder for chaining.
-
clearSequenceNr
public ReplicatedEventSourcing.PublishedEvent.Builder clearSequenceNr()
optional int64 sequenceNr = 2;
- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload()
optional .Payload payload = 3;
- Specified by:
hasPayload
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public ContainerFormats.Payload getPayload()
optional .Payload payload = 3;
- Specified by:
getPayload
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The payload.
-
setPayload
public ReplicatedEventSourcing.PublishedEvent.Builder setPayload(ContainerFormats.Payload value)
optional .Payload payload = 3;
-
setPayload
public ReplicatedEventSourcing.PublishedEvent.Builder setPayload(ContainerFormats.Payload.Builder builderForValue)
optional .Payload payload = 3;
-
mergePayload
public ReplicatedEventSourcing.PublishedEvent.Builder mergePayload(ContainerFormats.Payload value)
optional .Payload payload = 3;
-
clearPayload
public ReplicatedEventSourcing.PublishedEvent.Builder clearPayload()
optional .Payload payload = 3;
-
getPayloadBuilder
public ContainerFormats.Payload.Builder getPayloadBuilder()
optional .Payload payload = 3;
-
getPayloadOrBuilder
public ContainerFormats.PayloadOrBuilder getPayloadOrBuilder()
optional .Payload payload = 3;
- Specified by:
getPayloadOrBuilder
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
optional int64 timestamp = 4;
- Specified by:
hasTimestamp
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
optional int64 timestamp = 4;
- Specified by:
getTimestamp
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
public ReplicatedEventSourcing.PublishedEvent.Builder setTimestamp(long value)
optional int64 timestamp = 4;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
public ReplicatedEventSourcing.PublishedEvent.Builder clearTimestamp()
optional int64 timestamp = 4;
- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
hasMetadata
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaData getMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
getMetadata
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The metadata.
-
setMetadata
public ReplicatedEventSourcing.PublishedEvent.Builder setMetadata(ReplicatedEventSourcing.ReplicatedPublishedEventMetaData value)
optional .ReplicatedPublishedEventMetaData metadata = 5;
-
setMetadata
public ReplicatedEventSourcing.PublishedEvent.Builder setMetadata(ReplicatedEventSourcing.ReplicatedPublishedEventMetaData.Builder builderForValue)
optional .ReplicatedPublishedEventMetaData metadata = 5;
-
mergeMetadata
public ReplicatedEventSourcing.PublishedEvent.Builder mergeMetadata(ReplicatedEventSourcing.ReplicatedPublishedEventMetaData value)
optional .ReplicatedPublishedEventMetaData metadata = 5;
-
clearMetadata
public ReplicatedEventSourcing.PublishedEvent.Builder clearMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
-
getMetadataBuilder
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaData.Builder getMetadataBuilder()
optional .ReplicatedPublishedEventMetaData metadata = 5;
-
getMetadataOrBuilder
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuilder getMetadataOrBuilder()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
getMetadataOrBuilder
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
hasReplyTo
public boolean hasReplyTo()
optional string replyTo = 6;
- Specified by:
hasReplyTo
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the replyTo field is set.
-
getReplyTo
public java.lang.String getReplyTo()
optional string replyTo = 6;
- Specified by:
getReplyTo
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The replyTo.
-
getReplyToBytes
public akka.protobufv3.internal.ByteString getReplyToBytes()
optional string replyTo = 6;
- Specified by:
getReplyToBytes
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The bytes for replyTo.
-
setReplyTo
public ReplicatedEventSourcing.PublishedEvent.Builder setReplyTo(java.lang.String value)
optional string replyTo = 6;
- Parameters:
value
- The replyTo to set.- Returns:
- This builder for chaining.
-
clearReplyTo
public ReplicatedEventSourcing.PublishedEvent.Builder clearReplyTo()
optional string replyTo = 6;
- Returns:
- This builder for chaining.
-
setReplyToBytes
public ReplicatedEventSourcing.PublishedEvent.Builder setReplyToBytes(akka.protobufv3.internal.ByteString value)
optional string replyTo = 6;
- Parameters:
value
- The bytes for replyTo to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReplicatedEventSourcing.PublishedEvent.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatedEventSourcing.PublishedEvent.Builder>
-
mergeUnknownFields
public final ReplicatedEventSourcing.PublishedEvent.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ReplicatedEventSourcing.PublishedEvent.Builder>
-
-