Package ai.pipestream.events.v1
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 TypeMethodDescriptionAccount ID that owns this documentcom.google.protobuf.ByteStringAccount ID that owns this documentConnector ID that ingested this documentcom.google.protobuf.ByteStringConnector ID that ingested this documentMIME/content type of the documentcom.google.protobuf.ByteStringMIME/content type of the documentUnique document identifiercom.google.protobuf.ByteStringUnique document identifierDrive/repository identifier (UUID as string)com.google.protobuf.ByteStringDrive/repository identifier (UUID as string)Optional error message if persistence partially failed (event should ideally only be emitted on success)com.google.protobuf.ByteStringOptional error message if persistence partially failed (event should ideally only be emitted on success)Unique identifier for this eventcom.google.protobuf.ByteStringUnique identifier for this eventcom.google.protobuf.StructAdditional metadata as flexible JSON structurecom.google.protobuf.StructOrBuilderAdditional metadata as flexible JSON structuregetName()Original filename or node namecom.google.protobuf.ByteStringOriginal filename or node namegetPath()Full path in the repositorycom.google.protobuf.ByteStringFull path in the repositorygetS3Key()S3 object key where document is storedcom.google.protobuf.ByteStringS3 object key where document is storedS3 version ID for versioned bucketscom.google.protobuf.ByteStringS3 version ID for versioned bucketslongSize of the document in bytescom.google.protobuf.TimestampWhen this event was generatedcom.google.protobuf.TimestampOrBuilderWhen this event was generatedType of metadata update (created/updated/deleted)intType of metadata update (created/updated/deleted)booleanOptional error message if persistence partially failed (event should ideally only be emitted on success)booleanAdditional metadata as flexible JSON structurebooleanWhen this event was generatedMethods 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
-
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.
-