public final class WebhookResponse extends com.google.protobuf.GeneratedMessageV3 implements WebhookResponseOrBuilder
The response message for a webhook call.Protobuf type
google.cloud.dialogflow.cx.v3.WebhookResponse| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookResponse.Builder
The response message for a webhook call.
|
static class |
WebhookResponse.FulfillmentResponse
Represents a fulfillment response to the user.
|
static interface |
WebhookResponse.FulfillmentResponseOrBuilder |
static class |
WebhookResponse.TransitionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FULFILLMENT_RESPONSE_FIELD_NUMBER |
static int |
PAGE_INFO_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
SESSION_INFO_FIELD_NUMBER |
static int |
TARGET_FLOW_FIELD_NUMBER |
static int |
TARGET_PAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static WebhookResponse |
getDefaultInstance() |
WebhookResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WebhookResponse.FulfillmentResponse |
getFulfillmentResponse()
The fulfillment response to send to the user.
|
WebhookResponse.FulfillmentResponseOrBuilder |
getFulfillmentResponseOrBuilder()
The fulfillment response to send to the user.
|
PageInfo |
getPageInfo()
Information about page status.
|
PageInfoOrBuilder |
getPageInfoOrBuilder()
Information about page status.
|
com.google.protobuf.Parser<WebhookResponse> |
getParserForType() |
com.google.protobuf.Struct |
getPayload()
Value to append directly to
[QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
|
com.google.protobuf.StructOrBuilder |
getPayloadOrBuilder()
Value to append directly to
[QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
|
int |
getSerializedSize() |
SessionInfo |
getSessionInfo()
Information about session status.
|
SessionInfoOrBuilder |
getSessionInfoOrBuilder()
Information about session status.
|
String |
getTargetFlow()
The target flow to transition to.
|
com.google.protobuf.ByteString |
getTargetFlowBytes()
The target flow to transition to.
|
String |
getTargetPage()
The target page to transition to.
|
com.google.protobuf.ByteString |
getTargetPageBytes()
The target page to transition to.
|
WebhookResponse.TransitionCase |
getTransitionCase() |
boolean |
hasFulfillmentResponse()
The fulfillment response to send to the user.
|
int |
hashCode() |
boolean |
hasPageInfo()
Information about page status.
|
boolean |
hasPayload()
Value to append directly to
[QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
|
boolean |
hasSessionInfo()
Information about session status.
|
boolean |
hasTargetFlow()
The target flow to transition to.
|
boolean |
hasTargetPage()
The target page to transition to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebhookResponse.Builder |
newBuilder() |
static WebhookResponse.Builder |
newBuilder(WebhookResponse prototype) |
WebhookResponse.Builder |
newBuilderForType() |
protected WebhookResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WebhookResponse |
parseDelimitedFrom(InputStream input) |
static WebhookResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookResponse |
parseFrom(byte[] data) |
static WebhookResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookResponse |
parseFrom(ByteBuffer data) |
static WebhookResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookResponse |
parseFrom(com.google.protobuf.ByteString data) |
static WebhookResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebhookResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookResponse |
parseFrom(InputStream input) |
static WebhookResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebhookResponse> |
parser() |
WebhookResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FULFILLMENT_RESPONSE_FIELD_NUMBER
public static final int PAGE_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int TARGET_PAGE_FIELD_NUMBER
public static final int TARGET_FLOW_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public WebhookResponse.TransitionCase getTransitionCase()
getTransitionCase in interface WebhookResponseOrBuilderpublic 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;
hasFulfillmentResponse in interface WebhookResponseOrBuilderpublic 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;
getFulfillmentResponse in interface WebhookResponseOrBuilderpublic 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;
getFulfillmentResponseOrBuilder in interface WebhookResponseOrBuilderpublic 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;hasPageInfo in interface WebhookResponseOrBuilderpublic 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;getPageInfo in interface WebhookResponseOrBuilderpublic 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;getPageInfoOrBuilder in interface WebhookResponseOrBuilderpublic 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;hasSessionInfo in interface WebhookResponseOrBuilderpublic 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;getSessionInfo in interface WebhookResponseOrBuilderpublic 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;getSessionInfoOrBuilder in interface WebhookResponseOrBuilderpublic boolean hasPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;hasPayload in interface WebhookResponseOrBuilderpublic com.google.protobuf.Struct getPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;getPayload in interface WebhookResponseOrBuilderpublic com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;getPayloadOrBuilder in interface WebhookResponseOrBuilderpublic boolean hasTargetPage()
The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }hasTargetPage in interface WebhookResponseOrBuilderpublic String getTargetPage()
The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }getTargetPage in interface WebhookResponseOrBuilderpublic com.google.protobuf.ByteString getTargetPageBytes()
The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }getTargetPageBytes in interface WebhookResponseOrBuilderpublic boolean hasTargetFlow()
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }hasTargetFlow in interface WebhookResponseOrBuilderpublic String getTargetFlow()
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }getTargetFlow in interface WebhookResponseOrBuilderpublic com.google.protobuf.ByteString getTargetFlowBytes()
The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }getTargetFlowBytes in interface WebhookResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WebhookResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static WebhookResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebhookResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WebhookResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebhookResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WebhookResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WebhookResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebhookResponse.Builder newBuilder()
public static WebhookResponse.Builder newBuilder(WebhookResponse prototype)
public WebhookResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebhookResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebhookResponse getDefaultInstance()
public static com.google.protobuf.Parser<WebhookResponse> parser()
public com.google.protobuf.Parser<WebhookResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebhookResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.