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 repository
 
Protobuf type ai.pipestream.events.v1.DocumentUploadedEvent
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDocId

      public String getDocId()
       Unique document identifier
       
      string doc_id = 1 [json_name = "docId"];
      Specified by:
      getDocId in interface DocumentUploadedEventOrBuilder
      Returns:
      The docId.
    • getDocIdBytes

      public com.google.protobuf.ByteString getDocIdBytes()
       Unique document identifier
       
      string doc_id = 1 [json_name = "docId"];
      Specified by:
      getDocIdBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for docId.
    • getS3Key

      public String getS3Key()
       S3 object key where document is stored
       
      string s3_key = 2 [json_name = "s3Key"];
      Specified by:
      getS3Key in interface DocumentUploadedEventOrBuilder
      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:
      getS3KeyBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for s3Key.
    • getConnectorId

      public String getConnectorId()
       Connector ID that uploaded this document
       
      string connector_id = 3 [json_name = "connectorId"];
      Specified by:
      getConnectorId in interface DocumentUploadedEventOrBuilder
      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:
      getConnectorIdBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for connectorId.
    • getAccountId

      public String getAccountId()
       Account ID that owns this document
       
      string account_id = 4 [json_name = "accountId"];
      Specified by:
      getAccountId in interface DocumentUploadedEventOrBuilder
      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:
      getAccountIdBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for accountId.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: DocumentUploadedEventOrBuilder
       Additional metadata key-value pairs
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface DocumentUploadedEventOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Additional metadata key-value pairs
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface DocumentUploadedEventOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface DocumentUploadedEventOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Additional metadata key-value pairs
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface DocumentUploadedEventOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata key-value pairs
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface DocumentUploadedEventOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Additional metadata key-value pairs
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface DocumentUploadedEventOrBuilder
    • getFilename

      public String getFilename()
       Original filename of the document
       
      string filename = 6 [json_name = "filename"];
      Specified by:
      getFilename in interface DocumentUploadedEventOrBuilder
      Returns:
      The filename.
    • getFilenameBytes

      public com.google.protobuf.ByteString getFilenameBytes()
       Original filename of the document
       
      string filename = 6 [json_name = "filename"];
      Specified by:
      getFilenameBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for filename.
    • getMimeType

      public String getMimeType()
       MIME type of the document
       
      string mime_type = 7 [json_name = "mimeType"];
      Specified by:
      getMimeType in interface DocumentUploadedEventOrBuilder
      Returns:
      The mimeType.
    • getMimeTypeBytes

      public com.google.protobuf.ByteString getMimeTypeBytes()
       MIME type of the document
       
      string mime_type = 7 [json_name = "mimeType"];
      Specified by:
      getMimeTypeBytes in interface DocumentUploadedEventOrBuilder
      Returns:
      The bytes for mimeType.
    • getPath

      public String getPath()
       Virtual path in the connector's namespace
       
      string path = 8 [json_name = "path"];
      Specified by:
      getPath in interface DocumentUploadedEventOrBuilder
      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:
      getPathBytes in interface DocumentUploadedEventOrBuilder
      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:
      hasCreationDate in interface DocumentUploadedEventOrBuilder
      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:
      getCreationDate in interface DocumentUploadedEventOrBuilder
      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:
      getCreationDateOrBuilder in interface DocumentUploadedEventOrBuilder
    • 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:
      hasLastModifiedDate in interface DocumentUploadedEventOrBuilder
      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:
      getLastModifiedDate in interface DocumentUploadedEventOrBuilder
      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:
      getLastModifiedDateOrBuilder in interface DocumentUploadedEventOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static DocumentUploadedEvent parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DocumentUploadedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DocumentUploadedEvent parseDelimitedFrom(InputStream input) throws IOException
      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

      public DocumentUploadedEvent.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DocumentUploadedEvent.Builder newBuilder()
    • newBuilder

      public static DocumentUploadedEvent.Builder newBuilder(DocumentUploadedEvent prototype)
    • toBuilder

      public DocumentUploadedEvent.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DocumentUploadedEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DocumentUploadedEvent getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DocumentUploadedEvent> parser()
    • getParserForType

      public com.google.protobuf.Parser<DocumentUploadedEvent> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DocumentUploadedEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder