Interface SuggestArticlesRequestOrBuilder (4.19.0)

public interface SuggestArticlesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistQueryParams()

public abstract AssistQueryParameters getAssistQueryParams()

Optional. Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssistQueryParameters

The assistQueryParams.

getAssistQueryParamsOrBuilder()

public abstract AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()

Optional. Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssistQueryParametersOrBuilder

getContextSize()

public abstract int getContextSize()

Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. By default 20 and at most 50.

int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The contextSize.

getLatestMessage()

public abstract String getLatestMessage()

Optional. The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

Optional. The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for latestMessage.

getParent()

public abstract String getParent()

Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the participant to fetch suggestion for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAssistQueryParams()

public abstract boolean hasAssistQueryParams()

Optional. Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the assistQueryParams field is set.