Class IngestionStart
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
dev.restate.ingestion.v1.IngestionStart
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, IngestionStartOrBuilder, Serializable
public final class IngestionStart
extends com.google.protobuf.GeneratedMessage
implements IngestionStartOrBuilder
Required. A Start frame must be sent before any IngestionDefaults or IngestionInvocation frame. Sending a Start frame again during the lifetime of the stream is illegal: the server will return an error and terminate the stream. Invalid Start message will cause an error to be returned immediately, and stream to be teared down immediatelyProtobuf type
dev.restate.ingress.ingestion.v1.IngestionStart- See Also:
-
Nested Class Summary
Nested ClassesNested 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 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 TypeMethodDescriptionbooleanDeduplication strategy for this stream.intDeduplication strategy for this stream.static IngestionStartInitial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame.Initial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame.static final com.google.protobuf.Descriptors.DescriptorIntegration identification in format `name/version` Max length is 64 bytescom.google.protobuf.ByteStringIntegration identification in format `name/version` Max length is 64 bytescom.google.protobuf.Parser<IngestionStart> Stable identity of the *producer*, not of this particular stream.com.google.protobuf.ByteStringStable identity of the *producer*, not of this particular stream.intbooleanInitial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic IngestionStart.Builderstatic IngestionStart.BuildernewBuilder(IngestionStart prototype) protected IngestionStart.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IngestionStartparseDelimitedFrom(InputStream input) static IngestionStartparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionStartparseFrom(byte[] data) static IngestionStartparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionStartparseFrom(com.google.protobuf.ByteString data) static IngestionStartparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionStartparseFrom(com.google.protobuf.CodedInputStream input) static IngestionStartparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionStartparseFrom(InputStream input) static IngestionStartparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionStartparseFrom(ByteBuffer data) static IngestionStartparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestionStart> 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
-
PRODUCER_ID_FIELD_NUMBER
public static final int PRODUCER_ID_FIELD_NUMBER- See Also:
-
INTEGRATION_FIELD_NUMBER
public static final int INTEGRATION_FIELD_NUMBER- See Also:
-
DEDUPLICATION_MODE_FIELD_NUMBER
public static final int DEDUPLICATION_MODE_FIELD_NUMBER- See Also:
-
DEFAULTS_FIELD_NUMBER
public static final int DEFAULTS_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
-
getProducerId
Stable identity of the *producer*, not of this particular stream. The ID is an opaque string: this API is generic, so the server attaches no format or meaning to it. It is entirely up to the producer to pick an ID that uniquely identifies a single source of sequential, ordered messages, since offsets are only meaningful relative to that source. For a Kafka-based producer, for instance, an ID composed of cluster + topic + consumer-group + partition would identify such a source. Depending on the DedupMode, the same producer must reuse the same ID across streams (including after reconnects), otherwise deduplication cannot work: the server tracks committed offsets per producer ID, so a new ID starts a fresh deduplication state and previously committed records may be duplicated. The ID must be unique across producers: two distinct producers sharing an ID will be treated as one and will shadow each other's offsets. Max length is 256 bytes.
string producer_id = 1;- Specified by:
getProducerIdin interfaceIngestionStartOrBuilder- Returns:
- The producerId.
-
getProducerIdBytes
public com.google.protobuf.ByteString getProducerIdBytes()Stable identity of the *producer*, not of this particular stream. The ID is an opaque string: this API is generic, so the server attaches no format or meaning to it. It is entirely up to the producer to pick an ID that uniquely identifies a single source of sequential, ordered messages, since offsets are only meaningful relative to that source. For a Kafka-based producer, for instance, an ID composed of cluster + topic + consumer-group + partition would identify such a source. Depending on the DedupMode, the same producer must reuse the same ID across streams (including after reconnects), otherwise deduplication cannot work: the server tracks committed offsets per producer ID, so a new ID starts a fresh deduplication state and previously committed records may be duplicated. The ID must be unique across producers: two distinct producers sharing an ID will be treated as one and will shadow each other's offsets. Max length is 256 bytes.
string producer_id = 1;- Specified by:
getProducerIdBytesin interfaceIngestionStartOrBuilder- Returns:
- The bytes for producerId.
-
getIntegration
Integration identification in format `name/version` Max length is 64 bytes
string integration = 2;- Specified by:
getIntegrationin interfaceIngestionStartOrBuilder- Returns:
- The integration.
-
getIntegrationBytes
public com.google.protobuf.ByteString getIntegrationBytes()Integration identification in format `name/version` Max length is 64 bytes
string integration = 2;- Specified by:
getIntegrationBytesin interfaceIngestionStartOrBuilder- Returns:
- The bytes for integration.
-
getDeduplicationModeValue
public int getDeduplicationModeValue()Deduplication strategy for this stream. Defaults to `DISABLED`.
.dev.restate.ingress.ingestion.v1.DeduplicationMode deduplication_mode = 3;- Specified by:
getDeduplicationModeValuein interfaceIngestionStartOrBuilder- Returns:
- The enum numeric value on the wire for deduplicationMode.
-
getDeduplicationMode
Deduplication strategy for this stream. Defaults to `DISABLED`.
.dev.restate.ingress.ingestion.v1.DeduplicationMode deduplication_mode = 3;- Specified by:
getDeduplicationModein interfaceIngestionStartOrBuilder- Returns:
- The deduplicationMode.
-
hasDefaults
public boolean hasDefaults()Initial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame. Clients can still send further IngestionDefaults frames later to update these defaults during the stream.
.dev.restate.ingress.ingestion.v1.IngestionDefaults defaults = 4;- Specified by:
hasDefaultsin interfaceIngestionStartOrBuilder- Returns:
- Whether the defaults field is set.
-
getDefaults
Initial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame. Clients can still send further IngestionDefaults frames later to update these defaults during the stream.
.dev.restate.ingress.ingestion.v1.IngestionDefaults defaults = 4;- Specified by:
getDefaultsin interfaceIngestionStartOrBuilder- Returns:
- The defaults.
-
getDefaultsOrBuilder
Initial ingestion defaults for the stream, letting the client establish its defaults up front instead of following the Start frame with a separate IngestionDefaults frame. Clients can still send further IngestionDefaults frames later to update these defaults during the stream.
.dev.restate.ingress.ingestion.v1.IngestionDefaults defaults = 4;- Specified by:
getDefaultsOrBuilderin interfaceIngestionStartOrBuilder
-
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 IngestionStart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionStart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionStart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionStart parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionStart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionStart parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestionStart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IngestionStart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionStart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionStart 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 IngestionStart.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
-