Package ai.pipestream.data.v1
Class IngestionConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<IngestionConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<IngestionConfig.Builder>
ai.pipestream.data.v1.IngestionConfig.Builder
- All Implemented Interfaces:
IngestionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
IngestionConfig
public static final class IngestionConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IngestionConfig.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Connector-specific custom configuration.Hydration policy for blob handling during processing.How the document entered the pipeline.Routing hints for downstream processing.com.google.protobuf.StructConnector-specific custom configuration.com.google.protobuf.Struct.BuilderConnector-specific custom configuration.com.google.protobuf.StructOrBuilderConnector-specific custom configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHydration policy for blob handling during processing.Hydration 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.Routing hints for downstream processing.booleanConnector-specific custom configuration.booleanHydration policy for blob handling during processing.booleanRouting hints for downstream processing.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCustomConfig(com.google.protobuf.Struct value) Connector-specific custom configuration.mergeFrom(IngestionConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Hydration policy for blob handling during processing.mergeOutputHints(OutputHints value) Routing hints for downstream processing.setCustomConfig(com.google.protobuf.Struct value) Connector-specific custom configuration.setCustomConfig(com.google.protobuf.Struct.Builder builderForValue) Connector-specific custom configuration.Hydration policy for blob handling during processing.setHydrationConfig(HydrationConfig.Builder builderForValue) Hydration policy for blob handling during processing.setIngressMode(IngressMode value) How the document entered the pipeline.setIngressModeValue(int value) How the document entered the pipeline.setOutputHints(OutputHints value) Routing hints for downstream processing.setOutputHints(OutputHints.Builder builderForValue) Routing hints for downstream processing.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<IngestionConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IngestionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IngestionConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IngestionConfig.Builder>
-
mergeFrom
public IngestionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionConfig.Builder>- Throws:
IOException
-
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.
-
setIngressModeValue
How the document entered the pipeline.
.ai.pipestream.data.v1.IngressMode ingress_mode = 1 [json_name = "ingressMode"];- Parameters:
value- The enum numeric value on the wire for ingressMode to set.- Returns:
- This builder for chaining.
-
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.
-
setIngressMode
How the document entered the pipeline.
.ai.pipestream.data.v1.IngressMode ingress_mode = 1 [json_name = "ingressMode"];- Parameters:
value- The ingressMode to set.- Returns:
- This builder for chaining.
-
clearIngressMode
How the document entered the pipeline.
.ai.pipestream.data.v1.IngressMode ingress_mode = 1 [json_name = "ingressMode"];- Returns:
- This builder for chaining.
-
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.
-
setHydrationConfig
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"]; -
setHydrationConfig
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"]; -
mergeHydrationConfig
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"]; -
clearHydrationConfig
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"]; -
getHydrationConfigBuilder
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"]; -
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.
-
setOutputHints
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"]; -
setOutputHints
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"]; -
mergeOutputHints
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"]; -
clearOutputHints
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"]; -
getOutputHintsBuilder
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"]; -
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.
-
setCustomConfig
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"]; -
setCustomConfig
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"]; -
mergeCustomConfig
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"]; -
clearCustomConfig
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"]; -
getCustomConfigBuilder
public com.google.protobuf.Struct.Builder getCustomConfigBuilder()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"]; -
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
-