Send feedback
Class WebhookResponse (0.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.34.0 keyboard_arrow_down
public final class WebhookResponse extends GeneratedMessageV3 implements WebhookResponseOrBuilder
The response message for a webhook call.
Protobuf type google.cloud.dialogflow.cx.v3beta1.WebhookResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
FULFILLMENT_RESPONSE_FIELD_NUMBER
public static final int FULFILLMENT_RESPONSE_FIELD_NUMBER
Field Value
Type
Description
int
PAGE_INFO_FIELD_NUMBER
public static final int PAGE_INFO_FIELD_NUMBER
Field Value
Type
Description
int
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type
Description
int
SESSION_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_FLOW_FIELD_NUMBER
public static final int TARGET_FLOW_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_PAGE_FIELD_NUMBER
public static final int TARGET_PAGE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static WebhookResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static WebhookResponse . Builder newBuilder ()
newBuilder(WebhookResponse prototype)
public static WebhookResponse . Builder newBuilder ( WebhookResponse prototype )
public static WebhookResponse parseDelimitedFrom ( InputStream input )
public static WebhookResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static WebhookResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static WebhookResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static WebhookResponse parseFrom ( CodedInputStream input )
public static WebhookResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static WebhookResponse parseFrom ( InputStream input )
public static WebhookResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static WebhookResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebhookResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<WebhookResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public WebhookResponse getDefaultInstanceForType ()
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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
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.v3beta1.PageInfo page_info = 2;
Returns
Type
Description
PageInfo
The pageInfo.
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.v3beta1.PageInfo page_info = 2;
getParserForType()
public Parser<WebhookResponse> getParserForType ()
Overrides
getPayload()
public Struct getPayload ()
Value to append directly to
QueryResult.webhook_payloads .
.google.protobuf.Struct payload = 4;
Returns
Type
Description
Struct
The payload.
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder ()
Value to append directly to
QueryResult.webhook_payloads .
.google.protobuf.Struct payload = 4;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.v3beta1.SessionInfo session_info = 3;
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.v3beta1.SessionInfo session_info = 3;
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) = { ... }
Returns
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) = { ... }
Returns
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) = { ... }
Returns
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) = { ... }
Returns
Type
Description
ByteString
The bytes for targetPage.
getTransitionCase()
public WebhookResponse . TransitionCase getTransitionCase ()
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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
Returns
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.v3beta1.PageInfo page_info = 2;
Returns
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;
Returns
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.v3beta1.SessionInfo session_info = 3;
Returns
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) = { ... }
Returns
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) = { ... }
Returns
Type
Description
boolean
Whether the targetPage field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public WebhookResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebhookResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public WebhookResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]