Interface AssistAnswerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssistAnswer,AssistAnswer.Builder
@Generated
public interface AssistAnswerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAssistSkippedReasons(int index) Reasons for not answering the assist call.intReasons for not answering the assist call.Reasons for not answering the assist call.intgetAssistSkippedReasonsValue(int index) Reasons for not answering the assist call.Reasons for not answering the assist call.getName()Immutable.com.google.protobuf.ByteStringImmutable.getReplies(int index) Replies of the assistant.intReplies of the assistant.Replies of the assistant.getRepliesOrBuilder(int index) Replies of the assistant.List<? extends AssistAnswer.ReplyOrBuilder>Replies of the assistant.getState()State of the answer generation.intState of the answer generation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Immutable. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Immutable. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()State of the answer generation.
.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
AssistAnswer.State getState()State of the answer generation.
.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;- Returns:
- The state.
-
getRepliesList
List<AssistAnswer.Reply> getRepliesList()Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; -
getReplies
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; -
getRepliesCount
int getRepliesCount()Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; -
getRepliesOrBuilderList
List<? extends AssistAnswer.ReplyOrBuilder> getRepliesOrBuilderList()Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; -
getRepliesOrBuilder
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; -
getAssistSkippedReasonsList
List<AssistAnswer.AssistSkippedReason> getAssistSkippedReasonsList()Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;- Returns:
- A list containing the assistSkippedReasons.
-
getAssistSkippedReasonsCount
int getAssistSkippedReasonsCount()Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;- Returns:
- The count of assistSkippedReasons.
-
getAssistSkippedReasons
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;- Parameters:
index- The index of the element to return.- Returns:
- The assistSkippedReasons at the given index.
-
getAssistSkippedReasonsValueList
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;- Returns:
- A list containing the enum numeric values on the wire for assistSkippedReasons.
-
getAssistSkippedReasonsValue
int getAssistSkippedReasonsValue(int index) Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of assistSkippedReasons at the given index.
-