Interface DataSourceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Metadata applied to all documents from this datasource.
    Account that owns this datasource.
    com.google.protobuf.ByteString
    Account that owns this datasource.
    boolean
    Whether this datasource is active.
    Generated API key for authentication (hashed in storage, plaintext only on creation).
    com.google.protobuf.ByteString
    Generated API key for authentication (hashed in storage, plaintext only on creation).
    Connector type this datasource uses.
    com.google.protobuf.ByteString
    Connector type this datasource uses.
    com.google.protobuf.Timestamp
    Timestamp when datasource was created.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when datasource was created.
    Unique datasource identifier.
    com.google.protobuf.ByteString
    Unique datasource identifier.
    Drive name for document storage (references Drive entity in FilesystemService).
    com.google.protobuf.ByteString
    Drive name for document storage (references Drive entity in FilesystemService).
    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.
    Human-readable datasource name.
    com.google.protobuf.ByteString
    Human-readable datasource name.
    long
    Rate limit for uploads per minute.
    com.google.protobuf.Timestamp
    Timestamp when datasource was last updated.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when datasource was last updated.
    boolean
    Timestamp when datasource was created.
    boolean
    Timestamp when datasource was last updated.

    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

    • getDatasourceId

      String getDatasourceId()
       Unique datasource identifier.
       Deterministic: hash(account_id + connector_id)
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

      com.google.protobuf.ByteString getDatasourceIdBytes()
       Unique datasource identifier.
       Deterministic: hash(account_id + connector_id)
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Returns:
      The bytes for datasourceId.
    • getAccountId

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

      com.google.protobuf.ByteString getAccountIdBytes()
       Account that owns this datasource.
       
      string account_id = 2 [json_name = "accountId"];
      Returns:
      The bytes for accountId.
    • getConnectorId

      String getConnectorId()
       Connector type this datasource uses.
       
      string connector_id = 3 [json_name = "connectorId"];
      Returns:
      The connectorId.
    • getConnectorIdBytes

      com.google.protobuf.ByteString getConnectorIdBytes()
       Connector type this datasource uses.
       
      string connector_id = 3 [json_name = "connectorId"];
      Returns:
      The bytes for connectorId.
    • getName

      String getName()
       Human-readable datasource name.
       
      string name = 4 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Human-readable datasource name.
       
      string name = 4 [json_name = "name"];
      Returns:
      The bytes for name.
    • getApiKey

      String getApiKey()
       Generated API key for authentication (hashed in storage, plaintext only on creation).
       
      string api_key = 5 [json_name = "apiKey"];
      Returns:
      The apiKey.
    • getApiKeyBytes

      com.google.protobuf.ByteString getApiKeyBytes()
       Generated API key for authentication (hashed in storage, plaintext only on creation).
       
      string api_key = 5 [json_name = "apiKey"];
      Returns:
      The bytes for apiKey.
    • getDriveName

      String getDriveName()
       Drive name for document storage (references Drive entity in FilesystemService).
       The Drive contains S3 bucket, KMS keys, and credentials via Infisical.
       
      string drive_name = 6 [json_name = "driveName"];
      Returns:
      The driveName.
    • getDriveNameBytes

      com.google.protobuf.ByteString getDriveNameBytes()
       Drive name for document storage (references Drive entity in FilesystemService).
       The Drive contains S3 bucket, KMS keys, and credentials via Infisical.
       
      string drive_name = 6 [json_name = "driveName"];
      Returns:
      The bytes for driveName.
    • 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"];
    • getMaxFileSize

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

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

      boolean getActive()
       Whether this datasource is active.
       
      bool active = 10 [json_name = "active"];
      Returns:
      The active.
    • hasCreatedAt

      boolean hasCreatedAt()
       Timestamp when datasource was created.
       
      .google.protobuf.Timestamp created_at = 11 [json_name = "createdAt"];
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      com.google.protobuf.Timestamp getCreatedAt()
       Timestamp when datasource was created.
       
      .google.protobuf.Timestamp created_at = 11 [json_name = "createdAt"];
      Returns:
      The createdAt.
    • getCreatedAtOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       Timestamp when datasource was created.
       
      .google.protobuf.Timestamp created_at = 11 [json_name = "createdAt"];
    • hasUpdatedAt

      boolean hasUpdatedAt()
       Timestamp when datasource was last updated.
       
      .google.protobuf.Timestamp updated_at = 12 [json_name = "updatedAt"];
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      com.google.protobuf.Timestamp getUpdatedAt()
       Timestamp when datasource was last updated.
       
      .google.protobuf.Timestamp updated_at = 12 [json_name = "updatedAt"];
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
       Timestamp when datasource was last updated.
       
      .google.protobuf.Timestamp updated_at = 12 [json_name = "updatedAt"];