Record Class ConfigResolutionService.ResolvedConfig

java.lang.Object
java.lang.Record
ai.pipeline.connector.intake.service.ConfigResolutionService.ResolvedConfig
Record Components:
tier1Config - The raw Tier 1 configuration from datasource-admin
ingestionConfig - 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

    Constructors
    Constructor
    Description
    ResolvedConfig(ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config, ai.pipestream.data.v1.IngestionConfig ingestionConfig)
    Creates an instance of a ResolvedConfig record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    ai.pipestream.data.v1.IngestionConfig
    Returns the value of the ingestionConfig record component.
    boolean
    Check if persistence is enabled for gRPC PipeDoc uploads.
    ai.pipestream.connector.intake.v1.DataSourceConfig
    Returns the value of the tier1Config record component.
    final String
    Returns a string representation of this record class.
    ai.pipestream.data.v1.IngestionConfig
    withIngressMode(ai.pipestream.data.v1.IngressMode mode)
    Get a copy of ingestionConfig with the specified ingress mode.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ResolvedConfig

      public ResolvedConfig(ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config, ai.pipestream.data.v1.IngestionConfig ingestionConfig)
      Creates an instance of a ResolvedConfig record class.
      Parameters:
      tier1Config - the value for the tier1Config record component
      ingestionConfig - the value for the ingestionConfig record 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

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tier1Config

      public ai.pipestream.connector.intake.v1.DataSourceConfig tier1Config()
      Returns the value of the tier1Config record component.
      Returns:
      the value of the tier1Config record component
    • ingestionConfig

      public ai.pipestream.data.v1.IngestionConfig ingestionConfig()
      Returns the value of the ingestionConfig record component.
      Returns:
      the value of the ingestionConfig record component