Class ListTestCaseResultsRequest.Builder (0.14.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.v3.ListTestCaseResultsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTestCaseResultsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

build()

public ListTestCaseResultsRequest build()
Returns
TypeDescription
ListTestCaseResultsRequest

buildPartial()

public ListTestCaseResultsRequest buildPartial()
Returns
TypeDescription
ListTestCaseResultsRequest

clear()

public ListTestCaseResultsRequest.Builder clear()
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTestCaseResultsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTestCaseResultsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTestCaseResultsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListTestCaseResultsRequest.Builder

This builder for chaining.

clone()

public ListTestCaseResultsRequest.Builder clone()
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListTestCaseResultsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTestCaseResultsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTestCaseResultsRequest other)

public ListTestCaseResultsRequest.Builder mergeFrom(ListTestCaseResultsRequest other)
Parameter
NameDescription
otherListTestCaseResultsRequest
Returns
TypeDescription
ListTestCaseResultsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTestCaseResultsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTestCaseResultsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListTestCaseResultsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTestCaseResultsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTestCaseResultsRequest.Builder
Overrides