public interface InputConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getContent()
File content, represented as a stream of bytes.
|
GcsSource |
getGcsSource()
The Google Cloud Storage location to read the input from.
|
GcsSourceOrBuilder |
getGcsSourceOrBuilder()
The Google Cloud Storage location to read the input from.
|
String |
getMimeType()
The type of the file.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
The type of the file.
|
boolean |
hasGcsSource()
The Google Cloud Storage location to read the input from.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasGcsSource()
The Google Cloud Storage location to read the input from.
.google.cloud.vision.v1p4beta1.GcsSource gcs_source = 1;GcsSource getGcsSource()
The Google Cloud Storage location to read the input from.
.google.cloud.vision.v1p4beta1.GcsSource gcs_source = 1;GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location to read the input from.
.google.cloud.vision.v1p4beta1.GcsSource gcs_source = 1;com.google.protobuf.ByteString getContent()
File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.
bytes content = 3;String getMimeType()
The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.
string mime_type = 2;com.google.protobuf.ByteString getMimeTypeBytes()
The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.
string mime_type = 2;Copyright © 2023 Google LLC. All rights reserved.