Interface DataSourceConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataSourceConfig, DataSourceConfig.Builder

@Generated public interface DataSourceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Metadata applied to all documents from this datasource.
    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).
    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.
    long
    Rate limit for uploads per minute.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getAccountId

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

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

      String getDatasourceId()
       DataSource identifier (deterministic).
       
      string datasource_id = 2 [json_name = "datasourceId"];
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

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

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

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

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

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

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

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

      int getMetadataCount()
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • containsMetadata

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

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

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

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

      String getMetadataOrThrow(String key)
       Metadata applied to all documents from this datasource.
       
      map<string, string> metadata = 7 [json_name = "metadata"];