@Generated public final class AssistAnswer extends com.google.protobuf.GeneratedMessage implements AssistAnswerOrBuilder
AssistAnswer resource, main part of [AssistResponse][google.cloud.discoveryengine.v1.AssistResponse].Protobuf type
google.cloud.discoveryengine.v1.AssistAnswer| Modifier and Type | Class and Description |
|---|---|
static class |
AssistAnswer.AssistSkippedReason
Possible reasons for not answering an assist call.
|
static class |
AssistAnswer.Builder
AssistAnswer resource, main part of
[AssistResponse][google.cloud.discoveryengine.v1.AssistResponse].
|
static class |
AssistAnswer.Reply
One part of the multi-part response of the assist call.
|
static interface |
AssistAnswer.ReplyOrBuilder |
static class |
AssistAnswer.State
State of the answer generation.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSIST_SKIPPED_REASONS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REPLIES_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AssistAnswer.AssistSkippedReason |
getAssistSkippedReasons(int index)
Reasons for not answering the assist call.
|
int |
getAssistSkippedReasonsCount()
Reasons for not answering the assist call.
|
List<AssistAnswer.AssistSkippedReason> |
getAssistSkippedReasonsList()
Reasons for not answering the assist call.
|
int |
getAssistSkippedReasonsValue(int index)
Reasons for not answering the assist call.
|
List<Integer> |
getAssistSkippedReasonsValueList()
Reasons for not answering the assist call.
|
static AssistAnswer |
getDefaultInstance() |
AssistAnswer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<AssistAnswer> |
getParserForType() |
AssistAnswer.Reply |
getReplies(int index)
Replies of the assistant.
|
int |
getRepliesCount()
Replies of the assistant.
|
List<AssistAnswer.Reply> |
getRepliesList()
Replies of the assistant.
|
AssistAnswer.ReplyOrBuilder |
getRepliesOrBuilder(int index)
Replies of the assistant.
|
List<? extends AssistAnswer.ReplyOrBuilder> |
getRepliesOrBuilderList()
Replies of the assistant.
|
int |
getSerializedSize() |
AssistAnswer.State |
getState()
State of the answer generation.
|
int |
getStateValue()
State of the answer generation.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AssistAnswer.Builder |
newBuilder() |
static AssistAnswer.Builder |
newBuilder(AssistAnswer prototype) |
AssistAnswer.Builder |
newBuilderForType() |
protected AssistAnswer.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static AssistAnswer |
parseDelimitedFrom(InputStream input) |
static AssistAnswer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistAnswer |
parseFrom(byte[] data) |
static AssistAnswer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistAnswer |
parseFrom(ByteBuffer data) |
static AssistAnswer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistAnswer |
parseFrom(com.google.protobuf.ByteString data) |
static AssistAnswer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistAnswer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AssistAnswer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistAnswer |
parseFrom(InputStream input) |
static AssistAnswer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AssistAnswer> |
parser() |
AssistAnswer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int REPLIES_FIELD_NUMBER
public static final int ASSIST_SKIPPED_REASONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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];getName in interface AssistAnswerOrBuilderpublic 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];getNameBytes in interface AssistAnswerOrBuilderpublic int getStateValue()
State of the answer generation.
.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;getStateValue in interface AssistAnswerOrBuilderpublic AssistAnswer.State getState()
State of the answer generation.
.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;getState in interface AssistAnswerOrBuilderpublic List<AssistAnswer.Reply> getRepliesList()
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;getRepliesList in interface AssistAnswerOrBuilderpublic List<? extends AssistAnswer.ReplyOrBuilder> getRepliesOrBuilderList()
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;getRepliesOrBuilderList in interface AssistAnswerOrBuilderpublic int getRepliesCount()
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;getRepliesCount in interface AssistAnswerOrBuilderpublic AssistAnswer.Reply getReplies(int index)
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;getReplies in interface AssistAnswerOrBuilderpublic AssistAnswer.ReplyOrBuilder getRepliesOrBuilder(int index)
Replies of the assistant.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;getRepliesOrBuilder in interface AssistAnswerOrBuilderpublic List<AssistAnswer.AssistSkippedReason> getAssistSkippedReasonsList()
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
getAssistSkippedReasonsList in interface AssistAnswerOrBuilderpublic int getAssistSkippedReasonsCount()
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
getAssistSkippedReasonsCount in interface AssistAnswerOrBuilderpublic AssistAnswer.AssistSkippedReason getAssistSkippedReasons(int index)
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
getAssistSkippedReasons in interface AssistAnswerOrBuilderindex - The index of the element to return.public List<Integer> getAssistSkippedReasonsValueList()
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
getAssistSkippedReasonsValueList in interface AssistAnswerOrBuilderpublic int getAssistSkippedReasonsValue(int index)
Reasons for not answering the assist call.
repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
getAssistSkippedReasonsValue in interface AssistAnswerOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AssistAnswer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistAnswer parseFrom(InputStream input) throws IOException
IOExceptionpublic static AssistAnswer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssistAnswer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AssistAnswer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssistAnswer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AssistAnswer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AssistAnswer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AssistAnswer.Builder newBuilder()
public static AssistAnswer.Builder newBuilder(AssistAnswer prototype)
public AssistAnswer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AssistAnswer.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static AssistAnswer getDefaultInstance()
public static com.google.protobuf.Parser<AssistAnswer> parser()
public com.google.protobuf.Parser<AssistAnswer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic AssistAnswer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.