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 TypeMethodDescriptionbooleancontainsMetadata(String key) Metadata applied to all documents from this datasource.Account owning this datasource.com.google.protobuf.ByteStringAccount owning this datasource.Connector type (e.g., "s3", "file-crawler").com.google.protobuf.ByteStringConnector type (e.g., "s3", "file-crawler").DataSource identifier (deterministic).com.google.protobuf.ByteStringDataSource identifier (deterministic).Drive name for storage (resolve via FilesystemService for S3 details).com.google.protobuf.ByteStringDrive name for storage (resolve via FilesystemService for S3 details).longMaximum file size allowed in bytes.Deprecated.intMetadata 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.getMetadataOrThrow(String key) Metadata applied to all documents from this datasource.longRate limit for uploads per minute.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadataOrDefault
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"]; -
getMetadataOrThrow
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];
-