Package ai.pipestream.data.v1
Interface BlobOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Blob,Blob.Builder
@Generated
public interface BlobOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier for this blob.com.google.protobuf.ByteStringUnique identifier for this blob.Checksum value for integrity verification.com.google.protobuf.ByteStringChecksum value for integrity verification.Type of checksum algorithm used.intType of checksum algorithm used.com.google.protobuf.ByteStringgetData()Inline binary data for small files or sensitive content.Drive/bucket identifier where this blob belongs.com.google.protobuf.ByteStringDrive/bucket identifier where this blob belongs.Character encoding for text-based blobs.com.google.protobuf.ByteStringCharacter encoding for text-based blobs.Original filename if available.com.google.protobuf.ByteStringOriginal filename if available.com.google.protobuf.StructAdditional blob metadata stored in the database.com.google.protobuf.StructOrBuilderAdditional blob metadata stored in the database.MIME type of the blob content.com.google.protobuf.ByteStringMIME type of the blob content.longSize of the blob content in bytes.Reference to external S3 storage for large files.Reference to external S3 storage for large files.booleanChecksum value for integrity verification.booleanhasData()Inline binary data for small files or sensitive content.booleanCharacter encoding for text-based blobs.booleanOriginal filename if available.booleanAdditional blob metadata stored in the database.booleanMIME type of the blob content.booleanReference to external S3 storage for large files.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
-
getBlobId
String getBlobId()Unique identifier for this blob.
string blob_id = 1 [json_name = "blobId"];- Returns:
- The blobId.
-
getBlobIdBytes
com.google.protobuf.ByteString getBlobIdBytes()Unique identifier for this blob.
string blob_id = 1 [json_name = "blobId"];- Returns:
- The bytes for blobId.
-
getDriveId
String getDriveId()Drive/bucket identifier where this blob belongs.
string drive_id = 2 [json_name = "driveId"];- Returns:
- The driveId.
-
getDriveIdBytes
com.google.protobuf.ByteString getDriveIdBytes()Drive/bucket identifier where this blob belongs.
string drive_id = 2 [json_name = "driveId"];- Returns:
- The bytes for driveId.
-
hasData
boolean hasData()Inline binary data for small files or sensitive content.
bytes data = 3 [json_name = "data"];- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.ByteString getData()Inline binary data for small files or sensitive content.
bytes data = 3 [json_name = "data"];- Returns:
- The data.
-
hasStorageRef
boolean hasStorageRef()Reference to external S3 storage for large files.
.ai.pipestream.data.v1.FileStorageReference storage_ref = 4 [json_name = "storageRef"];- Returns:
- Whether the storageRef field is set.
-
getStorageRef
FileStorageReference getStorageRef()Reference to external S3 storage for large files.
.ai.pipestream.data.v1.FileStorageReference storage_ref = 4 [json_name = "storageRef"];- Returns:
- The storageRef.
-
getStorageRefOrBuilder
FileStorageReferenceOrBuilder getStorageRefOrBuilder()Reference to external S3 storage for large files.
.ai.pipestream.data.v1.FileStorageReference storage_ref = 4 [json_name = "storageRef"]; -
hasMimeType
boolean hasMimeType()MIME type of the blob content.
optional string mime_type = 5 [json_name = "mimeType"];- Returns:
- Whether the mimeType field is set.
-
getMimeType
String getMimeType()MIME type of the blob content.
optional string mime_type = 5 [json_name = "mimeType"];- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the blob content.
optional string mime_type = 5 [json_name = "mimeType"];- Returns:
- The bytes for mimeType.
-
hasFilename
boolean hasFilename()Original filename if available.
optional string filename = 6 [json_name = "filename"];- Returns:
- Whether the filename field is set.
-
getFilename
String getFilename()Original filename if available.
optional string filename = 6 [json_name = "filename"];- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()Original filename if available.
optional string filename = 6 [json_name = "filename"];- Returns:
- The bytes for filename.
-
hasEncoding
boolean hasEncoding()Character encoding for text-based blobs.
optional string encoding = 7 [json_name = "encoding"];- Returns:
- Whether the encoding field is set.
-
getEncoding
String getEncoding()Character encoding for text-based blobs.
optional string encoding = 7 [json_name = "encoding"];- Returns:
- The encoding.
-
getEncodingBytes
com.google.protobuf.ByteString getEncodingBytes()Character encoding for text-based blobs.
optional string encoding = 7 [json_name = "encoding"];- Returns:
- The bytes for encoding.
-
getSizeBytes
long getSizeBytes()Size of the blob content in bytes.
int64 size_bytes = 8 [json_name = "sizeBytes"];- Returns:
- The sizeBytes.
-
hasChecksum
boolean hasChecksum()Checksum value for integrity verification.
optional string checksum = 9 [json_name = "checksum"];- Returns:
- Whether the checksum field is set.
-
getChecksum
String getChecksum()Checksum value for integrity verification.
optional string checksum = 9 [json_name = "checksum"];- Returns:
- The checksum.
-
getChecksumBytes
com.google.protobuf.ByteString getChecksumBytes()Checksum value for integrity verification.
optional string checksum = 9 [json_name = "checksum"];- Returns:
- The bytes for checksum.
-
getChecksumTypeValue
int getChecksumTypeValue()Type of checksum algorithm used.
.ai.pipestream.data.v1.ChecksumType checksum_type = 10 [json_name = "checksumType"];- Returns:
- The enum numeric value on the wire for checksumType.
-
getChecksumType
ChecksumType getChecksumType()Type of checksum algorithm used.
.ai.pipestream.data.v1.ChecksumType checksum_type = 10 [json_name = "checksumType"];- Returns:
- The checksumType.
-
hasMetadata
boolean hasMetadata()Additional blob metadata stored in the database.
optional .google.protobuf.Struct metadata = 11 [json_name = "metadata"];- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Additional blob metadata stored in the database.
optional .google.protobuf.Struct metadata = 11 [json_name = "metadata"];- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Additional blob metadata stored in the database.
optional .google.protobuf.Struct metadata = 11 [json_name = "metadata"]; -
getContentCase
Blob.ContentCase getContentCase()
-