public interface DetectedLanguageOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
The confidence of the detection result for this language.
|
String |
getLanguageCode()
The BCP-47 language code of source content in the request, detected
automatically.
|
ByteString |
getLanguageCodeBytes()
The BCP-47 language code of source content in the request, detected
automatically.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getLanguageCode()
The BCP-47 language code of source content in the request, detected automatically.
string language_code = 1;
ByteString getLanguageCodeBytes()
The BCP-47 language code of source content in the request, detected automatically.
string language_code = 1;
float getConfidence()
The confidence of the detection result for this language.
float confidence = 2;
Copyright © 2022 Google LLC. All rights reserved.