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 TypeMethodDescriptionbooleancontainsMetadata(String key) Metadata applied to all documents from this datasource.Account that owns this datasource.com.google.protobuf.ByteStringAccount that owns this datasource.booleanWhether this datasource is active.Generated API key for authentication (hashed in storage, plaintext only on creation).com.google.protobuf.ByteStringGenerated API key for authentication (hashed in storage, plaintext only on creation).Connector type this datasource uses.com.google.protobuf.ByteStringConnector type this datasource uses.com.google.protobuf.TimestampTimestamp when datasource was created.com.google.protobuf.TimestampOrBuilderTimestamp when datasource was created.Unique datasource identifier.com.google.protobuf.ByteStringUnique datasource identifier.Drive name for document storage (references Drive entity in FilesystemService).com.google.protobuf.ByteStringDrive name for document storage (references Drive entity in FilesystemService).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.getName()Human-readable datasource name.com.google.protobuf.ByteStringHuman-readable datasource name.longRate limit for uploads per minute.com.google.protobuf.TimestampTimestamp when datasource was last updated.com.google.protobuf.TimestampOrBuilderTimestamp when datasource was last updated.booleanTimestamp when datasource was created.booleanTimestamp when datasource was last updated.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
-
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
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"]; -
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"];
-