Class DistributedPubSubMessages.Delta.Entry.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<DistributedPubSubMessages.Delta.Entry.Builder>
org.apache.pekko.cluster.pubsub.protobuf.msg.DistributedPubSubMessages.Delta.Entry.Builder
- All Implemented Interfaces:
Cloneable,DistributedPubSubMessages.Delta.EntryOrBuilder,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:
- DistributedPubSubMessages.Delta.Entry
public static final class DistributedPubSubMessages.Delta.Entry.Builder
extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<DistributedPubSubMessages.Delta.Entry.Builder>
implements DistributedPubSubMessages.Delta.EntryOrBuilder
Protobuf type
Delta.Entry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearKey()required string key = 1;clearRef()optional string ref = 3;required int64 version = 2;static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptororg.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetKey()required string key = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string key = 1;getRef()optional string ref = 3;org.apache.pekko.protobufv3.internal.ByteStringoptional string ref = 3;longrequired int64 version = 2;booleanhasKey()required string key = 1;booleanhasRef()optional string ref = 3;booleanrequired int64 version = 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 string key = 1;setKeyBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string key = 1;optional string ref = 3;setRefBytes(org.apache.pekko.protobufv3.internal.ByteString value) optional string ref = 3;setVersion(long value) required int64 version = 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<DistributedPubSubMessages.Delta.Entry.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<DistributedPubSubMessages.Delta.Entry.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<DistributedPubSubMessages.Delta.Entry.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 DistributedPubSubMessages.Delta.Entry.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<DistributedPubSubMessages.Delta.Entry.Builder>
-
mergeFrom
public DistributedPubSubMessages.Delta.Entry.Builder mergeFrom(DistributedPubSubMessages.Delta.Entry other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<DistributedPubSubMessages.Delta.Entry.Builder>
-
mergeFrom
public DistributedPubSubMessages.Delta.Entry.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<DistributedPubSubMessages.Delta.Entry.Builder>- Throws:
IOException
-
hasKey
public boolean hasKey()required string key = 1;- Specified by:
hasKeyin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- Whether the key field is set.
-
getKey
required string key = 1;- Specified by:
getKeyin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- The key.
-
getKeyBytes
public org.apache.pekko.protobufv3.internal.ByteString getKeyBytes()required string key = 1;- Specified by:
getKeyBytesin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- The bytes for key.
-
setKey
required string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
required string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
public DistributedPubSubMessages.Delta.Entry.Builder setKeyBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string key = 1;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()required int64 version = 2;- Specified by:
hasVersionin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public long getVersion()required int64 version = 2;- Specified by:
getVersionin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- The version.
-
setVersion
required int64 version = 2;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
required int64 version = 2;- Returns:
- This builder for chaining.
-
hasRef
public boolean hasRef()optional string ref = 3;- Specified by:
hasRefin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- Whether the ref field is set.
-
getRef
optional string ref = 3;- Specified by:
getRefin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- The ref.
-
getRefBytes
public org.apache.pekko.protobufv3.internal.ByteString getRefBytes()optional string ref = 3;- Specified by:
getRefBytesin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- The bytes for ref.
-
setRef
optional string ref = 3;- Parameters:
value- The ref to set.- Returns:
- This builder for chaining.
-
clearRef
optional string ref = 3;- Returns:
- This builder for chaining.
-
setRefBytes
public DistributedPubSubMessages.Delta.Entry.Builder setRefBytes(org.apache.pekko.protobufv3.internal.ByteString value) optional string ref = 3;- Parameters:
value- The bytes for ref to set.- Returns:
- This builder for chaining.
-