Class Environment.WebhookConfig.Builder (0.14.2)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Webhook>
Returns
TypeDescription
Environment.WebhookConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.WebhookConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWebhook
Returns
TypeDescription
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
NameDescription
builderForValueWebhook.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebhook
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebhook.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Webhook.Builder

build()

public Environment.WebhookConfig build()
Returns
TypeDescription
Environment.WebhookConfig

buildPartial()

public Environment.WebhookConfig buildPartial()
Returns
TypeDescription
Environment.WebhookConfig

clear()

public Environment.WebhookConfig.Builder clear()
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Environment.WebhookConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.WebhookConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Environment.WebhookConfig.Builder

clone()

public Environment.WebhookConfig.Builder clone()
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides

getDefaultInstanceForType()

public Environment.WebhookConfig getDefaultInstanceForType()
Returns
TypeDescription
Environment.WebhookConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.WebhookOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Environment.WebhookConfig other)

public Environment.WebhookConfig.Builder mergeFrom(Environment.WebhookConfig other)
Parameter
NameDescription
otherEnvironment.WebhookConfig
Returns
TypeDescription
Environment.WebhookConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.WebhookConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Environment.WebhookConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.WebhookConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Environment.WebhookConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.WebhookConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Environment.WebhookConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.WebhookConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueWebhook
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebhook.Builder
Returns
TypeDescription
Environment.WebhookConfig.Builder