Class DataSourceConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.DataSourceConfig
All Implemented Interfaces:
DataSourceConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataSourceConfig extends com.google.protobuf.GeneratedMessage implements DataSourceConfigOrBuilder
 DataSource configuration returned after authentication.
 This is a lightweight view for runtime use (no secrets, no full Drive details).
 
Protobuf type ai.pipestream.connector.intake.v1.DataSourceConfig
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    DataSource configuration returned after authentication.

    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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Metadata applied to all documents from this datasource.
    boolean
     
    Account owning this datasource.
    com.google.protobuf.ByteString
    Account owning this datasource.
    Connector type (e.g., "s3", "file-crawler").
    com.google.protobuf.ByteString
    Connector type (e.g., "s3", "file-crawler").
    DataSource identifier (deterministic).
    com.google.protobuf.ByteString
    DataSource identifier (deterministic).
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Drive name for storage (resolve via FilesystemService for S3 details).
    com.google.protobuf.ByteString
    Drive name for storage (resolve via FilesystemService for S3 details).
    long
    Maximum file size allowed in bytes.
    Deprecated.
    int
    Metadata applied to all documents from this datasource.
    Metadata applied to all documents from this datasource.
    getMetadataOrDefault(String key, String defaultValue)
    Metadata applied to all documents from this datasource.
    Metadata applied to all documents from this datasource.
    com.google.protobuf.Parser<DataSourceConfig>
     
    long
    Rate limit for uploads per minute.
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<DataSourceConfig>
     
     
    void
    writeTo(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, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • ACCOUNT_ID_FIELD_NUMBER

      public static final int ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • DATASOURCE_ID_FIELD_NUMBER

      public static final int DATASOURCE_ID_FIELD_NUMBER
      See Also:
    • CONNECTOR_ID_FIELD_NUMBER

      public static final int CONNECTOR_ID_FIELD_NUMBER
      See Also:
    • DRIVE_NAME_FIELD_NUMBER

      public static final int DRIVE_NAME_FIELD_NUMBER
      See Also:
    • MAX_FILE_SIZE_FIELD_NUMBER

      public static final int MAX_FILE_SIZE_FIELD_NUMBER
      See Also:
    • RATE_LIMIT_PER_MINUTE_FIELD_NUMBER

      public static final int RATE_LIMIT_PER_MINUTE_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAccountId

      public String getAccountId()
       Account owning this datasource.
       
      string account_id = 1 [json_name = "accountId"];
      Specified by:
      getAccountId in interface DataSourceConfigOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
       Account owning this datasource.
       
      string account_id = 1 [json_name = "accountId"];
      Specified by:
      getAccountIdBytes in interface DataSourceConfigOrBuilder
      Returns:
      The bytes for accountId.
    • getDatasourceId

      public String getDatasourceId()
       DataSource identifier (deterministic).
       
      string datasource_id = 2 [json_name = "datasourceId"];
      Specified by:
      getDatasourceId in interface DataSourceConfigOrBuilder
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

      public com.google.protobuf.ByteString getDatasourceIdBytes()
       DataSource identifier (deterministic).
       
      string datasource_id = 2 [json_name = "datasourceId"];
      Specified by:
      getDatasourceIdBytes in interface DataSourceConfigOrBuilder
      Returns:
      The bytes for datasourceId.
    • getConnectorId

      public String getConnectorId()
       Connector type (e.g., "s3", "file-crawler").
       
      string connector_id = 3 [json_name = "connectorId"];
      Specified by:
      getConnectorId in interface DataSourceConfigOrBuilder
      Returns:
      The connectorId.
    • getConnectorIdBytes

      public com.google.protobuf.ByteString getConnectorIdBytes()
       Connector type (e.g., "s3", "file-crawler").
       
      string connector_id = 3 [json_name = "connectorId"];
      Specified by:
      getConnectorIdBytes in interface DataSourceConfigOrBuilder
      Returns:
      The bytes for connectorId.
    • getDriveName

      public String getDriveName()
       Drive name for storage (resolve via FilesystemService for S3 details).
       
      string drive_name = 4 [json_name = "driveName"];
      Specified by:
      getDriveName in interface DataSourceConfigOrBuilder
      Returns:
      The driveName.
    • getDriveNameBytes

      public com.google.protobuf.ByteString getDriveNameBytes()
       Drive name for storage (resolve via FilesystemService for S3 details).
       
      string drive_name = 4 [json_name = "driveName"];
      Specified by:
      getDriveNameBytes in interface DataSourceConfigOrBuilder
      Returns:
      The bytes for driveName.
    • getMaxFileSize

      public long getMaxFileSize()
       Maximum file size allowed in bytes.
       
      int64 max_file_size = 5 [json_name = "maxFileSize"];
      Specified by:
      getMaxFileSize in interface DataSourceConfigOrBuilder
      Returns:
      The maxFileSize.
    • getRateLimitPerMinute

      public long getRateLimitPerMinute()
       Rate limit for uploads per minute.
       
      int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];
      Specified by:
      getRateLimitPerMinute in interface DataSourceConfigOrBuilder
      Returns:
      The rateLimitPerMinute.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: DataSourceConfigOrBuilder
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface DataSourceConfigOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface DataSourceConfigOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface DataSourceConfigOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface DataSourceConfigOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface DataSourceConfigOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface DataSourceConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataSourceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSourceConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataSourceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataSourceConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataSourceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataSourceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataSourceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataSourceConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataSourceConfig.Builder newBuilder()
    • newBuilder

      public static DataSourceConfig.Builder newBuilder(DataSourceConfig prototype)
    • toBuilder

      public DataSourceConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataSourceConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataSourceConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataSourceConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataSourceConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataSourceConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder