Interface RepoMetadataEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RepoMetadataEvent, RepoMetadataEvent.Builder

@Generated public interface RepoMetadataEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Account ID that owns this document
    com.google.protobuf.ByteString
    Account ID that owns this document
    Connector ID that ingested this document
    com.google.protobuf.ByteString
    Connector ID that ingested this document
    MIME/content type of the document
    com.google.protobuf.ByteString
    MIME/content type of the document
    Unique document identifier
    com.google.protobuf.ByteString
    Unique document identifier
    Drive/repository identifier (UUID as string)
    com.google.protobuf.ByteString
    Drive/repository identifier (UUID as string)
    Optional error message if persistence partially failed (event should ideally only be emitted on success)
    com.google.protobuf.ByteString
    Optional error message if persistence partially failed (event should ideally only be emitted on success)
    Unique identifier for this event
    com.google.protobuf.ByteString
    Unique identifier for this event
    com.google.protobuf.Struct
    Additional metadata as flexible JSON structure
    com.google.protobuf.StructOrBuilder
    Additional metadata as flexible JSON structure
    Original filename or node name
    com.google.protobuf.ByteString
    Original filename or node name
    Full path in the repository
    com.google.protobuf.ByteString
    Full path in the repository
    S3 object key where document is stored
    com.google.protobuf.ByteString
    S3 object key where document is stored
    S3 version ID for versioned buckets
    com.google.protobuf.ByteString
    S3 version ID for versioned buckets
    long
    Size of the document in bytes
    com.google.protobuf.Timestamp
    When this event was generated
    com.google.protobuf.TimestampOrBuilder
    When this event was generated
    Type of metadata update (created/updated/deleted)
    int
    Type of metadata update (created/updated/deleted)
    boolean
    Optional error message if persistence partially failed (event should ideally only be emitted on success)
    boolean
    Additional metadata as flexible JSON structure
    boolean
    When this event was generated

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEventId

      String getEventId()
       Unique identifier for this event
       
      string event_id = 1 [json_name = "eventId"];
      Returns:
      The eventId.
    • getEventIdBytes

      com.google.protobuf.ByteString getEventIdBytes()
       Unique identifier for this event
       
      string event_id = 1 [json_name = "eventId"];
      Returns:
      The bytes for eventId.
    • hasTimestamp

      boolean hasTimestamp()
       When this event was generated
       
      .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      com.google.protobuf.Timestamp getTimestamp()
       When this event was generated
       
      .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       When this event was generated
       
      .google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
    • getDocumentId

      String getDocumentId()
       Unique document identifier
       
      string document_id = 3 [json_name = "documentId"];
      Returns:
      The documentId.
    • getDocumentIdBytes

      com.google.protobuf.ByteString getDocumentIdBytes()
       Unique document identifier
       
      string document_id = 3 [json_name = "documentId"];
      Returns:
      The bytes for documentId.
    • getDriveId

      String getDriveId()
       Drive/repository identifier (UUID as string)
       
      string drive_id = 4 [json_name = "driveId"];
      Returns:
      The driveId.
    • getDriveIdBytes

      com.google.protobuf.ByteString getDriveIdBytes()
       Drive/repository identifier (UUID as string)
       
      string drive_id = 4 [json_name = "driveId"];
      Returns:
      The bytes for driveId.
    • getAccountId

      String getAccountId()
       Account ID that owns this document
       
      string account_id = 5 [json_name = "accountId"];
      Returns:
      The accountId.
    • getAccountIdBytes

      com.google.protobuf.ByteString getAccountIdBytes()
       Account ID that owns this document
       
      string account_id = 5 [json_name = "accountId"];
      Returns:
      The bytes for accountId.
    • getConnectorId

      String getConnectorId()
       Connector ID that ingested this document
       
      string connector_id = 6 [json_name = "connectorId"];
      Returns:
      The connectorId.
    • getConnectorIdBytes

      com.google.protobuf.ByteString getConnectorIdBytes()
       Connector ID that ingested this document
       
      string connector_id = 6 [json_name = "connectorId"];
      Returns:
      The bytes for connectorId.
    • getName

      String getName()
       Original filename or node name
       
      string name = 7 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Original filename or node name
       
      string name = 7 [json_name = "name"];
      Returns:
      The bytes for name.
    • getPath

      String getPath()
       Full path in the repository
       
      string path = 8 [json_name = "path"];
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       Full path in the repository
       
      string path = 8 [json_name = "path"];
      Returns:
      The bytes for path.
    • getContentType

      String getContentType()
       MIME/content type of the document
       
      string content_type = 9 [json_name = "contentType"];
      Returns:
      The contentType.
    • getContentTypeBytes

      com.google.protobuf.ByteString getContentTypeBytes()
       MIME/content type of the document
       
      string content_type = 9 [json_name = "contentType"];
      Returns:
      The bytes for contentType.
    • getSizeBytes

      long getSizeBytes()
       Size of the document in bytes
       
      int64 size_bytes = 10 [json_name = "sizeBytes"];
      Returns:
      The sizeBytes.
    • getS3Key

      String getS3Key()
       S3 object key where document is stored
       
      string s3_key = 11 [json_name = "s3Key"];
      Returns:
      The s3Key.
    • getS3KeyBytes

      com.google.protobuf.ByteString getS3KeyBytes()
       S3 object key where document is stored
       
      string s3_key = 11 [json_name = "s3Key"];
      Returns:
      The bytes for s3Key.
    • getS3VersionId

      String getS3VersionId()
       S3 version ID for versioned buckets
       
      string s3_version_id = 12 [json_name = "s3VersionId"];
      Returns:
      The s3VersionId.
    • getS3VersionIdBytes

      com.google.protobuf.ByteString getS3VersionIdBytes()
       S3 version ID for versioned buckets
       
      string s3_version_id = 12 [json_name = "s3VersionId"];
      Returns:
      The bytes for s3VersionId.
    • hasMetadata

      boolean hasMetadata()
       Additional metadata as flexible JSON structure
       
      .google.protobuf.Struct metadata = 13 [json_name = "metadata"];
      Returns:
      Whether the metadata field is set.
    • getMetadata

      com.google.protobuf.Struct getMetadata()
       Additional metadata as flexible JSON structure
       
      .google.protobuf.Struct metadata = 13 [json_name = "metadata"];
      Returns:
      The metadata.
    • getMetadataOrBuilder

      com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       Additional metadata as flexible JSON structure
       
      .google.protobuf.Struct metadata = 13 [json_name = "metadata"];
    • getUpdateTypeValue

      int getUpdateTypeValue()
       Type of metadata update (created/updated/deleted)
       
      .ai.pipestream.events.v1.RepoUpdateType update_type = 14 [json_name = "updateType"];
      Returns:
      The enum numeric value on the wire for updateType.
    • getUpdateType

      RepoUpdateType getUpdateType()
       Type of metadata update (created/updated/deleted)
       
      .ai.pipestream.events.v1.RepoUpdateType update_type = 14 [json_name = "updateType"];
      Returns:
      The updateType.
    • hasErrorMessage

      boolean hasErrorMessage()
       Optional error message if persistence partially failed
       (event should ideally only be emitted on success)
       
      optional string error_message = 15 [json_name = "errorMessage"];
      Returns:
      Whether the errorMessage field is set.
    • getErrorMessage

      String getErrorMessage()
       Optional error message if persistence partially failed
       (event should ideally only be emitted on success)
       
      optional string error_message = 15 [json_name = "errorMessage"];
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      com.google.protobuf.ByteString getErrorMessageBytes()
       Optional error message if persistence partially failed
       (event should ideally only be emitted on success)
       
      optional string error_message = 15 [json_name = "errorMessage"];
      Returns:
      The bytes for errorMessage.