- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class SubmitAnswerFeedbackRequest.Builder extends GeneratedMessageV3.Builder<SubmitAnswerFeedbackRequest.Builder> implements SubmitAnswerFeedbackRequestOrBuilder
The request to set the feedback for a bot answer.
Protobuf type google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubmitAnswerFeedbackRequest.BuilderImplements
SubmitAnswerFeedbackRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubmitAnswerFeedbackRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
build()
public SubmitAnswerFeedbackRequest build()
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest |
buildPartial()
public SubmitAnswerFeedbackRequest buildPartial()
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest |
clear()
public SubmitAnswerFeedbackRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
clearAnswerFeedback()
public SubmitAnswerFeedbackRequest.Builder clearAnswerFeedback()
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SubmitAnswerFeedbackRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SubmitAnswerFeedbackRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
clearResponseId()
public SubmitAnswerFeedbackRequest.Builder clearResponseId()
Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
clearSession()
public SubmitAnswerFeedbackRequest.Builder clearSession()
Required. The name of the session the feedback was sent to.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public SubmitAnswerFeedbackRequest.Builder clearUpdateMask()
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
clone()
public SubmitAnswerFeedbackRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
getAnswerFeedback()
public AnswerFeedback getAnswerFeedback()
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AnswerFeedback |
The answerFeedback. |
getAnswerFeedbackBuilder()
public AnswerFeedback.Builder getAnswerFeedbackBuilder()
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
getAnswerFeedbackOrBuilder()
public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AnswerFeedbackOrBuilder |
getDefaultInstanceForType()
public SubmitAnswerFeedbackRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getResponseId()
public String getResponseId()
Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The responseId. |
getResponseIdBytes()
public ByteString getResponseIdBytes()
Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for responseId. |
getSession()
public String getSession()
Required. The name of the session the feedback was sent to.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The session. |
getSessionBytes()
public ByteString getSessionBytes()
Required. The name of the session the feedback was sent to.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for session. |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasAnswerFeedback()
public boolean hasAnswerFeedback()
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the answerFeedback field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAnswerFeedback(AnswerFeedback value)
public SubmitAnswerFeedbackRequest.Builder mergeAnswerFeedback(AnswerFeedback value)
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
mergeFrom(SubmitAnswerFeedbackRequest other)
public SubmitAnswerFeedbackRequest.Builder mergeFrom(SubmitAnswerFeedbackRequest other)
Parameter | |
---|---|
Name | Description |
other |
SubmitAnswerFeedbackRequest |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubmitAnswerFeedbackRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SubmitAnswerFeedbackRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubmitAnswerFeedbackRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
mergeUpdateMask(FieldMask value)
public SubmitAnswerFeedbackRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setAnswerFeedback(AnswerFeedback value)
public SubmitAnswerFeedbackRequest.Builder setAnswerFeedback(AnswerFeedback value)
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setAnswerFeedback(AnswerFeedback.Builder builderForValue)
public SubmitAnswerFeedbackRequest.Builder setAnswerFeedback(AnswerFeedback.Builder builderForValue)
Required. Feedback provided for a bot answer.
.google.cloud.dialogflow.cx.v3.AnswerFeedback answer_feedback = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
AnswerFeedback.Builder |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SubmitAnswerFeedbackRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubmitAnswerFeedbackRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setResponseId(String value)
public SubmitAnswerFeedbackRequest.Builder setResponseId(String value)
Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The responseId to set. |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
setResponseIdBytes(ByteString value)
public SubmitAnswerFeedbackRequest.Builder setResponseIdBytes(ByteString value)
Required. ID of the response to update its feedback. This is the same as DetectIntentResponse.response_id.
string response_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for responseId to set. |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
setSession(String value)
public SubmitAnswerFeedbackRequest.Builder setSession(String value)
Required. The name of the session the feedback was sent to.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The session to set. |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
setSessionBytes(ByteString value)
public SubmitAnswerFeedbackRequest.Builder setSessionBytes(ByteString value)
Required. The name of the session the feedback was sent to.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for session to set. |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SubmitAnswerFeedbackRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setUpdateMask(FieldMask value)
public SubmitAnswerFeedbackRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public SubmitAnswerFeedbackRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The mask to control which fields to update. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
SubmitAnswerFeedbackRequest.Builder |