public interface FeedbackOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getComment()
public abstract String getComment()Optional. The additional user comment of the feedback if user gives a thumb down.
string comment = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The comment. |
getCommentBytes()
public abstract ByteString getCommentBytes()Optional. The additional user comment of the feedback if user gives a thumb down.
string comment = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for comment. |
getComponentVersion()
public abstract String getComponentVersion()Optional. The version of the component that this report is being sent from.
string component_version = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The componentVersion. |
getComponentVersionBytes()
public abstract ByteString getComponentVersionBytes()Optional. The version of the component that this report is being sent from.
string component_version = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for componentVersion. |
getConversationInfo()
public abstract Feedback.ConversationInfo getConversationInfo()The related conversation information when user gives feedback.
.google.cloud.discoveryengine.v1beta.Feedback.ConversationInfo conversation_info = 4;
| Returns | |
|---|---|
| Type | Description |
Feedback.ConversationInfo |
The conversationInfo. |
getConversationInfoOrBuilder()
public abstract Feedback.ConversationInfoOrBuilder getConversationInfoOrBuilder()The related conversation information when user gives feedback.
.google.cloud.discoveryengine.v1beta.Feedback.ConversationInfo conversation_info = 4;
| Returns | |
|---|---|
| Type | Description |
Feedback.ConversationInfoOrBuilder |
|
getDataTermsAccepted()
public abstract boolean getDataTermsAccepted()Optional. Whether the customer accepted data use terms.
bool data_terms_accepted = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The dataTermsAccepted. |
getFeedbackSource()
public abstract Feedback.FeedbackSource getFeedbackSource()Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
.google.cloud.discoveryengine.v1beta.Feedback.FeedbackSource feedback_source = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Feedback.FeedbackSource |
The feedbackSource. |
getFeedbackSourceValue()
public abstract int getFeedbackSourceValue()Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
.google.cloud.discoveryengine.v1beta.Feedback.FeedbackSource feedback_source = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for feedbackSource. |
getFeedbackType()
public abstract Feedback.FeedbackType getFeedbackType()Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
.google.cloud.discoveryengine.v1beta.Feedback.FeedbackType feedback_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Feedback.FeedbackType |
The feedbackType. |
getFeedbackTypeValue()
public abstract int getFeedbackTypeValue()Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
.google.cloud.discoveryengine.v1beta.Feedback.FeedbackType feedback_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for feedbackType. |
getLlmModelVersion()
public abstract String getLlmModelVersion()The version of the LLM model that was used to generate the response.
string llm_model_version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The llmModelVersion. |
getLlmModelVersionBytes()
public abstract ByteString getLlmModelVersionBytes()The version of the LLM model that was used to generate the response.
string llm_model_version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for llmModelVersion. |
getReasons(int index)
public abstract Feedback.Reason getReasons(int index)Optional. The reason if user gives a thumb down.
repeated .google.cloud.discoveryengine.v1beta.Feedback.Reason reasons = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
Feedback.Reason |
The reasons at the given index. |
getReasonsCount()
public abstract int getReasonsCount()Optional. The reason if user gives a thumb down.
repeated .google.cloud.discoveryengine.v1beta.Feedback.Reason reasons = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of reasons. |
getReasonsList()
public abstract List<Feedback.Reason> getReasonsList()Optional. The reason if user gives a thumb down.
repeated .google.cloud.discoveryengine.v1beta.Feedback.Reason reasons = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Reason> |
A list containing the reasons. |
getReasonsValue(int index)
public abstract int getReasonsValue(int index)Optional. The reason if user gives a thumb down.
repeated .google.cloud.discoveryengine.v1beta.Feedback.Reason reasons = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of reasons at the given index. |
getReasonsValueList()
public abstract List<Integer> getReasonsValueList()Optional. The reason if user gives a thumb down.
repeated .google.cloud.discoveryengine.v1beta.Feedback.Reason reasons = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for reasons. |
hasConversationInfo()
public abstract boolean hasConversationInfo()The related conversation information when user gives feedback.
.google.cloud.discoveryengine.v1beta.Feedback.ConversationInfo conversation_info = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the conversationInfo field is set. |