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:
java.lang.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 typeDelta.Entry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedPubSubMessages.Delta.Entrybuild()DistributedPubSubMessages.Delta.EntrybuildPartial()DistributedPubSubMessages.Delta.Entry.Builderclear()DistributedPubSubMessages.Delta.Entry.BuilderclearKey()required string key = 1;DistributedPubSubMessages.Delta.Entry.BuilderclearRef()optional string ref = 3;DistributedPubSubMessages.Delta.Entry.BuilderclearVersion()required int64 version = 2;DistributedPubSubMessages.Delta.EntrygetDefaultInstanceForType()static org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptor()org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetKey()required string key = 1;org.apache.pekko.protobufv3.internal.ByteStringgetKeyBytes()required string key = 1;java.lang.StringgetRef()optional string ref = 3;org.apache.pekko.protobufv3.internal.ByteStringgetRefBytes()optional string ref = 3;longgetVersion()required int64 version = 2;booleanhasKey()required string key = 1;booleanhasRef()optional string ref = 3;booleanhasVersion()required int64 version = 2;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DistributedPubSubMessages.Delta.Entry.BuildermergeFrom(DistributedPubSubMessages.Delta.Entry other)DistributedPubSubMessages.Delta.Entry.BuildermergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)DistributedPubSubMessages.Delta.Entry.BuildermergeFrom(org.apache.pekko.protobufv3.internal.Message other)DistributedPubSubMessages.Delta.Entry.BuildersetKey(java.lang.String value)required string key = 1;DistributedPubSubMessages.Delta.Entry.BuildersetKeyBytes(org.apache.pekko.protobufv3.internal.ByteString value)required string key = 1;DistributedPubSubMessages.Delta.Entry.BuildersetRef(java.lang.String value)optional string ref = 3;DistributedPubSubMessages.Delta.Entry.BuildersetRefBytes(org.apache.pekko.protobufv3.internal.ByteString value)optional string ref = 3;DistributedPubSubMessages.Delta.Entry.BuildersetVersion(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, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.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 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
public 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
public DistributedPubSubMessages.Delta.Entry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public DistributedPubSubMessages.Delta.Entry build()
- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public DistributedPubSubMessages.Delta.Entry 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 java.io.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:
java.io.IOException
-
hasKey
public boolean hasKey()
required string key = 1;- Specified by:
hasKeyin interfaceDistributedPubSubMessages.Delta.EntryOrBuilder- Returns:
- Whether the key field is set.
-
getKey
public java.lang.String 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
public DistributedPubSubMessages.Delta.Entry.Builder setKey(java.lang.String value)
required string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public DistributedPubSubMessages.Delta.Entry.Builder 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
public DistributedPubSubMessages.Delta.Entry.Builder setVersion(long value)
required int64 version = 2;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public DistributedPubSubMessages.Delta.Entry.Builder 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
public java.lang.String 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
public DistributedPubSubMessages.Delta.Entry.Builder setRef(java.lang.String value)
optional string ref = 3;- Parameters:
value- The ref to set.- Returns:
- This builder for chaining.
-
clearRef
public DistributedPubSubMessages.Delta.Entry.Builder 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.
-
-