public final class AssistantSuggestion extends GeneratedMessage implements AssistantSuggestionOrBuilder
A single personalized onboarding suggestion chip for Arc's
zero state.
Protobuf type google.cloud.ces.v1beta.AssistantSuggestion
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CANDIDATE_TYPE_FIELD_NUMBER
public static final int CANDIDATE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOAD_SESSION_FIELD_NUMBER
public static final int LOAD_SESSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RATIONALE_FIELD_NUMBER
public static final int RATIONALE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEED_PROMPT_FIELD_NUMBER
public static final int SEED_PROMPT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEND_MESSAGE_FIELD_NUMBER
public static final int SEND_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUGGESTION_ID_FIELD_NUMBER
public static final int SUGGESTION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AssistantSuggestion getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssistantSuggestion.Builder newBuilder()
newBuilder(AssistantSuggestion prototype)
public static AssistantSuggestion.Builder newBuilder(AssistantSuggestion prototype)
public static AssistantSuggestion parseDelimitedFrom(InputStream input)
public static AssistantSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssistantSuggestion parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssistantSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssistantSuggestion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssistantSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssistantSuggestion parseFrom(CodedInputStream input)
public static AssistantSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssistantSuggestion parseFrom(InputStream input)
public static AssistantSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssistantSuggestion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssistantSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssistantSuggestion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getActionCase()
public AssistantSuggestion.ActionCase getActionCase()
getCandidateType()
public 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 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.
|
getDefaultInstanceForType()
public AssistantSuggestion getDefaultInstanceForType()
getIcon()
public AssistantSuggestion.Icon getIcon()
Icon hint for the chip.
.google.cloud.ces.v1beta.AssistantSuggestion.Icon icon = 4;
getIconValue()
public 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()
Chip label shown to the user (at most 60 characters).
string label = 2;
| Returns |
| Type |
Description |
String |
The label.
|
getLabelBytes()
public 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 AssistantSuggestion.LoadSession getLoadSession()
Open an existing assistant session.
.google.cloud.ces.v1beta.AssistantSuggestion.LoadSession load_session = 6;
getLoadSessionOrBuilder()
public AssistantSuggestion.LoadSessionOrBuilder getLoadSessionOrBuilder()
Open an existing assistant session.
.google.cloud.ces.v1beta.AssistantSuggestion.LoadSession load_session = 6;
getParserForType()
public Parser<AssistantSuggestion> getParserForType()
Overrides
getRationale()
public 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 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 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 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 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSource()
public AssistantSuggestion.Source getSource()
How this suggestion was produced.
.google.cloud.ces.v1beta.AssistantSuggestion.Source source = 8;
getSourceValue()
public 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 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 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 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 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssistantSuggestion.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AssistantSuggestion.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AssistantSuggestion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides