- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ListTestCaseResultsRequest.Builder extends GeneratedMessageV3.Builder<ListTestCaseResultsRequest.Builder> implements ListTestCaseResultsRequestOrBuilder
The request message for TestCases.ListTestCaseResults.
Protobuf type google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListTestCaseResultsRequest.BuilderImplements
ListTestCaseResultsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTestCaseResultsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
build()
public ListTestCaseResultsRequest build()
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest |
buildPartial()
public ListTestCaseResultsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest |
clear()
public ListTestCaseResultsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListTestCaseResultsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
clearFilter()
public ListTestCaseResultsRequest.Builder clearFilter()
The filter expression used to filter test case results. See
API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical
operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ...
[AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
string filter = 4;
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTestCaseResultsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
clearPageSize()
public ListTestCaseResultsRequest.Builder clearPageSize()
The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 2;
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListTestCaseResultsRequest.Builder clearPageToken()
The next_page_token value returned from a previous list request.
string page_token = 3;
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
clearParent()
public ListTestCaseResultsRequest.Builder clearParent()
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
clone()
public ListTestCaseResultsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
getDefaultInstanceForType()
public ListTestCaseResultsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
The filter expression used to filter test case results. See
API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical
operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ...
[AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
string filter = 4;
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
The filter expression used to filter test case results. See
API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical
operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ...
[AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
string filter = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()
The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 2;
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
The next_page_token value returned from a previous list request.
string page_token = 3;
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
The next_page_token value returned from a previous list request.
string page_token = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListTestCaseResultsRequest other)
public ListTestCaseResultsRequest.Builder mergeFrom(ListTestCaseResultsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListTestCaseResultsRequest |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListTestCaseResultsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListTestCaseResultsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCaseResultsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListTestCaseResultsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
setFilter(String value)
public ListTestCaseResultsRequest.Builder setFilter(String value)
The filter expression used to filter test case results. See
API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical
operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ...
[AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
string filter = 4;
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListTestCaseResultsRequest.Builder setFilterBytes(ByteString value)
The filter expression used to filter test case results. See
API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical
operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ...
[AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
string filter = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListTestCaseResultsRequest.Builder setPageSize(int value)
The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 2;
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListTestCaseResultsRequest.Builder setPageToken(String value)
The next_page_token value returned from a previous list request.
string page_token = 3;
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListTestCaseResultsRequest.Builder setPageTokenBytes(ByteString value)
The next_page_token value returned from a previous list request.
string page_token = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListTestCaseResultsRequest.Builder setParent(String value)
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListTestCaseResultsRequest.Builder setParentBytes(ByteString value)
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTestCaseResultsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTestCaseResultsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListTestCaseResultsRequest.Builder |