Interface Webhook.ServiceDirectoryConfigOrBuilder (0.29.0)

public static interface Webhook.ServiceDirectoryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGenericWebService()

public abstract Webhook.GenericWebService getGenericWebService()

Generic Service configuration of this webhook.

.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;

Returns
Type Description
Webhook.GenericWebService

The genericWebService.

getGenericWebServiceOrBuilder()

public abstract Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder()

Generic Service configuration of this webhook.

.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;

Returns
Type Description
Webhook.GenericWebServiceOrBuilder

getService()

public abstract String getService()

Required. The name of Service Directory service. Format: projects/<Project ID>/locations/<Location ID>/namespaces/<Namespace ID>/services/<Service ID>. Location ID of the service directory must be the same as the location of the agent.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

Required. The name of Service Directory service. Format: projects/<Project ID>/locations/<Location ID>/namespaces/<Namespace ID>/services/<Service ID>. Location ID of the service directory must be the same as the location of the agent.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for service.

hasGenericWebService()

public abstract boolean hasGenericWebService()

Generic Service configuration of this webhook.

.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;

Returns
Type Description
boolean

Whether the genericWebService field is set.