public interface QueryEnhancementOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()Optional. Whether query enhancement is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getLanguageCode()
public abstract String getLanguageCode()Optional. The IETF BCP 47 language tag, such as "en-US", for query enhancement. If unset, the language is detected automatically. See <https://en.wikipedia.org/wiki/IETF_language_tag>;.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()Optional. The IETF BCP 47 language tag, such as "en-US", for query enhancement. If unset, the language is detected automatically. See <https://en.wikipedia.org/wiki/IETF_language_tag>;.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for languageCode. |