public static final class DetectIntentResponse.Builder extends GeneratedMessageV3.Builder<DetectIntentResponse.Builder> implements DetectIntentResponseOrBuilder
The message returned from the DetectIntent method.Protobuf type
google.cloud.dialogflow.v2.DetectIntentResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DetectIntentResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DetectIntentResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DetectIntentResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder mergeFrom(DetectIntentResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public DetectIntentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DetectIntentResponse.Builder>
java.io.IOException
public java.lang.String getResponseId()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;
getResponseId
in interface DetectIntentResponseOrBuilder
public ByteString getResponseIdBytes()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;
getResponseIdBytes
in interface DetectIntentResponseOrBuilder
public DetectIntentResponse.Builder setResponseId(java.lang.String value)
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;
public DetectIntentResponse.Builder clearResponseId()
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;
public DetectIntentResponse.Builder setResponseIdBytes(ByteString value)
The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;
public boolean hasQueryResult()
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
hasQueryResult
in interface DetectIntentResponseOrBuilder
public QueryResult getQueryResult()
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
getQueryResult
in interface DetectIntentResponseOrBuilder
public DetectIntentResponse.Builder setQueryResult(QueryResult value)
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
public DetectIntentResponse.Builder setQueryResult(QueryResult.Builder builderForValue)
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
public DetectIntentResponse.Builder mergeQueryResult(QueryResult value)
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
public DetectIntentResponse.Builder clearQueryResult()
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
public QueryResult.Builder getQueryResultBuilder()
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
public QueryResultOrBuilder getQueryResultOrBuilder()
The results of the conversational query or event processing.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
getQueryResultOrBuilder
in interface DetectIntentResponseOrBuilder
public boolean hasWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
hasWebhookStatus
in interface DetectIntentResponseOrBuilder
public Status getWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
getWebhookStatus
in interface DetectIntentResponseOrBuilder
public DetectIntentResponse.Builder setWebhookStatus(Status value)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
public DetectIntentResponse.Builder setWebhookStatus(Status.Builder builderForValue)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
public DetectIntentResponse.Builder mergeWebhookStatus(Status value)
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
public DetectIntentResponse.Builder clearWebhookStatus()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
public Status.Builder getWebhookStatusBuilder()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
public StatusOrBuilder getWebhookStatusOrBuilder()
Specifies the status of the webhook request. `webhook_status` is never populated in webhook requests.
.google.rpc.Status webhook_status = 3;
getWebhookStatusOrBuilder
in interface DetectIntentResponseOrBuilder
public final DetectIntentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>
public final DetectIntentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DetectIntentResponse.Builder>