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 TypeMethodDescriptionbooleancontainsMetadata(String key) Metadata to apply to all documents from this datasource.Account that will own this datasource.com.google.protobuf.ByteStringAccount that will own this datasource.Connector type to bind (e.g., "s3", "file-crawler").com.google.protobuf.ByteStringConnector type to bind (e.g., "s3", "file-crawler").Drive name for document storage (must exist, created via FilesystemService).com.google.protobuf.ByteStringDrive name for document storage (must exist, created via FilesystemService).longMaximum file size allowed in bytes (0 = no limit).Deprecated.intMetadata 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.getMetadataOrThrow(String key) Metadata to apply to all documents from this datasource.getName()Human-readable datasource name.com.google.protobuf.ByteStringHuman-readable datasource name.longRate limit for uploads per minute (0 = no limit).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 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
Metadata to apply to all documents from this datasource.
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Metadata to apply to all documents from this datasource.
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadataOrDefault
Metadata to apply to all documents from this datasource.
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadataOrThrow
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.
-