public interface DetectLanguageRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
The content of the input stored as a string.
|
com.google.protobuf.ByteString |
getContentBytes()
The content of the input stored as a string.
|
String |
getMimeType()
Optional.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
Optional.
|
String |
getModel()
Optional.
|
com.google.protobuf.ByteString |
getModelBytes()
Optional.
|
String |
getParent()
Optional.
|
com.google.protobuf.ByteString |
getParentBytes()
Optional.
|
DetectLanguageRequest.SourceCase |
getSourceCase() |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Optional. Only used when making regionalized call.
Format:
projects/{project-id}/locations/{location-id}.
Only custom model within the same location-id can be used.
Otherwise 400 is returned.
string parent = 5;com.google.protobuf.ByteString getParentBytes()
Optional. Only used when making regionalized call.
Format:
projects/{project-id}/locations/{location-id}.
Only custom model within the same location-id can be used.
Otherwise 400 is returned.
string parent = 5;String getModel()
Optional. The language detection model to be used.
projects/{project-id}/locations/{location-id}/models/language-detection/{model-id}
If not specified, default will be used.
string model = 4;com.google.protobuf.ByteString getModelBytes()
Optional. The language detection model to be used.
projects/{project-id}/locations/{location-id}/models/language-detection/{model-id}
If not specified, default will be used.
string model = 4;String getContent()
The content of the input stored as a string.
string content = 1;com.google.protobuf.ByteString getContentBytes()
The content of the input stored as a string.
string content = 1;String getMimeType()
Optional. The format of the source text, for example, "text/html", "text/plain". If left blank, the MIME type is assumed to be "text/html".
string mime_type = 3;com.google.protobuf.ByteString getMimeTypeBytes()
Optional. The format of the source text, for example, "text/html", "text/plain". If left blank, the MIME type is assumed to be "text/html".
string mime_type = 3;DetectLanguageRequest.SourceCase getSourceCase()
Copyright © 2019 Google LLC. All rights reserved.