public interface LanguageInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConfidenceScore()
public abstract float getConfidenceScore()The confidence score of the detected language between 0 and 1.
float confidence_score = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The confidenceScore. |
getInputLanguageCode()
public abstract String getInputLanguageCode()The language code specified in the original request.
string input_language_code = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The inputLanguageCode. |
getInputLanguageCodeBytes()
public abstract ByteString getInputLanguageCodeBytes()The language code specified in the original request.
string input_language_code = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for inputLanguageCode. |
getResolvedLanguageCode()
public abstract String getResolvedLanguageCode()The language code detected for this request based on the user conversation.
string resolved_language_code = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The resolvedLanguageCode. |
getResolvedLanguageCodeBytes()
public abstract ByteString getResolvedLanguageCodeBytes()The language code detected for this request based on the user conversation.
string resolved_language_code = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resolvedLanguageCode. |