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.v3.Environment.WebhookConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Webhook>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.WebhookConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
value |
Webhook
|
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.v3.Webhook webhook_overrides = 1;
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.v3.Webhook webhook_overrides = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Webhook
|
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.v3.Webhook webhook_overrides = 1;
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.v3.Webhook webhook_overrides = 1;
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public Environment.WebhookConfig build()
buildPartial()
public Environment.WebhookConfig buildPartial()
clear()
public Environment.WebhookConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Environment.WebhookConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.WebhookConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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.v3.Webhook webhook_overrides = 1;
clone()
public Environment.WebhookConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Environment.WebhookConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
index |
int
|
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
index |
int
|
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.v3.Webhook webhook_overrides = 1;
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.v3.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.v3.Webhook webhook_overrides = 1;
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
index |
int
|
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.v3.Webhook webhook_overrides = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.WebhookOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Environment.WebhookConfig other)
public Environment.WebhookConfig.Builder mergeFrom(Environment.WebhookConfig other)
public Environment.WebhookConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Environment.WebhookConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.WebhookConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v3.Webhook webhook_overrides = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.WebhookConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.WebhookConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.WebhookConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.v3.Webhook webhook_overrides = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Webhook
|
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.v3.Webhook webhook_overrides = 1;