Class IngestionResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
dev.restate.ingestion.v1.IngestionResponse
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, IngestionResponseOrBuilder, Serializable
public final class IngestionResponse
extends com.google.protobuf.GeneratedMessage
implements IngestionResponseOrBuilder
Protobuf type
dev.restate.ingress.ingestion.v1.IngestionResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedev.restate.ingress.ingestion.v1.IngestionResponsestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic IngestionResponsestatic final com.google.protobuf.Descriptors.DescriptorgetError().dev.restate.ingress.ingestion.v1.Error error = 3;.dev.restate.ingress.ingestion.v1.Error error = 3;longAcknowledgement.com.google.protobuf.Parser<IngestionResponse> int.dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;.dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;booleanhasError().dev.restate.ingress.ingestion.v1.Error error = 3;inthashCode()booleanAcknowledgement.boolean.dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic IngestionResponse.Builderstatic IngestionResponse.BuildernewBuilder(IngestionResponse prototype) protected IngestionResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IngestionResponseparseDelimitedFrom(InputStream input) static IngestionResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionResponseparseFrom(byte[] data) static IngestionResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionResponseparseFrom(com.google.protobuf.ByteString data) static IngestionResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionResponseparseFrom(com.google.protobuf.CodedInputStream input) static IngestionResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionResponseparseFrom(InputStream input) static IngestionResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionResponseparseFrom(ByteBuffer data) static IngestionResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestionResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LAST_COMMITTED_FIELD_NUMBER
public static final int LAST_COMMITTED_FIELD_NUMBER- See Also:
-
WINDOW_UPDATE_FIELD_NUMBER
public static final int WINDOW_UPDATE_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResponseCase
- Specified by:
getResponseCasein interfaceIngestionResponseOrBuilder
-
hasLastCommitted
public boolean hasLastCommitted()Acknowledgement. When set, every record up to and including this offset has been committed. It is set on every response that has something to ack, including responses carrying an Error, so a client whose stream is torn down can always resume from the offset on the last response it saw. It is unset only when nothing has been committed yet on this stream. The field must be optional because offsets are 0-based: "offset 0 committed" has to stay distinguishable from "nothing committed", which matters when an error is returned on the very first ingestion message.
optional uint64 last_committed = 1;- Specified by:
hasLastCommittedin interfaceIngestionResponseOrBuilder- Returns:
- Whether the lastCommitted field is set.
-
getLastCommitted
public long getLastCommitted()Acknowledgement. When set, every record up to and including this offset has been committed. It is set on every response that has something to ack, including responses carrying an Error, so a client whose stream is torn down can always resume from the offset on the last response it saw. It is unset only when nothing has been committed yet on this stream. The field must be optional because offsets are 0-based: "offset 0 committed" has to stay distinguishable from "nothing committed", which matters when an error is returned on the very first ingestion message.
optional uint64 last_committed = 1;- Specified by:
getLastCommittedin interfaceIngestionResponseOrBuilder- Returns:
- The lastCommitted.
-
hasWindowUpdate
public boolean hasWindowUpdate().dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;- Specified by:
hasWindowUpdatein interfaceIngestionResponseOrBuilder- Returns:
- Whether the windowUpdate field is set.
-
getWindowUpdate
.dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;- Specified by:
getWindowUpdatein interfaceIngestionResponseOrBuilder- Returns:
- The windowUpdate.
-
getWindowUpdateOrBuilder
.dev.restate.ingress.ingestion.v1.WindowUpdate window_update = 2;- Specified by:
getWindowUpdateOrBuilderin interfaceIngestionResponseOrBuilder
-
hasError
public boolean hasError().dev.restate.ingress.ingestion.v1.Error error = 3;- Specified by:
hasErrorin interfaceIngestionResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
.dev.restate.ingress.ingestion.v1.Error error = 3;- Specified by:
getErrorin interfaceIngestionResponseOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
.dev.restate.ingress.ingestion.v1.Error error = 3;- Specified by:
getErrorOrBuilderin interfaceIngestionResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 IngestionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IngestionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IngestionResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-