public static final class Webhook.ServiceDirectoryConfig.Builder extends GeneratedMessageV3.Builder<Webhook.ServiceDirectoryConfig.Builder> implements Webhook.ServiceDirectoryConfigOrBuilder
Represents configuration for a Service
Directory service.
Protobuf type google.cloud.dialogflow.cx.v3.Webhook.ServiceDirectoryConfig
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Webhook.ServiceDirectoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Webhook.ServiceDirectoryConfig build()
buildPartial()
public Webhook.ServiceDirectoryConfig buildPartial()
clear()
public Webhook.ServiceDirectoryConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Webhook.ServiceDirectoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGenericWebService()
public Webhook.ServiceDirectoryConfig.Builder clearGenericWebService()
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Webhook.ServiceDirectoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public Webhook.ServiceDirectoryConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Webhook.ServiceDirectoryConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGenericWebService()
public Webhook.GenericWebService getGenericWebService()
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
getGenericWebServiceBuilder()
public Webhook.GenericWebService.Builder getGenericWebServiceBuilder()
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
getGenericWebServiceOrBuilder()
public Webhook.GenericWebServiceOrBuilder getGenericWebServiceOrBuilder()
Generic Service configuration of this webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService generic_web_service = 2;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Webhook.ServiceDirectoryConfig other)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(Webhook.ServiceDirectoryConfig other)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Webhook.ServiceDirectoryConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.ServiceDirectoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Webhook.ServiceDirectoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Webhook.ServiceDirectoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
String
The service to set.
|
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 |
ByteString
The bytes for service to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.ServiceDirectoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides