public final class DialogflowAssistAnswer extends GeneratedMessageV3 implements DialogflowAssistAnswerOrBuilder
Represents a Dialogflow assist answer.
Protobuf type google.cloud.dialogflow.v2.DialogflowAssistAnswer
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANSWER_RECORD_FIELD_NUMBER
public static final int ANSWER_RECORD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INTENT_SUGGESTION_FIELD_NUMBER
public static final int INTENT_SUGGESTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUERY_RESULT_FIELD_NUMBER
public static final int QUERY_RESULT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DialogflowAssistAnswer getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DialogflowAssistAnswer.Builder newBuilder()
newBuilder(DialogflowAssistAnswer prototype)
public static DialogflowAssistAnswer.Builder newBuilder(DialogflowAssistAnswer prototype)
public static DialogflowAssistAnswer parseDelimitedFrom(InputStream input)
public static DialogflowAssistAnswer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DialogflowAssistAnswer parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DialogflowAssistAnswer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DialogflowAssistAnswer parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DialogflowAssistAnswer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DialogflowAssistAnswer parseFrom(CodedInputStream input)
public static DialogflowAssistAnswer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DialogflowAssistAnswer parseFrom(InputStream input)
public static DialogflowAssistAnswer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DialogflowAssistAnswer parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DialogflowAssistAnswer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DialogflowAssistAnswer> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAnswerRecord()
public String getAnswerRecord()
The name of answer record, in the format of
"projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record
ID>"
string answer_record = 2;
Returns |
Type |
Description |
String |
The answerRecord.
|
getAnswerRecordBytes()
public ByteString getAnswerRecordBytes()
The name of answer record, in the format of
"projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record
ID>"
string answer_record = 2;
Returns |
Type |
Description |
ByteString |
The bytes for answerRecord.
|
getDefaultInstanceForType()
public DialogflowAssistAnswer getDefaultInstanceForType()
getIntentSuggestion()
public IntentSuggestion getIntentSuggestion()
An intent suggestion generated from conversation.
.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;
getIntentSuggestionOrBuilder()
public IntentSuggestionOrBuilder getIntentSuggestionOrBuilder()
An intent suggestion generated from conversation.
.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;
getParserForType()
public Parser<DialogflowAssistAnswer> getParserForType()
Overrides
getQueryResult()
public QueryResult getQueryResult()
Result from v2 agent.
.google.cloud.dialogflow.v2.QueryResult query_result = 1;
getQueryResultOrBuilder()
public QueryResultOrBuilder getQueryResultOrBuilder()
Result from v2 agent.
.google.cloud.dialogflow.v2.QueryResult query_result = 1;
getResultCase()
public DialogflowAssistAnswer.ResultCase getResultCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasIntentSuggestion()
public boolean hasIntentSuggestion()
An intent suggestion generated from conversation.
.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;
Returns |
Type |
Description |
boolean |
Whether the intentSuggestion field is set.
|
hasQueryResult()
public boolean hasQueryResult()
Result from v2 agent.
.google.cloud.dialogflow.v2.QueryResult query_result = 1;
Returns |
Type |
Description |
boolean |
Whether the queryResult field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DialogflowAssistAnswer.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DialogflowAssistAnswer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DialogflowAssistAnswer.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides