public static final class StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent extends com.google.protobuf.GeneratedMessage implements StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilder
event_store.client.streams.ReadResp.ReadEvent.RecordedEvent| Modifier and Type | Class and Description |
|---|---|
static class |
StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder
Protobuf type
event_store.client.streams.ReadResp.ReadEvent.RecordedEvent |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMIT_POSITION_FIELD_NUMBER |
static int |
CUSTOM_METADATA_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
PREPARE_POSITION_FIELD_NUMBER |
static int |
STREAM_IDENTIFIER_FIELD_NUMBER |
static int |
STREAM_REVISION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(java.lang.String key)
map<string, string> metadata = 6; |
boolean |
equals(java.lang.Object obj) |
long |
getCommitPosition()
uint64 commit_position = 5; |
com.google.protobuf.ByteString |
getCustomMetadata()
bytes custom_metadata = 7; |
com.google.protobuf.ByteString |
getData()
bytes data = 8; |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
getDefaultInstance() |
StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Shared.UUID |
getId()
.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; |
com.google.protobuf.Parser<StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent> |
getParserForType() |
long |
getPreparePosition()
uint64 prepare_position = 4; |
int |
getSerializedSize() |
Shared.StreamIdentifier |
getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2; |
Shared.StreamIdentifierOrBuilder |
getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2; |
long |
getStreamRevision()
uint64 stream_revision = 3; |
int |
hashCode() |
boolean |
hasId()
.event_store.client.UUID id = 1; |
boolean |
hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder |
newBuilder() |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder |
newBuilder(StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent prototype) |
StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder |
newBuilderForType() |
protected StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseDelimitedFrom(java.io.InputStream input) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(byte[] data) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(java.nio.ByteBuffer data) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(com.google.protobuf.ByteString data) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(java.io.InputStream input) |
static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent> |
parser() |
StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int STREAM_IDENTIFIER_FIELD_NUMBER
public static final int STREAM_REVISION_FIELD_NUMBER
public static final int PREPARE_POSITION_FIELD_NUMBER
public static final int COMMIT_POSITION_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int CUSTOM_METADATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasId()
.event_store.client.UUID id = 1;hasId in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic Shared.UUID getId()
.event_store.client.UUID id = 1;getId in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic Shared.UUIDOrBuilder getIdOrBuilder()
.event_store.client.UUID id = 1;getIdOrBuilder in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic boolean hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;hasStreamIdentifier in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic Shared.StreamIdentifier getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;getStreamIdentifier in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic Shared.StreamIdentifierOrBuilder getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;getStreamIdentifierOrBuilder in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic long getStreamRevision()
uint64 stream_revision = 3;getStreamRevision in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic long getPreparePosition()
uint64 prepare_position = 4;getPreparePosition in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic long getCommitPosition()
uint64 commit_position = 5;getCommitPosition in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic int getMetadataCount()
StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuildermap<string, string> metadata = 6;getMetadataCount in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic boolean containsMetadata(java.lang.String key)
map<string, string> metadata = 6;containsMetadata in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadataMap() instead.getMetadata in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
map<string, string> metadata = 6;getMetadataMap in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic java.lang.String getMetadataOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> metadata = 6;getMetadataOrDefault in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic java.lang.String getMetadataOrThrow(java.lang.String key)
map<string, string> metadata = 6;getMetadataOrThrow in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic com.google.protobuf.ByteString getCustomMetadata()
bytes custom_metadata = 7;getCustomMetadata in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic com.google.protobuf.ByteString getData()
bytes data = 8;getData in interface StreamsOuterClass.ReadResp.ReadEvent.RecordedEventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder newBuilder()
public static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder newBuilder(StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent prototype)
public StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent getDefaultInstance()
public static com.google.protobuf.Parser<StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent> parser()
public com.google.protobuf.Parser<StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic StreamsOuterClass.ReadResp.ReadEvent.RecordedEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder