Package ai.pipestream.events.v1
Class DocumentUploadedEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.events.v1.DocumentUploadedEvent
- All Implemented Interfaces:
DocumentUploadedEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DocumentUploadedEvent
extends com.google.protobuf.GeneratedMessage
implements DocumentUploadedEventOrBuilder
Event published when a document is successfully uploaded to the repositoryProtobuf type
ai.pipestream.events.v1.DocumentUploadedEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvent published when a document is successfully uploaded to the repositoryNested 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 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) Additional metadata key-value pairsbooleanAccount 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)static DocumentUploadedEventstatic final com.google.protobuf.Descriptors.DescriptorgetDocId()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 documentcom.google.protobuf.Parser<DocumentUploadedEvent> getPath()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 storedintbooleanWhen the document was originally created (from source system)inthashCode()booleanWhen the document was last modified (from source system)protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(DocumentUploadedEvent prototype) protected DocumentUploadedEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DocumentUploadedEventparseDelimitedFrom(InputStream input) static DocumentUploadedEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DocumentUploadedEventparseFrom(byte[] data) static DocumentUploadedEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DocumentUploadedEventparseFrom(com.google.protobuf.ByteString data) static DocumentUploadedEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DocumentUploadedEventparseFrom(com.google.protobuf.CodedInputStream input) static DocumentUploadedEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DocumentUploadedEventparseFrom(InputStream input) static DocumentUploadedEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DocumentUploadedEventparseFrom(ByteBuffer data) static DocumentUploadedEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DocumentUploadedEvent> 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
-
DOC_ID_FIELD_NUMBER
public static final int DOC_ID_FIELD_NUMBER- See Also:
-
S3_KEY_FIELD_NUMBER
public static final int S3_KEY_FIELD_NUMBER- See Also:
-
CONNECTOR_ID_FIELD_NUMBER
public static final int CONNECTOR_ID_FIELD_NUMBER- See Also:
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
CREATION_DATE_FIELD_NUMBER
public static final int CREATION_DATE_FIELD_NUMBER- See Also:
-
LAST_MODIFIED_DATE_FIELD_NUMBER
public static final int LAST_MODIFIED_DATE_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
-
getDocId
Unique document identifier
string doc_id = 1 [json_name = "docId"];- Specified by:
getDocIdin interfaceDocumentUploadedEventOrBuilder- Returns:
- The docId.
-
getDocIdBytes
public com.google.protobuf.ByteString getDocIdBytes()Unique document identifier
string doc_id = 1 [json_name = "docId"];- Specified by:
getDocIdBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for docId.
-
getS3Key
S3 object key where document is stored
string s3_key = 2 [json_name = "s3Key"];- Specified by:
getS3Keyin interfaceDocumentUploadedEventOrBuilder- Returns:
- The s3Key.
-
getS3KeyBytes
public com.google.protobuf.ByteString getS3KeyBytes()S3 object key where document is stored
string s3_key = 2 [json_name = "s3Key"];- Specified by:
getS3KeyBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for s3Key.
-
getConnectorId
Connector ID that uploaded this document
string connector_id = 3 [json_name = "connectorId"];- Specified by:
getConnectorIdin interfaceDocumentUploadedEventOrBuilder- Returns:
- The connectorId.
-
getConnectorIdBytes
public com.google.protobuf.ByteString getConnectorIdBytes()Connector ID that uploaded this document
string connector_id = 3 [json_name = "connectorId"];- Specified by:
getConnectorIdBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for connectorId.
-
getAccountId
Account ID that owns this document
string account_id = 4 [json_name = "accountId"];- Specified by:
getAccountIdin interfaceDocumentUploadedEventOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()Account ID that owns this document
string account_id = 4 [json_name = "accountId"];- Specified by:
getAccountIdBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for accountId.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DocumentUploadedEventOrBuilderAdditional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceDocumentUploadedEventOrBuilder
-
containsMetadata
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceDocumentUploadedEventOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDocumentUploadedEventOrBuilder
-
getMetadataMap
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceDocumentUploadedEventOrBuilder
-
getMetadataOrDefault
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceDocumentUploadedEventOrBuilder
-
getMetadataOrThrow
Additional metadata key-value pairs
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceDocumentUploadedEventOrBuilder
-
getFilename
Original filename of the document
string filename = 6 [json_name = "filename"];- Specified by:
getFilenamein interfaceDocumentUploadedEventOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()Original filename of the document
string filename = 6 [json_name = "filename"];- Specified by:
getFilenameBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for filename.
-
getMimeType
MIME type of the document
string mime_type = 7 [json_name = "mimeType"];- Specified by:
getMimeTypein interfaceDocumentUploadedEventOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the document
string mime_type = 7 [json_name = "mimeType"];- Specified by:
getMimeTypeBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for mimeType.
-
getPath
Virtual path in the connector's namespace
string path = 8 [json_name = "path"];- Specified by:
getPathin interfaceDocumentUploadedEventOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Virtual path in the connector's namespace
string path = 8 [json_name = "path"];- Specified by:
getPathBytesin interfaceDocumentUploadedEventOrBuilder- Returns:
- The bytes for path.
-
hasCreationDate
public boolean hasCreationDate()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"];- Specified by:
hasCreationDatein interfaceDocumentUploadedEventOrBuilder- Returns:
- Whether the creationDate field is set.
-
getCreationDate
public com.google.protobuf.Timestamp getCreationDate()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"];- Specified by:
getCreationDatein interfaceDocumentUploadedEventOrBuilder- Returns:
- The creationDate.
-
getCreationDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationDateOrBuilder()When the document was originally created (from source system)
.google.protobuf.Timestamp creation_date = 9 [json_name = "creationDate"];- Specified by:
getCreationDateOrBuilderin interfaceDocumentUploadedEventOrBuilder
-
hasLastModifiedDate
public boolean hasLastModifiedDate()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];- Specified by:
hasLastModifiedDatein interfaceDocumentUploadedEventOrBuilder- Returns:
- Whether the lastModifiedDate field is set.
-
getLastModifiedDate
public com.google.protobuf.Timestamp getLastModifiedDate()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];- Specified by:
getLastModifiedDatein interfaceDocumentUploadedEventOrBuilder- Returns:
- The lastModifiedDate.
-
getLastModifiedDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedDateOrBuilder()When the document was last modified (from source system)
.google.protobuf.Timestamp last_modified_date = 10 [json_name = "lastModifiedDate"];- Specified by:
getLastModifiedDateOrBuilderin interfaceDocumentUploadedEventOrBuilder
-
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 DocumentUploadedEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DocumentUploadedEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DocumentUploadedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DocumentUploadedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DocumentUploadedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DocumentUploadedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DocumentUploadedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DocumentUploadedEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DocumentUploadedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DocumentUploadedEvent 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 DocumentUploadedEvent.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
-