Interface AssistantSuggestionOrBuilder (0.19.0)

public interface AssistantSuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract AssistantSuggestion.ActionCase getActionCase()
Returns
Type Description
AssistantSuggestion.ActionCase

getCandidateType()

public abstract String getCandidateType()

Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.

string candidate_type = 9;

Returns
Type Description
String

The candidateType.

getCandidateTypeBytes()

public abstract ByteString getCandidateTypeBytes()

Rule-table candidate type in kebab-case (e.g. "resume-pending-review"), for metrics.

string candidate_type = 9;

Returns
Type Description
ByteString

The bytes for candidateType.

getIcon()

public abstract AssistantSuggestion.Icon getIcon()

Icon hint for the chip.

.google.cloud.ces.v1beta.AssistantSuggestion.Icon icon = 4;

Returns
Type Description
AssistantSuggestion.Icon

The icon.

getIconValue()

public abstract int getIconValue()

Icon hint for the chip.

.google.cloud.ces.v1beta.AssistantSuggestion.Icon icon = 4;

Returns
Type Description
int

The enum numeric value on the wire for icon.

getLabel()

public abstract String getLabel()

Chip label shown to the user (at most 60 characters).

string label = 2;

Returns
Type Description
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Chip label shown to the user (at most 60 characters).

string label = 2;

Returns
Type Description
ByteString

The bytes for label.

getLoadSession()

public abstract AssistantSuggestion.LoadSession getLoadSession()

Open an existing assistant session.

.google.cloud.ces.v1beta.AssistantSuggestion.LoadSession load_session = 6;

Returns
Type Description
AssistantSuggestion.LoadSession

The loadSession.

getLoadSessionOrBuilder()

public abstract AssistantSuggestion.LoadSessionOrBuilder getLoadSessionOrBuilder()

Open an existing assistant session.

.google.cloud.ces.v1beta.AssistantSuggestion.LoadSession load_session = 6;

Returns
Type Description
AssistantSuggestion.LoadSessionOrBuilder

getRationale()

public abstract String getRationale()

Optional short explanation of why this suggestion is shown (tooltip / rationale popover).

string rationale = 3;

Returns
Type Description
String

The rationale.

getRationaleBytes()

public abstract ByteString getRationaleBytes()

Optional short explanation of why this suggestion is shown (tooltip / rationale popover).

string rationale = 3;

Returns
Type Description
ByteString

The bytes for rationale.

getSeedPrompt()

public abstract String getSeedPrompt()

Prefill the composer with this text; the user reviews and sends.

string seed_prompt = 5;

Returns
Type Description
String

The seedPrompt.

getSeedPromptBytes()

public abstract ByteString getSeedPromptBytes()

Prefill the composer with this text; the user reviews and sends.

string seed_prompt = 5;

Returns
Type Description
ByteString

The bytes for seedPrompt.

getSendMessage()

public abstract String getSendMessage()

Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

string send_message = 7;

Returns
Type Description
String

The sendMessage.

getSendMessageBytes()

public abstract ByteString getSendMessageBytes()

Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

string send_message = 7;

Returns
Type Description
ByteString

The bytes for sendMessage.

getSource()

public abstract AssistantSuggestion.Source getSource()

How this suggestion was produced.

.google.cloud.ces.v1beta.AssistantSuggestion.Source source = 8;

Returns
Type Description
AssistantSuggestion.Source

The source.

getSourceValue()

public abstract int getSourceValue()

How this suggestion was produced.

.google.cloud.ces.v1beta.AssistantSuggestion.Source source = 8;

Returns
Type Description
int

The enum numeric value on the wire for source.

getSuggestionId()

public abstract String getSuggestionId()

Stable identifier for this suggestion, round-tripped by clients in interaction logging.

string suggestion_id = 1;

Returns
Type Description
String

The suggestionId.

getSuggestionIdBytes()

public abstract ByteString getSuggestionIdBytes()

Stable identifier for this suggestion, round-tripped by clients in interaction logging.

string suggestion_id = 1;

Returns
Type Description
ByteString

The bytes for suggestionId.

hasLoadSession()

public abstract boolean hasLoadSession()

Open an existing assistant session.

.google.cloud.ces.v1beta.AssistantSuggestion.LoadSession load_session = 6;

Returns
Type Description
boolean

Whether the loadSession field is set.

hasSeedPrompt()

public abstract boolean hasSeedPrompt()

Prefill the composer with this text; the user reviews and sends.

string seed_prompt = 5;

Returns
Type Description
boolean

Whether the seedPrompt field is set.

hasSendMessage()

public abstract boolean hasSendMessage()

Prefill the composer with this text and submit immediately. Only used for quick-reply chips inside an active onboarding conversation.

string send_message = 7;

Returns
Type Description
boolean

Whether the sendMessage field is set.