Class StreamsOuterClass.BatchAppendResp
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.streams.StreamsOuterClass.BatchAppendResp
-
- All Implemented Interfaces:
StreamsOuterClass.BatchAppendRespOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- StreamsOuterClass
public static final class StreamsOuterClass.BatchAppendResp extends com.google.protobuf.GeneratedMessageV3 implements StreamsOuterClass.BatchAppendRespOrBuilder
Protobuf typeevent_store.client.streams.BatchAppendResp- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamsOuterClass.BatchAppendResp.BuilderProtobuf typeevent_store.client.streams.BatchAppendRespstatic classStreamsOuterClass.BatchAppendResp.ExpectedStreamPositionCasestatic classStreamsOuterClass.BatchAppendResp.ResultCasestatic classStreamsOuterClass.BatchAppendResp.SuccessProtobuf typeevent_store.client.streams.BatchAppendResp.Successstatic interfaceStreamsOuterClass.BatchAppendResp.SuccessOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANY_FIELD_NUMBERstatic intCORRELATION_ID_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intNO_STREAM_FIELD_NUMBERstatic intSTREAM_EXISTS_FIELD_NUMBERstatic intSTREAM_IDENTIFIER_FIELD_NUMBERstatic intSTREAM_POSITION_FIELD_NUMBERstatic intSUCCESS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)com.google.protobuf.EmptygetAny().google.protobuf.Empty any = 7;com.google.protobuf.EmptyOrBuildergetAnyOrBuilder().google.protobuf.Empty any = 7;Shared.UUIDgetCorrelationId().event_store.client.UUID correlation_id = 1;Shared.UUIDOrBuildergetCorrelationIdOrBuilder().event_store.client.UUID correlation_id = 1;static StreamsOuterClass.BatchAppendRespgetDefaultInstance()StreamsOuterClass.BatchAppendRespgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StatusgetError().google.rpc.Status error = 2;StatusOrBuildergetErrorOrBuilder().google.rpc.Status error = 2;StreamsOuterClass.BatchAppendResp.ExpectedStreamPositionCasegetExpectedStreamPositionCase()com.google.protobuf.EmptygetNoStream().google.protobuf.Empty no_stream = 6;com.google.protobuf.EmptyOrBuildergetNoStreamOrBuilder().google.protobuf.Empty no_stream = 6;com.google.protobuf.Parser<StreamsOuterClass.BatchAppendResp>getParserForType()StreamsOuterClass.BatchAppendResp.ResultCasegetResultCase()intgetSerializedSize()com.google.protobuf.EmptygetStreamExists().google.protobuf.Empty stream_exists = 8;com.google.protobuf.EmptyOrBuildergetStreamExistsOrBuilder().google.protobuf.Empty stream_exists = 8;Shared.StreamIdentifiergetStreamIdentifier().event_store.client.StreamIdentifier stream_identifier = 4;Shared.StreamIdentifierOrBuildergetStreamIdentifierOrBuilder().event_store.client.StreamIdentifier stream_identifier = 4;longgetStreamPosition()uint64 stream_position = 5;StreamsOuterClass.BatchAppendResp.SuccessgetSuccess().event_store.client.streams.BatchAppendResp.Success success = 3;StreamsOuterClass.BatchAppendResp.SuccessOrBuildergetSuccessOrBuilder().event_store.client.streams.BatchAppendResp.Success success = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAny().google.protobuf.Empty any = 7;booleanhasCorrelationId().event_store.client.UUID correlation_id = 1;booleanhasError().google.rpc.Status error = 2;inthashCode()booleanhasNoStream().google.protobuf.Empty no_stream = 6;booleanhasStreamExists().google.protobuf.Empty stream_exists = 8;booleanhasStreamIdentifier().event_store.client.StreamIdentifier stream_identifier = 4;booleanhasSuccess().event_store.client.streams.BatchAppendResp.Success success = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamsOuterClass.BatchAppendResp.BuildernewBuilder()static StreamsOuterClass.BatchAppendResp.BuildernewBuilder(StreamsOuterClass.BatchAppendResp prototype)StreamsOuterClass.BatchAppendResp.BuildernewBuilderForType()protected StreamsOuterClass.BatchAppendResp.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamsOuterClass.BatchAppendRespparseDelimitedFrom(java.io.InputStream input)static StreamsOuterClass.BatchAppendRespparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.BatchAppendRespparseFrom(byte[] data)static StreamsOuterClass.BatchAppendRespparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.BatchAppendRespparseFrom(com.google.protobuf.ByteString data)static StreamsOuterClass.BatchAppendRespparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.BatchAppendRespparseFrom(com.google.protobuf.CodedInputStream input)static StreamsOuterClass.BatchAppendRespparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.BatchAppendRespparseFrom(java.io.InputStream input)static StreamsOuterClass.BatchAppendRespparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.BatchAppendRespparseFrom(java.nio.ByteBuffer data)static StreamsOuterClass.BatchAppendRespparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamsOuterClass.BatchAppendResp>parser()StreamsOuterClass.BatchAppendResp.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CORRELATION_ID_FIELD_NUMBER
public static final int CORRELATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCESS_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_IDENTIFIER_FIELD_NUMBER
public static final int STREAM_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_POSITION_FIELD_NUMBER
public static final int STREAM_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_STREAM_FIELD_NUMBER
public static final int NO_STREAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANY_FIELD_NUMBER
public static final int ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_EXISTS_FIELD_NUMBER
public static final int STREAM_EXISTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResultCase
public StreamsOuterClass.BatchAppendResp.ResultCase getResultCase()
- Specified by:
getResultCasein interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
getExpectedStreamPositionCase
public StreamsOuterClass.BatchAppendResp.ExpectedStreamPositionCase getExpectedStreamPositionCase()
- Specified by:
getExpectedStreamPositionCasein interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasCorrelationId
public boolean hasCorrelationId()
.event_store.client.UUID correlation_id = 1;- Specified by:
hasCorrelationIdin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the correlationId field is set.
-
getCorrelationId
public Shared.UUID getCorrelationId()
.event_store.client.UUID correlation_id = 1;- Specified by:
getCorrelationIdin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The correlationId.
-
getCorrelationIdOrBuilder
public Shared.UUIDOrBuilder getCorrelationIdOrBuilder()
.event_store.client.UUID correlation_id = 1;- Specified by:
getCorrelationIdOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasError
public boolean hasError()
.google.rpc.Status error = 2;- Specified by:
hasErrorin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the error field is set.
-
getError
public Status getError()
.google.rpc.Status error = 2;- Specified by:
getErrorin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public StatusOrBuilder getErrorOrBuilder()
.google.rpc.Status error = 2;- Specified by:
getErrorOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasSuccess
public boolean hasSuccess()
.event_store.client.streams.BatchAppendResp.Success success = 3;- Specified by:
hasSuccessin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the success field is set.
-
getSuccess
public StreamsOuterClass.BatchAppendResp.Success getSuccess()
.event_store.client.streams.BatchAppendResp.Success success = 3;- Specified by:
getSuccessin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The success.
-
getSuccessOrBuilder
public StreamsOuterClass.BatchAppendResp.SuccessOrBuilder getSuccessOrBuilder()
.event_store.client.streams.BatchAppendResp.Success success = 3;- Specified by:
getSuccessOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasStreamIdentifier
public boolean hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 4;- Specified by:
hasStreamIdentifierin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the streamIdentifier field is set.
-
getStreamIdentifier
public Shared.StreamIdentifier getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 4;- Specified by:
getStreamIdentifierin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The streamIdentifier.
-
getStreamIdentifierOrBuilder
public Shared.StreamIdentifierOrBuilder getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 4;- Specified by:
getStreamIdentifierOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
getStreamPosition
public long getStreamPosition()
uint64 stream_position = 5;- Specified by:
getStreamPositionin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The streamPosition.
-
hasNoStream
public boolean hasNoStream()
.google.protobuf.Empty no_stream = 6;- Specified by:
hasNoStreamin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the noStream field is set.
-
getNoStream
public com.google.protobuf.Empty getNoStream()
.google.protobuf.Empty no_stream = 6;- Specified by:
getNoStreamin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The noStream.
-
getNoStreamOrBuilder
public com.google.protobuf.EmptyOrBuilder getNoStreamOrBuilder()
.google.protobuf.Empty no_stream = 6;- Specified by:
getNoStreamOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasAny
public boolean hasAny()
.google.protobuf.Empty any = 7;- Specified by:
hasAnyin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the any field is set.
-
getAny
public com.google.protobuf.Empty getAny()
.google.protobuf.Empty any = 7;- Specified by:
getAnyin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The any.
-
getAnyOrBuilder
public com.google.protobuf.EmptyOrBuilder getAnyOrBuilder()
.google.protobuf.Empty any = 7;- Specified by:
getAnyOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
hasStreamExists
public boolean hasStreamExists()
.google.protobuf.Empty stream_exists = 8;- Specified by:
hasStreamExistsin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- Whether the streamExists field is set.
-
getStreamExists
public com.google.protobuf.Empty getStreamExists()
.google.protobuf.Empty stream_exists = 8;- Specified by:
getStreamExistsin interfaceStreamsOuterClass.BatchAppendRespOrBuilder- Returns:
- The streamExists.
-
getStreamExistsOrBuilder
public com.google.protobuf.EmptyOrBuilder getStreamExistsOrBuilder()
.google.protobuf.Empty stream_exists = 8;- Specified by:
getStreamExistsOrBuilderin interfaceStreamsOuterClass.BatchAppendRespOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.BatchAppendResp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.BatchAppendResp parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.BatchAppendResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StreamsOuterClass.BatchAppendResp.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamsOuterClass.BatchAppendResp.Builder newBuilder()
-
newBuilder
public static StreamsOuterClass.BatchAppendResp.Builder newBuilder(StreamsOuterClass.BatchAppendResp prototype)
-
toBuilder
public StreamsOuterClass.BatchAppendResp.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamsOuterClass.BatchAppendResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamsOuterClass.BatchAppendResp getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamsOuterClass.BatchAppendResp> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamsOuterClass.BatchAppendResp> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamsOuterClass.BatchAppendResp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-