public static final class Webhook.ServiceDirectoryConfig.Builder extends GeneratedMessage.Builder<Webhook.ServiceDirectoryConfig.Builder> implements Webhook.ServiceDirectoryConfigOrBuilderRepresents configuration for a Service Directory service.
Protobuf type google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Webhook.ServiceDirectoryConfig.BuilderImplements
Webhook.ServiceDirectoryConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Webhook.ServiceDirectoryConfig build()| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig |
|
buildPartial()
public Webhook.ServiceDirectoryConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig |
|
clear()
public Webhook.ServiceDirectoryConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
clearGenericWebService()
public Webhook.ServiceDirectoryConfig.Builder clearGenericWebService()Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
clearService()
public Webhook.ServiceDirectoryConfig.Builder clearService() Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
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 |
Webhook.ServiceDirectoryConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Webhook.ServiceDirectoryConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGenericWebService()
public 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. |
getGenericWebServiceBuilder()
public Webhook.GenericWebService.Builder getGenericWebServiceBuilder()Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
| Returns | |
|---|---|
| Type | Description |
Webhook.GenericWebService.Builder |
|
getGenericWebServiceOrBuilder()
public 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 String getService() Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
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 ByteString getServiceBytes() Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Webhook.ServiceDirectoryConfig other)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(Webhook.ServiceDirectoryConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Webhook.ServiceDirectoryConfig |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
mergeGenericWebService(Webhook.GenericWebService value)
public Webhook.ServiceDirectoryConfig.Builder mergeGenericWebService(Webhook.GenericWebService value)Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Webhook.GenericWebService |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
setGenericWebService(Webhook.GenericWebService value)
public Webhook.ServiceDirectoryConfig.Builder setGenericWebService(Webhook.GenericWebService value)Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Webhook.GenericWebService |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
setGenericWebService(Webhook.GenericWebService.Builder builderForValue)
public Webhook.ServiceDirectoryConfig.Builder setGenericWebService(Webhook.GenericWebService.Builder builderForValue)Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Webhook.GenericWebService.Builder |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
|
setService(String value)
public Webhook.ServiceDirectoryConfig.Builder setService(String value) Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe service to set. |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
This builder for chaining. |
setServiceBytes(ByteString value)
public Webhook.ServiceDirectoryConfig.Builder setServiceBytes(ByteString value) Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
Webhook.ServiceDirectoryConfig.Builder |
This builder for chaining. |