Class DataSourceConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.DataSourceConfig
- All Implemented Interfaces:
DataSourceConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataSourceConfig
extends com.google.protobuf.GeneratedMessage
implements DataSourceConfigOrBuilder
DataSource configuration returned after authentication. This is a lightweight view for runtime use (no secrets, no full Drive details).Protobuf type
ai.pipestream.connector.intake.v1.DataSourceConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDataSource configuration returned after authentication.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Metadata applied to all documents from this datasource.booleanAccount 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).static DataSourceConfigstatic final com.google.protobuf.Descriptors.DescriptorDrive 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.com.google.protobuf.Parser<DataSourceConfig> longRate limit for uploads per minute.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic DataSourceConfig.Builderstatic DataSourceConfig.BuildernewBuilder(DataSourceConfig prototype) protected DataSourceConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataSourceConfigparseDelimitedFrom(InputStream input) static DataSourceConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceConfigparseFrom(byte[] data) static DataSourceConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceConfigparseFrom(com.google.protobuf.ByteString data) static DataSourceConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceConfigparseFrom(com.google.protobuf.CodedInputStream input) static DataSourceConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceConfigparseFrom(InputStream input) static DataSourceConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceConfigparseFrom(ByteBuffer data) static DataSourceConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataSourceConfig> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
DATASOURCE_ID_FIELD_NUMBER
public static final int DATASOURCE_ID_FIELD_NUMBER- See Also:
-
CONNECTOR_ID_FIELD_NUMBER
public static final int CONNECTOR_ID_FIELD_NUMBER- See Also:
-
DRIVE_NAME_FIELD_NUMBER
public static final int DRIVE_NAME_FIELD_NUMBER- See Also:
-
MAX_FILE_SIZE_FIELD_NUMBER
public static final int MAX_FILE_SIZE_FIELD_NUMBER- See Also:
-
RATE_LIMIT_PER_MINUTE_FIELD_NUMBER
public static final int RATE_LIMIT_PER_MINUTE_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAccountId
Account owning this datasource.
string account_id = 1 [json_name = "accountId"];- Specified by:
getAccountIdin interfaceDataSourceConfigOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()Account owning this datasource.
string account_id = 1 [json_name = "accountId"];- Specified by:
getAccountIdBytesin interfaceDataSourceConfigOrBuilder- Returns:
- The bytes for accountId.
-
getDatasourceId
DataSource identifier (deterministic).
string datasource_id = 2 [json_name = "datasourceId"];- Specified by:
getDatasourceIdin interfaceDataSourceConfigOrBuilder- Returns:
- The datasourceId.
-
getDatasourceIdBytes
public com.google.protobuf.ByteString getDatasourceIdBytes()DataSource identifier (deterministic).
string datasource_id = 2 [json_name = "datasourceId"];- Specified by:
getDatasourceIdBytesin interfaceDataSourceConfigOrBuilder- Returns:
- The bytes for datasourceId.
-
getConnectorId
Connector type (e.g., "s3", "file-crawler").
string connector_id = 3 [json_name = "connectorId"];- Specified by:
getConnectorIdin interfaceDataSourceConfigOrBuilder- Returns:
- The connectorId.
-
getConnectorIdBytes
public com.google.protobuf.ByteString getConnectorIdBytes()Connector type (e.g., "s3", "file-crawler").
string connector_id = 3 [json_name = "connectorId"];- Specified by:
getConnectorIdBytesin interfaceDataSourceConfigOrBuilder- Returns:
- The bytes for connectorId.
-
getDriveName
Drive name for storage (resolve via FilesystemService for S3 details).
string drive_name = 4 [json_name = "driveName"];- Specified by:
getDriveNamein interfaceDataSourceConfigOrBuilder- Returns:
- The driveName.
-
getDriveNameBytes
public com.google.protobuf.ByteString getDriveNameBytes()Drive name for storage (resolve via FilesystemService for S3 details).
string drive_name = 4 [json_name = "driveName"];- Specified by:
getDriveNameBytesin interfaceDataSourceConfigOrBuilder- Returns:
- The bytes for driveName.
-
getMaxFileSize
public long getMaxFileSize()Maximum file size allowed in bytes.
int64 max_file_size = 5 [json_name = "maxFileSize"];- Specified by:
getMaxFileSizein interfaceDataSourceConfigOrBuilder- Returns:
- The maxFileSize.
-
getRateLimitPerMinute
public long getRateLimitPerMinute()Rate limit for uploads per minute.
int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];- Specified by:
getRateLimitPerMinutein interfaceDataSourceConfigOrBuilder- Returns:
- The rateLimitPerMinute.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DataSourceConfigOrBuilderMetadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceDataSourceConfigOrBuilder
-
containsMetadata
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceDataSourceConfigOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDataSourceConfigOrBuilder
-
getMetadataMap
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceDataSourceConfigOrBuilder
-
getMetadataOrDefault
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceDataSourceConfigOrBuilder
-
getMetadataOrThrow
Metadata applied to all documents from this datasource.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceDataSourceConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataSourceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSourceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataSourceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataSourceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataSourceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataSourceConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-