Class ListTestCaseResultsRequest.Builder (0.57.0)

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.v3beta1.ListTestCaseResultsRequest

Static 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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTestCaseResultsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTestCaseResultsRequest.Builder
Overrides

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
Overrides

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
Overrides

getDefaultInstanceForType()

public ListTestCaseResultsRequest getDefaultInstanceForType()
Returns
Type Description
ListTestCaseResultsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListTestCaseResultsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListTestCaseResultsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTestCaseResultsRequest.Builder
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTestCaseResultsRequest.Builder
Overrides