Package com.google.cloud.documentai.v1
Interface Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.ChunkedDocument.Chunk.ImageChunkField,Document.ChunkedDocument.Chunk.ImageChunkField.Builder
- Enclosing class:
- Document.ChunkedDocument.Chunk
public static interface Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAnnotation of the image chunk field.Annotation of the image chunk field.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanAnnotation of the image chunk field.booleanOptional.booleanOptional.booleanOptional.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
-
hasBlobAssetId
boolean hasBlobAssetId()Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
string blob_asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the blobAssetId field is set.
-
getBlobAssetId
String getBlobAssetId()Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
string blob_asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The blobAssetId.
-
getBlobAssetIdBytes
com.google.protobuf.ByteString getBlobAssetIdBytes()Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.
string blob_asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for blobAssetId.
-
hasGcsUri
boolean hasGcsUri()Optional. Google Cloud Storage uri of the image.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the gcsUri field is set.
-
getGcsUri
String getGcsUri()Optional. Google Cloud Storage uri of the image.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The gcsUri.
-
getGcsUriBytes
com.google.protobuf.ByteString getGcsUriBytes()Optional. Google Cloud Storage uri of the image.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for gcsUri.
-
hasDataUri
boolean hasDataUri()Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:[<mediatype>][;base64],<data>
string data_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the dataUri field is set.
-
getDataUri
String getDataUri()Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:[<mediatype>][;base64],<data>
string data_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dataUri.
-
getDataUriBytes
com.google.protobuf.ByteString getDataUriBytes()Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:[<mediatype>][;base64],<data>
string data_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for dataUri.
-
hasAnnotations
boolean hasAnnotations()Annotation of the image chunk field.
.google.cloud.documentai.v1.Document.Annotations annotations = 4;- Returns:
- Whether the annotations field is set.
-
getAnnotations
Document.Annotations getAnnotations()Annotation of the image chunk field.
.google.cloud.documentai.v1.Document.Annotations annotations = 4;- Returns:
- The annotations.
-
getAnnotationsOrBuilder
Document.AnnotationsOrBuilder getAnnotationsOrBuilder()Annotation of the image chunk field.
.google.cloud.documentai.v1.Document.Annotations annotations = 4; -
getImageSourceCase
Document.ChunkedDocument.Chunk.ImageChunkField.ImageSourceCase getImageSourceCase()
-