- 0.65.0 (latest)
- 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 WebhookResponse.Builder extends GeneratedMessageV3.Builder<WebhookResponse.Builder> implements WebhookResponseOrBuilder
The response message for a webhook call.
Protobuf type google.cloud.dialogflow.cx.v3.WebhookResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WebhookResponse.BuilderImplements
WebhookResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebhookResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WebhookResponse.Builder |
build()
public WebhookResponse build()
Type | Description |
WebhookResponse |
buildPartial()
public WebhookResponse buildPartial()
Type | Description |
WebhookResponse |
clear()
public WebhookResponse.Builder clear()
Type | Description |
WebhookResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public WebhookResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WebhookResponse.Builder |
clearFulfillmentResponse()
public WebhookResponse.Builder clearFulfillmentResponse()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Type | Description |
WebhookResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WebhookResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WebhookResponse.Builder |
clearPageInfo()
public WebhookResponse.Builder clearPageInfo()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Type | Description |
WebhookResponse.Builder |
clearPayload()
public WebhookResponse.Builder clearPayload()
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Type | Description |
WebhookResponse.Builder |
clearSessionInfo()
public WebhookResponse.Builder clearSessionInfo()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Type | Description |
WebhookResponse.Builder |
clearTargetFlow()
public WebhookResponse.Builder clearTargetFlow()
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
clearTargetPage()
public WebhookResponse.Builder clearTargetPage()
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
clearTransition()
public WebhookResponse.Builder clearTransition()
Type | Description |
WebhookResponse.Builder |
clone()
public WebhookResponse.Builder clone()
Type | Description |
WebhookResponse.Builder |
getDefaultInstanceForType()
public WebhookResponse getDefaultInstanceForType()
Type | Description |
WebhookResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFulfillmentResponse()
public WebhookResponse.FulfillmentResponse getFulfillmentResponse()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Type | Description |
WebhookResponse.FulfillmentResponse | The fulfillmentResponse. |
getFulfillmentResponseBuilder()
public WebhookResponse.FulfillmentResponse.Builder getFulfillmentResponseBuilder()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Type | Description |
WebhookResponse.FulfillmentResponse.Builder |
getFulfillmentResponseOrBuilder()
public WebhookResponse.FulfillmentResponseOrBuilder getFulfillmentResponseOrBuilder()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Type | Description |
WebhookResponse.FulfillmentResponseOrBuilder |
getPageInfo()
public PageInfo getPageInfo()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Type | Description |
PageInfo | The pageInfo. |
getPageInfoBuilder()
public PageInfo.Builder getPageInfoBuilder()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Type | Description |
PageInfo.Builder |
getPageInfoOrBuilder()
public PageInfoOrBuilder getPageInfoOrBuilder()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Type | Description |
PageInfoOrBuilder |
getPayload()
public Struct getPayload()
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Type | Description |
Struct | The payload. |
getPayloadBuilder()
public Struct.Builder getPayloadBuilder()
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Type | Description |
Builder |
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Type | Description |
StructOrBuilder |
getSessionInfo()
public SessionInfo getSessionInfo()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Type | Description |
SessionInfo | The sessionInfo. |
getSessionInfoBuilder()
public SessionInfo.Builder getSessionInfoBuilder()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Type | Description |
SessionInfo.Builder |
getSessionInfoOrBuilder()
public SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Type | Description |
SessionInfoOrBuilder |
getTargetFlow()
public String getTargetFlow()
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The targetFlow. |
getTargetFlowBytes()
public ByteString getTargetFlowBytes()
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for targetFlow. |
getTargetPage()
public String getTargetPage()
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The targetPage. |
getTargetPageBytes()
public ByteString getTargetPageBytes()
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for targetPage. |
getTransitionCase()
public WebhookResponse.TransitionCase getTransitionCase()
Type | Description |
WebhookResponse.TransitionCase |
hasFulfillmentResponse()
public boolean hasFulfillmentResponse()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Type | Description |
boolean | Whether the fulfillmentResponse field is set. |
hasPageInfo()
public boolean hasPageInfo()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Type | Description |
boolean | Whether the pageInfo field is set. |
hasPayload()
public boolean hasPayload()
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Type | Description |
boolean | Whether the payload field is set. |
hasSessionInfo()
public boolean hasSessionInfo()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Type | Description |
boolean | Whether the sessionInfo field is set. |
hasTargetFlow()
public boolean hasTargetFlow()
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the targetFlow field is set. |
hasTargetPage()
public boolean hasTargetPage()
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the targetPage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(WebhookResponse other)
public WebhookResponse.Builder mergeFrom(WebhookResponse other)
Name | Description |
other | WebhookResponse |
Type | Description |
WebhookResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WebhookResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WebhookResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public WebhookResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
WebhookResponse.Builder |
mergeFulfillmentResponse(WebhookResponse.FulfillmentResponse value)
public WebhookResponse.Builder mergeFulfillmentResponse(WebhookResponse.FulfillmentResponse value)
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Name | Description |
value | WebhookResponse.FulfillmentResponse |
Type | Description |
WebhookResponse.Builder |
mergePageInfo(PageInfo value)
public WebhookResponse.Builder mergePageInfo(PageInfo value)
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Name | Description |
value | PageInfo |
Type | Description |
WebhookResponse.Builder |
mergePayload(Struct value)
public WebhookResponse.Builder mergePayload(Struct value)
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Name | Description |
value | Struct |
Type | Description |
WebhookResponse.Builder |
mergeSessionInfo(SessionInfo value)
public WebhookResponse.Builder mergeSessionInfo(SessionInfo value)
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Name | Description |
value | SessionInfo |
Type | Description |
WebhookResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebhookResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WebhookResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public WebhookResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WebhookResponse.Builder |
setFulfillmentResponse(WebhookResponse.FulfillmentResponse value)
public WebhookResponse.Builder setFulfillmentResponse(WebhookResponse.FulfillmentResponse value)
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Name | Description |
value | WebhookResponse.FulfillmentResponse |
Type | Description |
WebhookResponse.Builder |
setFulfillmentResponse(WebhookResponse.FulfillmentResponse.Builder builderForValue)
public WebhookResponse.Builder setFulfillmentResponse(WebhookResponse.FulfillmentResponse.Builder builderForValue)
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Name | Description |
builderForValue | WebhookResponse.FulfillmentResponse.Builder |
Type | Description |
WebhookResponse.Builder |
setPageInfo(PageInfo value)
public WebhookResponse.Builder setPageInfo(PageInfo value)
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Name | Description |
value | PageInfo |
Type | Description |
WebhookResponse.Builder |
setPageInfo(PageInfo.Builder builderForValue)
public WebhookResponse.Builder setPageInfo(PageInfo.Builder builderForValue)
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
Name | Description |
builderForValue | PageInfo.Builder |
Type | Description |
WebhookResponse.Builder |
setPayload(Struct value)
public WebhookResponse.Builder setPayload(Struct value)
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Name | Description |
value | Struct |
Type | Description |
WebhookResponse.Builder |
setPayload(Struct.Builder builderForValue)
public WebhookResponse.Builder setPayload(Struct.Builder builderForValue)
Value to append directly to QueryResult.webhook_payloads.
.google.protobuf.Struct payload = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
WebhookResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebhookResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
WebhookResponse.Builder |
setSessionInfo(SessionInfo value)
public WebhookResponse.Builder setSessionInfo(SessionInfo value)
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Name | Description |
value | SessionInfo |
Type | Description |
WebhookResponse.Builder |
setSessionInfo(SessionInfo.Builder builderForValue)
public WebhookResponse.Builder setSessionInfo(SessionInfo.Builder builderForValue)
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
Name | Description |
builderForValue | SessionInfo.Builder |
Type | Description |
WebhookResponse.Builder |
setTargetFlow(String value)
public WebhookResponse.Builder setTargetFlow(String value)
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The targetFlow to set. |
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
setTargetFlowBytes(ByteString value)
public WebhookResponse.Builder setTargetFlowBytes(ByteString value)
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for targetFlow to set. |
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
setTargetPage(String value)
public WebhookResponse.Builder setTargetPage(String value)
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The targetPage to set. |
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
setTargetPageBytes(ByteString value)
public WebhookResponse.Builder setTargetPageBytes(ByteString value)
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string target_page = 5 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for targetPage to set. |
Type | Description |
WebhookResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WebhookResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WebhookResponse.Builder |