public interface TextExtractionPredictionInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
The text snippet to make the predictions on.
|
com.google.protobuf.ByteString |
getContentBytes()
The text snippet to make the predictions on.
|
String |
getKey()
This field is only used for batch prediction.
|
com.google.protobuf.ByteString |
getKeyBytes()
This field is only used for batch prediction.
|
String |
getMimeType()
The MIME type of the text snippet.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
The MIME type of the text snippet.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getContent()
The text snippet to make the predictions on.
string content = 1;com.google.protobuf.ByteString getContentBytes()
The text snippet to make the predictions on.
string content = 1;String getMimeType()
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain
string mime_type = 2;com.google.protobuf.ByteString getMimeTypeBytes()
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain
string mime_type = 2;String getKey()
This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.
string key = 3;com.google.protobuf.ByteString getKeyBytes()
This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.
string key = 3;Copyright © 2024 Google LLC. All rights reserved.