Class Environment.WebhookConfig.Builder (0.41.0)

public static final class Environment.WebhookConfig.Builder extends GeneratedMessageV3.Builder<Environment.WebhookConfig.Builder> implements Environment.WebhookConfigOrBuilder

Configuration for webhooks.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Environment.WebhookConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWebhookOverrides(Iterable<? extends Webhook> values)

public Environment.WebhookConfig.Builder addAllWebhookOverrides(Iterable<? extends Webhook> values)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Webhook>
Returns
Type Description
Environment.WebhookConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.WebhookConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

addWebhookOverrides(Webhook value)

public Environment.WebhookConfig.Builder addWebhookOverrides(Webhook value)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
value Webhook
Returns
Type Description
Environment.WebhookConfig.Builder

addWebhookOverrides(Webhook.Builder builderForValue)

public Environment.WebhookConfig.Builder addWebhookOverrides(Webhook.Builder builderForValue)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
builderForValue Webhook.Builder
Returns
Type Description
Environment.WebhookConfig.Builder

addWebhookOverrides(int index, Webhook value)

public Environment.WebhookConfig.Builder addWebhookOverrides(int index, Webhook value)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameters
Name Description
index int
value Webhook
Returns
Type Description
Environment.WebhookConfig.Builder

addWebhookOverrides(int index, Webhook.Builder builderForValue)

public Environment.WebhookConfig.Builder addWebhookOverrides(int index, Webhook.Builder builderForValue)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameters
Name Description
index int
builderForValue Webhook.Builder
Returns
Type Description
Environment.WebhookConfig.Builder

addWebhookOverridesBuilder()

public Webhook.Builder addWebhookOverridesBuilder()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
Webhook.Builder

addWebhookOverridesBuilder(int index)

public Webhook.Builder addWebhookOverridesBuilder(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
index int
Returns
Type Description
Webhook.Builder

build()

public Environment.WebhookConfig build()
Returns
Type Description
Environment.WebhookConfig

buildPartial()

public Environment.WebhookConfig buildPartial()
Returns
Type Description
Environment.WebhookConfig

clear()

public Environment.WebhookConfig.Builder clear()
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Environment.WebhookConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.WebhookConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

clearWebhookOverrides()

public Environment.WebhookConfig.Builder clearWebhookOverrides()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
Environment.WebhookConfig.Builder

clone()

public Environment.WebhookConfig.Builder clone()
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

getDefaultInstanceForType()

public Environment.WebhookConfig getDefaultInstanceForType()
Returns
Type Description
Environment.WebhookConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWebhookOverrides(int index)

public Webhook getWebhookOverrides(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
index int
Returns
Type Description
Webhook

getWebhookOverridesBuilder(int index)

public Webhook.Builder getWebhookOverridesBuilder(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
index int
Returns
Type Description
Webhook.Builder

getWebhookOverridesBuilderList()

public List<Webhook.Builder> getWebhookOverridesBuilderList()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
List<Builder>

getWebhookOverridesCount()

public int getWebhookOverridesCount()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
int

getWebhookOverridesList()

public List<Webhook> getWebhookOverridesList()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
List<Webhook>

getWebhookOverridesOrBuilder(int index)

public WebhookOrBuilder getWebhookOverridesOrBuilder(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
index int
Returns
Type Description
WebhookOrBuilder

getWebhookOverridesOrBuilderList()

public List<? extends WebhookOrBuilder> getWebhookOverridesOrBuilderList()

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.WebhookOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Environment.WebhookConfig other)

public Environment.WebhookConfig.Builder mergeFrom(Environment.WebhookConfig other)
Parameter
Name Description
other Environment.WebhookConfig
Returns
Type Description
Environment.WebhookConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.WebhookConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Environment.WebhookConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.WebhookConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

removeWebhookOverrides(int index)

public Environment.WebhookConfig.Builder removeWebhookOverrides(int index)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment.WebhookConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.WebhookConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Environment.WebhookConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.WebhookConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.WebhookConfig.Builder
Overrides

setWebhookOverrides(int index, Webhook value)

public Environment.WebhookConfig.Builder setWebhookOverrides(int index, Webhook value)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameters
Name Description
index int
value Webhook
Returns
Type Description
Environment.WebhookConfig.Builder

setWebhookOverrides(int index, Webhook.Builder builderForValue)

public Environment.WebhookConfig.Builder setWebhookOverrides(int index, Webhook.Builder builderForValue)

The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in generic_web_service and service_directory.

repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhook_overrides = 1;

Parameters
Name Description
index int
builderForValue Webhook.Builder
Returns
Type Description
Environment.WebhookConfig.Builder