Interface CreateDataSourceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Metadata to apply to all documents from this datasource.
    Account that will own this datasource.
    com.google.protobuf.ByteString
    Account that will own this datasource.
    Connector type to bind (e.g., "s3", "file-crawler").
    com.google.protobuf.ByteString
    Connector type to bind (e.g., "s3", "file-crawler").
    Drive name for document storage (must exist, created via FilesystemService).
    com.google.protobuf.ByteString
    Drive name for document storage (must exist, created via FilesystemService).
    long
    Maximum file size allowed in bytes (0 = no limit).
    Deprecated.
    int
    Metadata to apply to all documents from this datasource.
    Metadata to apply to all documents from this datasource.
    getMetadataOrDefault(String key, String defaultValue)
    Metadata to apply to all documents from this datasource.
    Metadata to apply 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 (0 = no limit).

    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 that will own this datasource.
       
      string account_id = 1 [json_name = "accountId"];
      Returns:
      The accountId.
    • getAccountIdBytes

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

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

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

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

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

      String getDriveName()
       Drive name for document storage (must exist, created via FilesystemService).
       
      string drive_name = 4 [json_name = "driveName"];
      Returns:
      The driveName.
    • getDriveNameBytes

      com.google.protobuf.ByteString getDriveNameBytes()
       Drive name for document storage (must exist, created via FilesystemService).
       
      string drive_name = 4 [json_name = "driveName"];
      Returns:
      The bytes for driveName.
    • getMetadataCount

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

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

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

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

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

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

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

      long getRateLimitPerMinute()
       Rate limit for uploads per minute (0 = no limit).
       
      int64 rate_limit_per_minute = 7 [json_name = "rateLimitPerMinute"];
      Returns:
      The rateLimitPerMinute.