Interface WebhookOrBuilder (0.52.0)

public interface WebhookOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisabled()

public abstract boolean getDisabled()

Indicates whether the webhook is disabled.

bool disabled = 5;

Returns
TypeDescription
boolean

The disabled.

getDisplayName()

public abstract String getDisplayName()

Required. The human-readable name of the webhook, unique within the agent.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The human-readable name of the webhook, unique within the agent.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getGenericWebService()

public abstract Webhook.GenericWebService getGenericWebService()

Configuration for a generic web service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4;

Returns
TypeDescription
Webhook.GenericWebService

The genericWebService.

getGenericWebServiceOrBuilder()

public abstract Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder()

Configuration for a generic web service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4;

Returns
TypeDescription
Webhook.GenericWebServiceOrBuilder

getName()

public abstract String getName()

The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getServiceDirectory()

public abstract Webhook.ServiceDirectoryConfig getServiceDirectory()

Configuration for a Service Directory service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7;

Returns
TypeDescription
Webhook.ServiceDirectoryConfig

The serviceDirectory.

getServiceDirectoryOrBuilder()

public abstract Webhook.ServiceDirectoryConfigOrBuilder getServiceDirectoryOrBuilder()

Configuration for a Service Directory service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7;

Returns
TypeDescription
Webhook.ServiceDirectoryConfigOrBuilder

getTimeout()

public abstract 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;

Returns
TypeDescription
Duration

The timeout.

getTimeoutOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getWebhookCase()

public abstract Webhook.WebhookCase getWebhookCase()
Returns
TypeDescription
Webhook.WebhookCase

hasGenericWebService()

public abstract boolean hasGenericWebService()

Configuration for a generic web service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService generic_web_service = 4;

Returns
TypeDescription
boolean

Whether the genericWebService field is set.

hasServiceDirectory()

public abstract boolean hasServiceDirectory()

Configuration for a Service Directory service.

.google.cloud.dialogflow.cx.v3beta1.Webhook.ServiceDirectoryConfig service_directory = 7;

Returns
TypeDescription
boolean

Whether the serviceDirectory field is set.

hasTimeout()

public abstract 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;

Returns
TypeDescription
boolean

Whether the timeout field is set.