Interface TextExtractionPredictionInstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextExtractionPredictionInstance,TextExtractionPredictionInstance.Builder
@Generated
public interface TextExtractionPredictionInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe text snippet to make the predictions on.com.google.protobuf.ByteStringThe text snippet to make the predictions on.getKey()This field is only used for batch prediction.com.google.protobuf.ByteStringThis field is only used for batch prediction.The MIME type of the text snippet.com.google.protobuf.ByteStringThe MIME type of the text snippet.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
-
getContent
String getContent()The text snippet to make the predictions on.
string content = 1;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()The text snippet to make the predictions on.
string content = 1;- Returns:
- The bytes for content.
-
getMimeType
String getMimeType()The MIME type of the text snippet. The supported MIME types are listed below. - text/plain
string mime_type = 2;- Returns:
- The mimeType.
-
getMimeTypeBytes
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;- Returns:
- The bytes for mimeType.
-
getKey
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;- Returns:
- The key.
-
getKeyBytes
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;- Returns:
- The bytes for key.
-