Record Class ConfigResolutionService.ResolvedConfig
java.lang.Object
java.lang.Record
ai.pipestream.connector.intake.service.ConfigResolutionService.ResolvedConfig
- Record Components:
tier1Config- The raw Tier 1 configuration from datasource-adminingestionConfig- The base ingestion configuration built from Tier 1 settings
- Enclosing class:
ConfigResolutionService
public static record ConfigResolutionService.ResolvedConfig(ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config, ai.pipestream.data.v1.IngestionConfig ingestionConfig)
extends Record
Resolved configuration containing Tier 1 config and base IngestionConfig.
Note: This is Tier 1 only. Engine merges Tier 2 during IntakeHandoff.
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedConfig(ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config, ai.pipestream.data.v1.IngestionConfig ingestionConfig) Creates an instance of aResolvedConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ai.pipestream.data.v1.IngestionConfigReturns the value of theingestionConfigrecord component.booleanCheck if persistence is enabled for gRPC PipeDoc uploads.ai.pipestream.connector.intake.v1.DataSourceConfigReturns the value of thetier1Configrecord component.final StringtoString()Returns a string representation of this record class.ai.pipestream.data.v1.IngestionConfigwithIngressMode(ai.pipestream.data.v1.IngressMode mode) Get a copy of ingestionConfig with the specified ingress mode.
-
Constructor Details
-
ResolvedConfig
public ResolvedConfig(ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config, ai.pipestream.data.v1.IngestionConfig ingestionConfig) Creates an instance of aResolvedConfigrecord class.- Parameters:
tier1Config- the value for thetier1Configrecord componentingestionConfig- the value for theingestionConfigrecord component
-
-
Method Details
-
shouldPersist
public boolean shouldPersist()Check if persistence is enabled for gRPC PipeDoc uploads.This is a Tier 1 setting from datasource-admin.
- Returns:
- true if PipeDoc persistence is enabled, false otherwise
-
withIngressMode
public ai.pipestream.data.v1.IngestionConfig withIngressMode(ai.pipestream.data.v1.IngressMode mode) Get a copy of ingestionConfig with the specified ingress mode.- Parameters:
mode- The ingress mode to set (e.g., GRPC, BLOB)- Returns:
- A new IngestionConfig instance with the updated mode
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
tier1Config
public ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config()Returns the value of thetier1Configrecord component.- Returns:
- the value of the
tier1Configrecord component
-
ingestionConfig
public ai.pipestream.data.v1.IngestionConfig ingestionConfig()Returns the value of theingestionConfigrecord component.- Returns:
- the value of the
ingestionConfigrecord component
-