Class StreamsOuterClass.AppendResp.Success
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.streams.StreamsOuterClass.AppendResp.Success
-
- All Implemented Interfaces:
StreamsOuterClass.AppendResp.SuccessOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- StreamsOuterClass.AppendResp
public static final class StreamsOuterClass.AppendResp.Success extends com.google.protobuf.GeneratedMessageV3 implements StreamsOuterClass.AppendResp.SuccessOrBuilder
Protobuf typeevent_store.client.streams.AppendResp.Success- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamsOuterClass.AppendResp.Success.BuilderProtobuf typeevent_store.client.streams.AppendResp.Successstatic classStreamsOuterClass.AppendResp.Success.CurrentRevisionOptionCasestatic classStreamsOuterClass.AppendResp.Success.PositionOptionCase-
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 intCURRENT_REVISION_FIELD_NUMBERstatic intNO_POSITION_FIELD_NUMBERstatic intNO_STREAM_FIELD_NUMBERstatic intPOSITION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetCurrentRevision()uint64 current_revision = 1;StreamsOuterClass.AppendResp.Success.CurrentRevisionOptionCasegetCurrentRevisionOptionCase()static StreamsOuterClass.AppendResp.SuccessgetDefaultInstance()StreamsOuterClass.AppendResp.SuccessgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Shared.EmptygetNoPosition().event_store.client.Empty no_position = 4;Shared.EmptyOrBuildergetNoPositionOrBuilder().event_store.client.Empty no_position = 4;Shared.EmptygetNoStream().event_store.client.Empty no_stream = 2;Shared.EmptyOrBuildergetNoStreamOrBuilder().event_store.client.Empty no_stream = 2;com.google.protobuf.Parser<StreamsOuterClass.AppendResp.Success>getParserForType()StreamsOuterClass.AppendResp.PositiongetPosition().event_store.client.streams.AppendResp.Position position = 3;StreamsOuterClass.AppendResp.Success.PositionOptionCasegetPositionOptionCase()StreamsOuterClass.AppendResp.PositionOrBuildergetPositionOrBuilder().event_store.client.streams.AppendResp.Position position = 3;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasNoPosition().event_store.client.Empty no_position = 4;booleanhasNoStream().event_store.client.Empty no_stream = 2;booleanhasPosition().event_store.client.streams.AppendResp.Position position = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamsOuterClass.AppendResp.Success.BuildernewBuilder()static StreamsOuterClass.AppendResp.Success.BuildernewBuilder(StreamsOuterClass.AppendResp.Success prototype)StreamsOuterClass.AppendResp.Success.BuildernewBuilderForType()protected StreamsOuterClass.AppendResp.Success.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamsOuterClass.AppendResp.SuccessparseDelimitedFrom(java.io.InputStream input)static StreamsOuterClass.AppendResp.SuccessparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.AppendResp.SuccessparseFrom(byte[] data)static StreamsOuterClass.AppendResp.SuccessparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.AppendResp.SuccessparseFrom(com.google.protobuf.ByteString data)static StreamsOuterClass.AppendResp.SuccessparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.AppendResp.SuccessparseFrom(com.google.protobuf.CodedInputStream input)static StreamsOuterClass.AppendResp.SuccessparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.AppendResp.SuccessparseFrom(java.io.InputStream input)static StreamsOuterClass.AppendResp.SuccessparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.AppendResp.SuccessparseFrom(java.nio.ByteBuffer data)static StreamsOuterClass.AppendResp.SuccessparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamsOuterClass.AppendResp.Success>parser()StreamsOuterClass.AppendResp.Success.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
-
CURRENT_REVISION_FIELD_NUMBER
public static final int CURRENT_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_STREAM_FIELD_NUMBER
public static final int NO_STREAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_POSITION_FIELD_NUMBER
public static final int NO_POSITION_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
-
getCurrentRevisionOptionCase
public StreamsOuterClass.AppendResp.Success.CurrentRevisionOptionCase getCurrentRevisionOptionCase()
- Specified by:
getCurrentRevisionOptionCasein interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder
-
getPositionOptionCase
public StreamsOuterClass.AppendResp.Success.PositionOptionCase getPositionOptionCase()
- Specified by:
getPositionOptionCasein interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder
-
getCurrentRevision
public long getCurrentRevision()
uint64 current_revision = 1;- Specified by:
getCurrentRevisionin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- The currentRevision.
-
hasNoStream
public boolean hasNoStream()
.event_store.client.Empty no_stream = 2;- Specified by:
hasNoStreamin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- Whether the noStream field is set.
-
getNoStream
public Shared.Empty getNoStream()
.event_store.client.Empty no_stream = 2;- Specified by:
getNoStreamin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- The noStream.
-
getNoStreamOrBuilder
public Shared.EmptyOrBuilder getNoStreamOrBuilder()
.event_store.client.Empty no_stream = 2;- Specified by:
getNoStreamOrBuilderin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder
-
hasPosition
public boolean hasPosition()
.event_store.client.streams.AppendResp.Position position = 3;- Specified by:
hasPositionin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- Whether the position field is set.
-
getPosition
public StreamsOuterClass.AppendResp.Position getPosition()
.event_store.client.streams.AppendResp.Position position = 3;- Specified by:
getPositionin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- The position.
-
getPositionOrBuilder
public StreamsOuterClass.AppendResp.PositionOrBuilder getPositionOrBuilder()
.event_store.client.streams.AppendResp.Position position = 3;- Specified by:
getPositionOrBuilderin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder
-
hasNoPosition
public boolean hasNoPosition()
.event_store.client.Empty no_position = 4;- Specified by:
hasNoPositionin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- Whether the noPosition field is set.
-
getNoPosition
public Shared.Empty getNoPosition()
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder- Returns:
- The noPosition.
-
getNoPositionOrBuilder
public Shared.EmptyOrBuilder getNoPositionOrBuilder()
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionOrBuilderin interfaceStreamsOuterClass.AppendResp.SuccessOrBuilder
-
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.AppendResp.Success parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success 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.AppendResp.Success parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.AppendResp.Success parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.AppendResp.Success parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.AppendResp.Success parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StreamsOuterClass.AppendResp.Success.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamsOuterClass.AppendResp.Success.Builder newBuilder()
-
newBuilder
public static StreamsOuterClass.AppendResp.Success.Builder newBuilder(StreamsOuterClass.AppendResp.Success prototype)
-
toBuilder
public StreamsOuterClass.AppendResp.Success.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamsOuterClass.AppendResp.Success.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamsOuterClass.AppendResp.Success getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamsOuterClass.AppendResp.Success> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamsOuterClass.AppendResp.Success> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamsOuterClass.AppendResp.Success getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-