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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.WebhookConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
build()
public Environment.WebhookConfig build()
Returns
buildPartial()
public Environment.WebhookConfig buildPartial()
Returns
clear()
public Environment.WebhookConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Environment.WebhookConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.WebhookConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public Environment.WebhookConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Environment.WebhookConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Environment.WebhookConfig other)
public Environment.WebhookConfig.Builder mergeFrom(Environment.WebhookConfig other)
Parameter
Returns
public Environment.WebhookConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Environment.WebhookConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.WebhookConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.WebhookConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.WebhookConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.WebhookConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns