Class Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
-
- All Implemented Interfaces:
Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Persistent.ReadResp.ReadEvent.RecordedEvent
public static final class Persistent.ReadResp.ReadEvent.RecordedEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder> implements Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.ReadResp.ReadEvent.RecordedEvent
build()
Persistent.ReadResp.ReadEvent.RecordedEvent
buildPartial()
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clear()
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearCommitPosition()
uint64 commit_position = 5;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearCustomMetadata()
bytes custom_metadata = 7;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearData()
bytes data = 8;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearId()
.event_store.client.UUID id = 1;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearMetadata()
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearPreparePosition()
uint64 prepare_position = 4;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clearStreamRevision()
uint64 stream_revision = 3;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
clone()
boolean
containsMetadata(java.lang.String key)
map<string, string> metadata = 6;
long
getCommitPosition()
uint64 commit_position = 5;
com.google.protobuf.ByteString
getCustomMetadata()
bytes custom_metadata = 7;
com.google.protobuf.ByteString
getData()
bytes data = 8;
Persistent.ReadResp.ReadEvent.RecordedEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Shared.UUID
getId()
.event_store.client.UUID id = 1;
Shared.UUID.Builder
getIdBuilder()
.event_store.client.UUID id = 1;
Shared.UUIDOrBuilder
getIdOrBuilder()
.event_store.client.UUID id = 1;
java.util.Map<java.lang.String,java.lang.String>
getMetadata()
Deprecated.int
getMetadataCount()
map<string, string> metadata = 6;
java.util.Map<java.lang.String,java.lang.String>
getMetadataMap()
map<string, string> metadata = 6;
java.lang.String
getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> metadata = 6;
java.lang.String
getMetadataOrThrow(java.lang.String key)
map<string, string> metadata = 6;
java.util.Map<java.lang.String,java.lang.String>
getMutableMetadata()
Deprecated.long
getPreparePosition()
uint64 prepare_position = 4;
Shared.StreamIdentifier
getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
Shared.StreamIdentifier.Builder
getStreamIdentifierBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;
Shared.StreamIdentifierOrBuilder
getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;
long
getStreamRevision()
uint64 stream_revision = 3;
boolean
hasId()
.event_store.client.UUID id = 1;
boolean
hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
boolean
isInitialized()
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeFrom(Persistent.ReadResp.ReadEvent.RecordedEvent other)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeFrom(com.google.protobuf.Message other)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeId(Shared.UUID value)
.event_store.client.UUID id = 1;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeStreamIdentifier(Shared.StreamIdentifier value)
.event_store.client.StreamIdentifier stream_identifier = 2;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> metadata = 6;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
putMetadata(java.lang.String key, java.lang.String value)
map<string, string> metadata = 6;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
removeMetadata(java.lang.String key)
map<string, string> metadata = 6;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setCommitPosition(long value)
uint64 commit_position = 5;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setCustomMetadata(com.google.protobuf.ByteString value)
bytes custom_metadata = 7;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setData(com.google.protobuf.ByteString value)
bytes data = 8;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setId(Shared.UUID value)
.event_store.client.UUID id = 1;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setId(Shared.UUID.Builder builderForValue)
.event_store.client.UUID id = 1;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setPreparePosition(long value)
uint64 prepare_position = 4;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setStreamIdentifier(Shared.StreamIdentifier value)
.event_store.client.StreamIdentifier stream_identifier = 2;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setStreamIdentifier(Shared.StreamIdentifier.Builder builderForValue)
.event_store.client.StreamIdentifier stream_identifier = 2;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setStreamRevision(long value)
uint64 stream_revision = 3;
Persistent.ReadResp.ReadEvent.RecordedEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
clear
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
getDefaultInstanceForType
public Persistent.ReadResp.ReadEvent.RecordedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Persistent.ReadResp.ReadEvent.RecordedEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Persistent.ReadResp.ReadEvent.RecordedEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
setField
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
clearField
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
clearOneof
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
setRepeatedField
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
addRepeatedField
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
mergeFrom
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
mergeFrom
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeFrom(Persistent.ReadResp.ReadEvent.RecordedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
mergeFrom
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
- Throws:
java.io.IOException
-
hasId
public boolean hasId()
.event_store.client.UUID id = 1;
- Specified by:
hasId
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public Shared.UUID getId()
.event_store.client.UUID id = 1;
- Specified by:
getId
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The id.
-
setId
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setId(Shared.UUID value)
.event_store.client.UUID id = 1;
-
setId
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setId(Shared.UUID.Builder builderForValue)
.event_store.client.UUID id = 1;
-
mergeId
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeId(Shared.UUID value)
.event_store.client.UUID id = 1;
-
clearId
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearId()
.event_store.client.UUID id = 1;
-
getIdBuilder
public Shared.UUID.Builder getIdBuilder()
.event_store.client.UUID id = 1;
-
getIdOrBuilder
public Shared.UUIDOrBuilder getIdOrBuilder()
.event_store.client.UUID id = 1;
- Specified by:
getIdOrBuilder
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
hasStreamIdentifier
public boolean hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
- Specified by:
hasStreamIdentifier
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- Whether the streamIdentifier field is set.
-
getStreamIdentifier
public Shared.StreamIdentifier getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
- Specified by:
getStreamIdentifier
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The streamIdentifier.
-
setStreamIdentifier
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setStreamIdentifier(Shared.StreamIdentifier value)
.event_store.client.StreamIdentifier stream_identifier = 2;
-
setStreamIdentifier
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setStreamIdentifier(Shared.StreamIdentifier.Builder builderForValue)
.event_store.client.StreamIdentifier stream_identifier = 2;
-
mergeStreamIdentifier
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeStreamIdentifier(Shared.StreamIdentifier value)
.event_store.client.StreamIdentifier stream_identifier = 2;
-
clearStreamIdentifier
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;
-
getStreamIdentifierBuilder
public Shared.StreamIdentifier.Builder getStreamIdentifierBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;
-
getStreamIdentifierOrBuilder
public Shared.StreamIdentifierOrBuilder getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;
- Specified by:
getStreamIdentifierOrBuilder
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getStreamRevision
public long getStreamRevision()
uint64 stream_revision = 3;
- Specified by:
getStreamRevision
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The streamRevision.
-
setStreamRevision
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setStreamRevision(long value)
uint64 stream_revision = 3;
- Parameters:
value
- The streamRevision to set.- Returns:
- This builder for chaining.
-
clearStreamRevision
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearStreamRevision()
uint64 stream_revision = 3;
- Returns:
- This builder for chaining.
-
getPreparePosition
public long getPreparePosition()
uint64 prepare_position = 4;
- Specified by:
getPreparePosition
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The preparePosition.
-
setPreparePosition
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setPreparePosition(long value)
uint64 prepare_position = 4;
- Parameters:
value
- The preparePosition to set.- Returns:
- This builder for chaining.
-
clearPreparePosition
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearPreparePosition()
uint64 prepare_position = 4;
- Returns:
- This builder for chaining.
-
getCommitPosition
public long getCommitPosition()
uint64 commit_position = 5;
- Specified by:
getCommitPosition
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The commitPosition.
-
setCommitPosition
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setCommitPosition(long value)
uint64 commit_position = 5;
- Parameters:
value
- The commitPosition to set.- Returns:
- This builder for chaining.
-
clearCommitPosition
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearCommitPosition()
uint64 commit_position = 5;
- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder
map<string, string> metadata = 6;
- Specified by:
getMetadataCount
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
containsMetadata
public boolean containsMetadata(java.lang.String key)
map<string, string> metadata = 6;
- Specified by:
containsMetadata
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataMap
public java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
map<string, string> metadata = 6;
- Specified by:
getMetadataMap
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataOrDefault
public java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> metadata = 6;
- Specified by:
getMetadataOrDefault
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataOrThrow
public java.lang.String getMetadataOrThrow(java.lang.String key)
map<string, string> metadata = 6;
- Specified by:
getMetadataOrThrow
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
clearMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearMetadata()
-
removeMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder removeMetadata(java.lang.String key)
map<string, string> metadata = 6;
-
getMutableMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder putMetadata(java.lang.String key, java.lang.String value)
map<string, string> metadata = 6;
-
putAllMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> metadata = 6;
-
getCustomMetadata
public com.google.protobuf.ByteString getCustomMetadata()
bytes custom_metadata = 7;
- Specified by:
getCustomMetadata
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The customMetadata.
-
setCustomMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setCustomMetadata(com.google.protobuf.ByteString value)
bytes custom_metadata = 7;
- Parameters:
value
- The customMetadata to set.- Returns:
- This builder for chaining.
-
clearCustomMetadata
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearCustomMetadata()
bytes custom_metadata = 7;
- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()
bytes data = 8;
- Specified by:
getData
in interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
- Returns:
- The data.
-
setData
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setData(com.google.protobuf.ByteString value)
bytes data = 8;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder clearData()
bytes data = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Persistent.ReadResp.ReadEvent.RecordedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
mergeUnknownFields
public final Persistent.ReadResp.ReadEvent.RecordedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadResp.ReadEvent.RecordedEvent.Builder>
-
-