Package ai.pipestream.data.v1
Class IngestionConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.IngestionConfig
- All Implemented Interfaces:
IngestionConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class IngestionConfig
extends com.google.protobuf.GeneratedMessage
implements IngestionConfigOrBuilder
Ingestion configuration from connector-intake-service. Contains the resolved 2-tier configuration (Tier 1 + Tier 2 merged) that controls how a document is processed through the pipeline. Built by connector-intake-service and passed to the engine via StreamMetadata.Protobuf type
ai.pipestream.data.v1.IngestionConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classIngestion configuration from connector-intake-service.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 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 TypeMethodDescriptionbooleancom.google.protobuf.StructConnector-specific custom configuration.com.google.protobuf.StructOrBuilderConnector-specific custom configuration.static IngestionConfigstatic final com.google.protobuf.Descriptors.DescriptorHydration policy for blob handling during processing.Hydration policy for blob handling during processing.How the document entered the pipeline.intHow the document entered the pipeline.Routing hints for downstream processing.Routing hints for downstream processing.com.google.protobuf.Parser<IngestionConfig> intbooleanConnector-specific custom configuration.inthashCode()booleanHydration policy for blob handling during processing.booleanRouting hints for downstream processing.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic IngestionConfig.Builderstatic IngestionConfig.BuildernewBuilder(IngestionConfig prototype) protected IngestionConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IngestionConfigparseDelimitedFrom(InputStream input) static IngestionConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionConfigparseFrom(byte[] data) static IngestionConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionConfigparseFrom(com.google.protobuf.ByteString data) static IngestionConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionConfigparseFrom(com.google.protobuf.CodedInputStream input) static IngestionConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionConfigparseFrom(InputStream input) static IngestionConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionConfigparseFrom(ByteBuffer data) static IngestionConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestionConfig> 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
INGRESS_MODE_FIELD_NUMBER
public static final int INGRESS_MODE_FIELD_NUMBER- See Also:
-
HYDRATION_CONFIG_FIELD_NUMBER
public static final int HYDRATION_CONFIG_FIELD_NUMBER- See Also:
-
OUTPUT_HINTS_FIELD_NUMBER
public static final int OUTPUT_HINTS_FIELD_NUMBER- See Also:
-
CUSTOM_CONFIG_FIELD_NUMBER
public static final int CUSTOM_CONFIG_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
-
getIngressModeValue
public int getIngressModeValue()How the document entered the pipeline.
.ai.pipestream.data.v1.IngressMode ingress_mode = 1 [json_name = "ingressMode"];- Specified by:
getIngressModeValuein interfaceIngestionConfigOrBuilder- Returns:
- The enum numeric value on the wire for ingressMode.
-
getIngressMode
How the document entered the pipeline.
.ai.pipestream.data.v1.IngressMode ingress_mode = 1 [json_name = "ingressMode"];- Specified by:
getIngressModein interfaceIngestionConfigOrBuilder- Returns:
- The ingressMode.
-
hasHydrationConfig
public boolean hasHydrationConfig()Hydration policy for blob handling during processing. Resolved from Tier 1 (DataSource) + Tier 2 (DatasourceInstance) config.
.ai.pipestream.data.v1.HydrationConfig hydration_config = 2 [json_name = "hydrationConfig"];- Specified by:
hasHydrationConfigin interfaceIngestionConfigOrBuilder- Returns:
- Whether the hydrationConfig field is set.
-
getHydrationConfig
Hydration policy for blob handling during processing. Resolved from Tier 1 (DataSource) + Tier 2 (DatasourceInstance) config.
.ai.pipestream.data.v1.HydrationConfig hydration_config = 2 [json_name = "hydrationConfig"];- Specified by:
getHydrationConfigin interfaceIngestionConfigOrBuilder- Returns:
- The hydrationConfig.
-
getHydrationConfigOrBuilder
Hydration policy for blob handling during processing. Resolved from Tier 1 (DataSource) + Tier 2 (DatasourceInstance) config.
.ai.pipestream.data.v1.HydrationConfig hydration_config = 2 [json_name = "hydrationConfig"];- Specified by:
getHydrationConfigOrBuilderin interfaceIngestionConfigOrBuilder
-
hasOutputHints
public boolean hasOutputHints()Routing hints for downstream processing. From Tier 2 (DatasourceInstance) config - specifies target collection and other routing hints for modules.
.ai.pipestream.data.v1.OutputHints output_hints = 3 [json_name = "outputHints"];- Specified by:
hasOutputHintsin interfaceIngestionConfigOrBuilder- Returns:
- Whether the outputHints field is set.
-
getOutputHints
Routing hints for downstream processing. From Tier 2 (DatasourceInstance) config - specifies target collection and other routing hints for modules.
.ai.pipestream.data.v1.OutputHints output_hints = 3 [json_name = "outputHints"];- Specified by:
getOutputHintsin interfaceIngestionConfigOrBuilder- Returns:
- The outputHints.
-
getOutputHintsOrBuilder
Routing hints for downstream processing. From Tier 2 (DatasourceInstance) config - specifies target collection and other routing hints for modules.
.ai.pipestream.data.v1.OutputHints output_hints = 3 [json_name = "outputHints"];- Specified by:
getOutputHintsOrBuilderin interfaceIngestionConfigOrBuilder
-
hasCustomConfig
public boolean hasCustomConfig()Connector-specific custom configuration. Merged from Tier 1 + Tier 2 custom_config fields. This is the only configuration that uses JSON Schema validation (connector-specific).
.google.protobuf.Struct custom_config = 4 [json_name = "customConfig"];- Specified by:
hasCustomConfigin interfaceIngestionConfigOrBuilder- Returns:
- Whether the customConfig field is set.
-
getCustomConfig
public com.google.protobuf.Struct getCustomConfig()Connector-specific custom configuration. Merged from Tier 1 + Tier 2 custom_config fields. This is the only configuration that uses JSON Schema validation (connector-specific).
.google.protobuf.Struct custom_config = 4 [json_name = "customConfig"];- Specified by:
getCustomConfigin interfaceIngestionConfigOrBuilder- Returns:
- The customConfig.
-
getCustomConfigOrBuilder
public com.google.protobuf.StructOrBuilder getCustomConfigOrBuilder()Connector-specific custom configuration. Merged from Tier 1 + Tier 2 custom_config fields. This is the only configuration that uses JSON Schema validation (connector-specific).
.google.protobuf.Struct custom_config = 4 [json_name = "customConfig"];- Specified by:
getCustomConfigOrBuilderin interfaceIngestionConfigOrBuilder
-
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 IngestionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IngestionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionConfig 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 IngestionConfig.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
-