Package ai.pipestream.events.v1
Interface DocumentUploadedEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentUploadedEvent,DocumentUploadedEvent.Builder
@Generated
public interface DocumentUploadedEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Additional metadata key-value pairsAccount ID that owns this documentcom.google.protobuf.ByteStringAccount ID that owns this documentConnector ID that uploaded this documentcom.google.protobuf.ByteStringConnector ID that uploaded this documentcom.google.protobuf.TimestampWhen the document was originally created (from source system)com.google.protobuf.TimestampOrBuilderWhen the document was originally created (from source system)getDocId()Unique document identifiercom.google.protobuf.ByteStringUnique document identifierOriginal filename of the documentcom.google.protobuf.ByteStringOriginal filename of the documentcom.google.protobuf.TimestampWhen the document was last modified (from source system)com.google.protobuf.TimestampOrBuilderWhen the document was last modified (from source system)Deprecated.intAdditional metadata key-value pairsAdditional metadata key-value pairsgetMetadataOrDefault(String key, String defaultValue) Additional metadata key-value pairsgetMetadataOrThrow(String key) Additional metadata key-value pairsMIME type of the documentcom.google.protobuf.ByteStringMIME type of the documentgetPath()Virtual path in the connector's namespacecom.google.protobuf.ByteStringVirtual path in the connector's namespacegetS3Key()S3 object key where document is storedcom.google.protobuf.ByteStringS3 object key where document is storedbooleanWhen the document was originally created (from source system)booleanWhen the document was last modified (from source system)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
-
getDocId
String getDocId()Unique document identifier
string doc_id = 1 [json_name = "docId"];- Returns:
- The docId.
-
getDocIdBytes
com.google.protobuf.ByteString getDocIdBytes()Unique document identifier
string doc_id = 1 [json_name = "docId"];- Returns:
- The bytes for docId.
-
getS3Key
String getS3Key()S3 object key where document is stored
string s3_key = 2 [json_name = "s3Key"];- Returns:
- The s3Key.
-
getS3KeyBytes
com.google.protobuf.ByteString getS3KeyBytes()S3 object key where document is stored
string s3_key = 2 [json_name = "s3Key"];- Returns:
- The bytes for s3Key.
-
getConnectorId
String getConnectorId()Connector ID that uploaded this document
string connector_id = 3 [json_name = "connectorId"];- Returns:
- The connectorId.
-
getConnectorIdBytes
com.google.protobuf.ByteString getConnectorIdBytes()Connector ID that uploaded this document
string connector_id = 3 [json_name = "connectorId"];- Returns:
- The bytes for connectorId.
-
getAccountId
String getAccountId()Account ID that owns this document
string account_id = 4 [json_name = "accountId"];- Returns:
- The accountId.
-
getAccountIdBytes
com.google.protobuf.ByteString getAccountIdBytes()Account ID that owns this document
string account_id = 4 [json_name = "accountId"];- Returns:
- The bytes for accountId.
-
getMetadataCount
int getMetadataCount()Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"]; -
containsMetadata
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadataOrDefault
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMetadataOrThrow
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"]; -
getFilename
String getFilename()Original filename of the document
string filename = 6 [json_name = "filename"];- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()Original filename of the document
string filename = 6 [json_name = "filename"];- Returns:
- The bytes for filename.
-
getMimeType
String getMimeType()MIME type of the document
string mime_type = 7 [json_name = "mimeType"];- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the document
string mime_type = 7 [json_name = "mimeType"];- Returns:
- The bytes for mimeType.
-
getPath
String getPath()Virtual path in the connector's namespace
string path = 8 [json_name = "path"];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Virtual path in the connector's namespace
string path = 8 [json_name = "path"];- Returns:
- The bytes for path.
-
hasCreationDate
boolean hasCreationDate()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"];- Returns:
- Whether the creationDate field is set.
-
getCreationDate
com.google.protobuf.Timestamp getCreationDate()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"];- Returns:
- The creationDate.
-
getCreationDateOrBuilder
com.google.protobuf.TimestampOrBuilder getCreationDateOrBuilder()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"]; -
hasLastModifiedDate
boolean hasLastModifiedDate()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];- Returns:
- Whether the lastModifiedDate field is set.
-
getLastModifiedDate
com.google.protobuf.Timestamp getLastModifiedDate()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];- Returns:
- The lastModifiedDate.
-
getLastModifiedDateOrBuilder
com.google.protobuf.TimestampOrBuilder getLastModifiedDateOrBuilder()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];
-