public static final class Tool.ServiceDirectoryConfig.Builder extends GeneratedMessageV3.Builder<Tool.ServiceDirectoryConfig.Builder> implements Tool.ServiceDirectoryConfigOrBuilder
Configuration for tools using Service Directory.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public Tool.ServiceDirectoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ServiceDirectoryConfig build()
public Tool.ServiceDirectoryConfig buildPartial()
public Tool.ServiceDirectoryConfig.Builder clear()
Overrides
public Tool.ServiceDirectoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.ServiceDirectoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.ServiceDirectoryConfig.Builder clearService()
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>
.
LocationID
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) = { ... }
public Tool.ServiceDirectoryConfig.Builder clone()
Overrides
public Tool.ServiceDirectoryConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getService()
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>
.
LocationID
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.
|
public ByteString getServiceBytes()
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>
.
LocationID
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.ServiceDirectoryConfig.Builder mergeFrom(Tool.ServiceDirectoryConfig other)
public Tool.ServiceDirectoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.ServiceDirectoryConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Tool.ServiceDirectoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.ServiceDirectoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.ServiceDirectoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Tool.ServiceDirectoryConfig.Builder setService(String value)
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>
.
LocationID
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.
|
public Tool.ServiceDirectoryConfig.Builder setServiceBytes(ByteString value)
Required. The name of Service
Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>
.
LocationID
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.
|
public final Tool.ServiceDirectoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides