Class ReplicatedEventSourcing.ORSet.Builder
java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet.Builder
- All Implemented Interfaces:
Cloneable,ReplicatedEventSourcing.ORSetOrBuilder,org.apache.pekko.protobufv3.internal.Message.Builder,org.apache.pekko.protobufv3.internal.MessageLite.Builder,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ReplicatedEventSourcing.ORSet
public static final class ReplicatedEventSourcing.ORSet.Builder
extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
implements ReplicatedEventSourcing.ORSetOrBuilder
Protobuf type
ORSet-
Method Summary
Modifier and TypeMethodDescriptionaddAllDots(Iterable<? extends ReplicatedEventSourcing.VersionVector> values) repeated .VersionVector dots = 3;addAllIntElements(Iterable<? extends Integer> values) repeated sint32 intElements = 5 [packed = true];addAllLongElements(Iterable<? extends Long> values) repeated sint64 longElements = 6 [packed = true];addAllOtherElements(Iterable<? extends ContainerFormats.Payload> values) repeated .Payload otherElements = 7;addAllStringElements(Iterable<String> values) repeated string stringElements = 4;addDots(int index, ReplicatedEventSourcing.VersionVector value) repeated .VersionVector dots = 3;addDots(int index, ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3;repeated .VersionVector dots = 3;addDots(ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3;repeated .VersionVector dots = 3;addDotsBuilder(int index) repeated .VersionVector dots = 3;addIntElements(int value) repeated sint32 intElements = 5 [packed = true];addLongElements(long value) repeated sint64 longElements = 6 [packed = true];addOtherElements(int index, ContainerFormats.Payload value) repeated .Payload otherElements = 7;addOtherElements(int index, ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7;repeated .Payload otherElements = 7;addOtherElements(ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7;repeated .Payload otherElements = 7;addOtherElementsBuilder(int index) repeated .Payload otherElements = 7;addStringElements(String value) repeated string stringElements = 4;addStringElementsBytes(org.apache.pekko.protobufv3.internal.ByteString value) repeated string stringElements = 4;build()clear()repeated .VersionVector dots = 3;repeated sint32 intElements = 5 [packed = true];repeated sint64 longElements = 6 [packed = true];required string originDc = 1;repeated .Payload otherElements = 7;repeated string stringElements = 4;required .VersionVector vvector = 2;static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptororg.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDots(int index) repeated .VersionVector dots = 3;getDotsBuilder(int index) repeated .VersionVector dots = 3;repeated .VersionVector dots = 3;intrepeated .VersionVector dots = 3;repeated .VersionVector dots = 3;getDotsOrBuilder(int index) repeated .VersionVector dots = 3;repeated .VersionVector dots = 3;intgetIntElements(int index) repeated sint32 intElements = 5 [packed = true];intrepeated sint32 intElements = 5 [packed = true];repeated sint32 intElements = 5 [packed = true];longgetLongElements(int index) repeated sint64 longElements = 6 [packed = true];intrepeated sint64 longElements = 6 [packed = true];repeated sint64 longElements = 6 [packed = true];required string originDc = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string originDc = 1;getOtherElements(int index) repeated .Payload otherElements = 7;getOtherElementsBuilder(int index) repeated .Payload otherElements = 7;repeated .Payload otherElements = 7;intrepeated .Payload otherElements = 7;repeated .Payload otherElements = 7;getOtherElementsOrBuilder(int index) repeated .Payload otherElements = 7;List<? extends ContainerFormats.PayloadOrBuilder>repeated .Payload otherElements = 7;getStringElements(int index) repeated string stringElements = 4;org.apache.pekko.protobufv3.internal.ByteStringgetStringElementsBytes(int index) repeated string stringElements = 4;intrepeated string stringElements = 4;org.apache.pekko.protobufv3.internal.ProtocolStringListrepeated string stringElements = 4;required .VersionVector vvector = 2;required .VersionVector vvector = 2;required .VersionVector vvector = 2;booleanrequired string originDc = 1;booleanrequired .VersionVector vvector = 2;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.pekko.protobufv3.internal.Message other) required .VersionVector vvector = 2;removeDots(int index) repeated .VersionVector dots = 3;removeOtherElements(int index) repeated .Payload otherElements = 7;setDots(int index, ReplicatedEventSourcing.VersionVector value) repeated .VersionVector dots = 3;setDots(int index, ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3;setIntElements(int index, int value) repeated sint32 intElements = 5 [packed = true];setLongElements(int index, long value) repeated sint64 longElements = 6 [packed = true];setOriginDc(String value) required string originDc = 1;setOriginDcBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string originDc = 1;setOtherElements(int index, ContainerFormats.Payload value) repeated .Payload otherElements = 7;setOtherElements(int index, ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7;setStringElements(int index, String value) repeated string stringElements = 4;required .VersionVector vvector = 2;setVvector(ReplicatedEventSourcing.VersionVector.Builder builderForValue) required .VersionVector vvector = 2;Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
clearin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
mergeFrom
public ReplicatedEventSourcing.ORSet.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) - Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>
-
mergeFrom
public ReplicatedEventSourcing.ORSet.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ReplicatedEventSourcing.ORSet.Builder>- Throws:
IOException
-
hasOriginDc
public boolean hasOriginDc()required string originDc = 1;- Specified by:
hasOriginDcin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- Whether the originDc field is set.
-
getOriginDc
required string originDc = 1;- Specified by:
getOriginDcin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The originDc.
-
getOriginDcBytes
public org.apache.pekko.protobufv3.internal.ByteString getOriginDcBytes()required string originDc = 1;- Specified by:
getOriginDcBytesin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The bytes for originDc.
-
setOriginDc
required string originDc = 1;- Parameters:
value- The originDc to set.- Returns:
- This builder for chaining.
-
clearOriginDc
required string originDc = 1;- Returns:
- This builder for chaining.
-
setOriginDcBytes
public ReplicatedEventSourcing.ORSet.Builder setOriginDcBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string originDc = 1;- Parameters:
value- The bytes for originDc to set.- Returns:
- This builder for chaining.
-
hasVvector
public boolean hasVvector()required .VersionVector vvector = 2;- Specified by:
hasVvectorin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- Whether the vvector field is set.
-
getVvector
required .VersionVector vvector = 2;- Specified by:
getVvectorin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The vvector.
-
setVvector
public ReplicatedEventSourcing.ORSet.Builder setVvector(ReplicatedEventSourcing.VersionVector value) required .VersionVector vvector = 2; -
setVvector
public ReplicatedEventSourcing.ORSet.Builder setVvector(ReplicatedEventSourcing.VersionVector.Builder builderForValue) required .VersionVector vvector = 2; -
mergeVvector
public ReplicatedEventSourcing.ORSet.Builder mergeVvector(ReplicatedEventSourcing.VersionVector value) required .VersionVector vvector = 2; -
clearVvector
required .VersionVector vvector = 2; -
getVvectorBuilder
required .VersionVector vvector = 2; -
getVvectorOrBuilder
required .VersionVector vvector = 2;- Specified by:
getVvectorOrBuilderin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getDotsList
repeated .VersionVector dots = 3;- Specified by:
getDotsListin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getDotsCount
public int getDotsCount()repeated .VersionVector dots = 3;- Specified by:
getDotsCountin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getDots
repeated .VersionVector dots = 3;- Specified by:
getDotsin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
setDots
public ReplicatedEventSourcing.ORSet.Builder setDots(int index, ReplicatedEventSourcing.VersionVector value) repeated .VersionVector dots = 3; -
setDots
public ReplicatedEventSourcing.ORSet.Builder setDots(int index, ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3; -
addDots
repeated .VersionVector dots = 3; -
addDots
public ReplicatedEventSourcing.ORSet.Builder addDots(int index, ReplicatedEventSourcing.VersionVector value) repeated .VersionVector dots = 3; -
addDots
public ReplicatedEventSourcing.ORSet.Builder addDots(ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3; -
addDots
public ReplicatedEventSourcing.ORSet.Builder addDots(int index, ReplicatedEventSourcing.VersionVector.Builder builderForValue) repeated .VersionVector dots = 3; -
addAllDots
public ReplicatedEventSourcing.ORSet.Builder addAllDots(Iterable<? extends ReplicatedEventSourcing.VersionVector> values) repeated .VersionVector dots = 3; -
clearDots
repeated .VersionVector dots = 3; -
removeDots
repeated .VersionVector dots = 3; -
getDotsBuilder
repeated .VersionVector dots = 3; -
getDotsOrBuilder
repeated .VersionVector dots = 3;- Specified by:
getDotsOrBuilderin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getDotsOrBuilderList
repeated .VersionVector dots = 3;- Specified by:
getDotsOrBuilderListin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
addDotsBuilder
repeated .VersionVector dots = 3; -
addDotsBuilder
repeated .VersionVector dots = 3; -
getDotsBuilderList
repeated .VersionVector dots = 3; -
getStringElementsList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getStringElementsList()repeated string stringElements = 4;- Specified by:
getStringElementsListin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- A list containing the stringElements.
-
getStringElementsCount
public int getStringElementsCount()repeated string stringElements = 4;- Specified by:
getStringElementsCountin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The count of stringElements.
-
getStringElements
repeated string stringElements = 4;- Specified by:
getStringElementsin interfaceReplicatedEventSourcing.ORSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stringElements at the given index.
-
getStringElementsBytes
public org.apache.pekko.protobufv3.internal.ByteString getStringElementsBytes(int index) repeated string stringElements = 4;- Specified by:
getStringElementsBytesin interfaceReplicatedEventSourcing.ORSetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringElements at the given index.
-
setStringElements
repeated string stringElements = 4;- Parameters:
index- The index to set the value at.value- The stringElements to set.- Returns:
- This builder for chaining.
-
addStringElements
repeated string stringElements = 4;- Parameters:
value- The stringElements to add.- Returns:
- This builder for chaining.
-
addAllStringElements
repeated string stringElements = 4;- Parameters:
values- The stringElements to add.- Returns:
- This builder for chaining.
-
clearStringElements
repeated string stringElements = 4;- Returns:
- This builder for chaining.
-
addStringElementsBytes
public ReplicatedEventSourcing.ORSet.Builder addStringElementsBytes(org.apache.pekko.protobufv3.internal.ByteString value) repeated string stringElements = 4;- Parameters:
value- The bytes of the stringElements to add.- Returns:
- This builder for chaining.
-
getIntElementsList
repeated sint32 intElements = 5 [packed = true];- Specified by:
getIntElementsListin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- A list containing the intElements.
-
getIntElementsCount
public int getIntElementsCount()repeated sint32 intElements = 5 [packed = true];- Specified by:
getIntElementsCountin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The count of intElements.
-
getIntElements
public int getIntElements(int index) repeated sint32 intElements = 5 [packed = true];- Specified by:
getIntElementsin interfaceReplicatedEventSourcing.ORSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The intElements at the given index.
-
setIntElements
repeated sint32 intElements = 5 [packed = true];- Parameters:
index- The index to set the value at.value- The intElements to set.- Returns:
- This builder for chaining.
-
addIntElements
repeated sint32 intElements = 5 [packed = true];- Parameters:
value- The intElements to add.- Returns:
- This builder for chaining.
-
addAllIntElements
repeated sint32 intElements = 5 [packed = true];- Parameters:
values- The intElements to add.- Returns:
- This builder for chaining.
-
clearIntElements
repeated sint32 intElements = 5 [packed = true];- Returns:
- This builder for chaining.
-
getLongElementsList
repeated sint64 longElements = 6 [packed = true];- Specified by:
getLongElementsListin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- A list containing the longElements.
-
getLongElementsCount
public int getLongElementsCount()repeated sint64 longElements = 6 [packed = true];- Specified by:
getLongElementsCountin interfaceReplicatedEventSourcing.ORSetOrBuilder- Returns:
- The count of longElements.
-
getLongElements
public long getLongElements(int index) repeated sint64 longElements = 6 [packed = true];- Specified by:
getLongElementsin interfaceReplicatedEventSourcing.ORSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The longElements at the given index.
-
setLongElements
repeated sint64 longElements = 6 [packed = true];- Parameters:
index- The index to set the value at.value- The longElements to set.- Returns:
- This builder for chaining.
-
addLongElements
repeated sint64 longElements = 6 [packed = true];- Parameters:
value- The longElements to add.- Returns:
- This builder for chaining.
-
addAllLongElements
repeated sint64 longElements = 6 [packed = true];- Parameters:
values- The longElements to add.- Returns:
- This builder for chaining.
-
clearLongElements
repeated sint64 longElements = 6 [packed = true];- Returns:
- This builder for chaining.
-
getOtherElementsList
repeated .Payload otherElements = 7;- Specified by:
getOtherElementsListin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getOtherElementsCount
public int getOtherElementsCount()repeated .Payload otherElements = 7;- Specified by:
getOtherElementsCountin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getOtherElements
repeated .Payload otherElements = 7;- Specified by:
getOtherElementsin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
setOtherElements
public ReplicatedEventSourcing.ORSet.Builder setOtherElements(int index, ContainerFormats.Payload value) repeated .Payload otherElements = 7; -
setOtherElements
public ReplicatedEventSourcing.ORSet.Builder setOtherElements(int index, ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7; -
addOtherElements
repeated .Payload otherElements = 7; -
addOtherElements
public ReplicatedEventSourcing.ORSet.Builder addOtherElements(int index, ContainerFormats.Payload value) repeated .Payload otherElements = 7; -
addOtherElements
public ReplicatedEventSourcing.ORSet.Builder addOtherElements(ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7; -
addOtherElements
public ReplicatedEventSourcing.ORSet.Builder addOtherElements(int index, ContainerFormats.Payload.Builder builderForValue) repeated .Payload otherElements = 7; -
addAllOtherElements
public ReplicatedEventSourcing.ORSet.Builder addAllOtherElements(Iterable<? extends ContainerFormats.Payload> values) repeated .Payload otherElements = 7; -
clearOtherElements
repeated .Payload otherElements = 7; -
removeOtherElements
repeated .Payload otherElements = 7; -
getOtherElementsBuilder
repeated .Payload otherElements = 7; -
getOtherElementsOrBuilder
repeated .Payload otherElements = 7;- Specified by:
getOtherElementsOrBuilderin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
getOtherElementsOrBuilderList
repeated .Payload otherElements = 7;- Specified by:
getOtherElementsOrBuilderListin interfaceReplicatedEventSourcing.ORSetOrBuilder
-
addOtherElementsBuilder
repeated .Payload otherElements = 7; -
addOtherElementsBuilder
repeated .Payload otherElements = 7; -
getOtherElementsBuilderList
repeated .Payload otherElements = 7;
-