Interface KnowledgeAssistAnswer.SuggestedQuery.SearchContextOrBuilder (4.100.0)

public static interface KnowledgeAssistAnswer.SuggestedQuery.SearchContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Optional. The key of the search context, e.g. "application name".

string key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Optional. The key of the search context, e.g. "application name".

string key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for key.

getValue()

public abstract String getValue()

Optional. The value of the search context, e.g. "DesignApp".

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Optional. The value of the search context, e.g. "DesignApp".

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for value.