public interface WebhookOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDisabled()
Indicates whether the webhook is disabled.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Webhook.GenericWebService |
getGenericWebService()
Configuration for a generic web service.
|
Webhook.GenericWebServiceOrBuilder |
getGenericWebServiceOrBuilder()
Configuration for a generic web service.
|
String |
getName()
The unique identifier of the webhook.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the webhook.
|
Webhook.ServiceDirectoryConfig |
getServiceDirectory()
Configuration for a [Service
Directory](https://cloud.google.com/service-directory) service.
|
Webhook.ServiceDirectoryConfigOrBuilder |
getServiceDirectoryOrBuilder()
Configuration for a [Service
Directory](https://cloud.google.com/service-directory) service.
|
com.google.protobuf.Duration |
getTimeout()
Webhook execution timeout.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Webhook execution timeout.
|
Webhook.WebhookCase |
getWebhookCase() |
boolean |
hasGenericWebService()
Configuration for a generic web service.
|
boolean |
hasServiceDirectory()
Configuration for a [Service
Directory](https://cloud.google.com/service-directory) service.
|
boolean |
hasTimeout()
Webhook execution timeout.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The unique identifier of the webhook. Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The unique identifier of the webhook. Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method. [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
string name = 1;String getDisplayName()
Required. The human-readable name of the webhook, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the webhook, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];boolean hasGenericWebService()
Configuration for a generic web service.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;Webhook.GenericWebService getGenericWebService()
Configuration for a generic web service.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder()
Configuration for a generic web service.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 4;boolean hasServiceDirectory()
Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7;
Webhook.ServiceDirectoryConfig getServiceDirectory()
Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7;
Webhook.ServiceDirectoryConfigOrBuilder getServiceDirectoryOrBuilder()
Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
.google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig service_directory = 7;
boolean hasTimeout()
Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
.google.protobuf.Duration timeout = 6;com.google.protobuf.Duration getTimeout()
Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
.google.protobuf.Duration timeout = 6;com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
.google.protobuf.Duration timeout = 6;boolean getDisabled()
Indicates whether the webhook is disabled.
bool disabled = 5;Webhook.WebhookCase getWebhookCase()
Copyright © 2025 Google LLC. All rights reserved.