public static final class BatchDeleteTestCasesRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteTestCasesRequest.Builder> implements BatchDeleteTestCasesRequestOrBuilderThe request message for TestCases.BatchDeleteTestCases.
Protobuf type google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchDeleteTestCasesRequest.BuilderImplements
BatchDeleteTestCasesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllNames(Iterable<String> values)
public BatchDeleteTestCasesRequest.Builder addAllNames(Iterable<String> values) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
values |
Iterable<String>The names to add. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
addNames(String value)
public BatchDeleteTestCasesRequest.Builder addNames(String value) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
StringThe names to add. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
addNamesBytes(ByteString value)
public BatchDeleteTestCasesRequest.Builder addNamesBytes(ByteString value) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
ByteStringThe bytes of the names to add. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteTestCasesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
build()
public BatchDeleteTestCasesRequest build()| Type | Description |
BatchDeleteTestCasesRequest |
buildPartial()
public BatchDeleteTestCasesRequest buildPartial()| Type | Description |
BatchDeleteTestCasesRequest |
clear()
public BatchDeleteTestCasesRequest.Builder clear()| Type | Description |
BatchDeleteTestCasesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchDeleteTestCasesRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
clearNames()
public BatchDeleteTestCasesRequest.Builder clearNames() Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDeleteTestCasesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
clearParent()
public BatchDeleteTestCasesRequest.Builder clearParent() Required. The agent to delete test cases from.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
clone()
public BatchDeleteTestCasesRequest.Builder clone()| Type | Description |
BatchDeleteTestCasesRequest.Builder |
getDefaultInstanceForType()
public BatchDeleteTestCasesRequest getDefaultInstanceForType()| Type | Description |
BatchDeleteTestCasesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getNames(int index)
public String getNames(int index) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
index |
intThe index of the element to return. |
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
index |
intThe index of the value to return. |
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount() Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList() Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
ProtocolStringList |
A list containing the names. |
getParent()
public String getParent() Required. The agent to delete test cases from.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The agent to delete test cases from.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(BatchDeleteTestCasesRequest other)
public BatchDeleteTestCasesRequest.Builder mergeFrom(BatchDeleteTestCasesRequest other)| Name | Description |
other |
BatchDeleteTestCasesRequest |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchDeleteTestCasesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public BatchDeleteTestCasesRequest.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteTestCasesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteTestCasesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
setNames(int index, String value)
public BatchDeleteTestCasesRequest.Builder setNames(int index, String value) Required. Format of test case names: projects/<Project ID>/locations/
<Location ID>/agents/<AgentID>/testCases/<TestCase ID>.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe names to set. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
setParent(String value)
public BatchDeleteTestCasesRequest.Builder setParent(String value) Required. The agent to delete test cases from.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
StringThe parent to set. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchDeleteTestCasesRequest.Builder setParentBytes(ByteString value) Required. The agent to delete test cases from.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDeleteTestCasesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteTestCasesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BatchDeleteTestCasesRequest.Builder |