Class ListAnswerRecordsRequest.Builder (4.89.0)

public static final class ListAnswerRecordsRequest.Builder extends GeneratedMessage.Builder<ListAnswerRecordsRequest.Builder> implements ListAnswerRecordsRequestOrBuilder

Request message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListAnswerRecordsRequest build()
Returns
Type Description
ListAnswerRecordsRequest

buildPartial()

public ListAnswerRecordsRequest buildPartial()
Returns
Type Description
ListAnswerRecordsRequest

clear()

public ListAnswerRecordsRequest.Builder clear()
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides

clearFilter()

public ListAnswerRecordsRequest.Builder clearFilter()

Optional. Filters to restrict results to specific answer records. The expression has the following syntax:

<field> <operator> <value> [AND <field> <operator> <value>] ...

The following fields and operators are supported:

  • conversation_id with equals(=) operator

    Examples:

  • "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global).

    For more information about filtering, see API Filtering.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

clearPageSize()

public ListAnswerRecordsRequest.Builder clearPageSize()

Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

int32 page_size = 3;

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

clearPageToken()

public ListAnswerRecordsRequest.Builder clearPageToken()

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

string page_token = 4;

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

clearParent()

public ListAnswerRecordsRequest.Builder clearParent()

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListAnswerRecordsRequest getDefaultInstanceForType()
Returns
Type Description
ListAnswerRecordsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filters to restrict results to specific answer records. The expression has the following syntax:

<field> <operator> <value> [AND <field> <operator> <value>] ...

The following fields and operators are supported:

  • conversation_id with equals(=) operator

    Examples:

  • "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global).

    For more information about filtering, see API Filtering.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filters to restrict results to specific answer records. The expression has the following syntax:

<field> <operator> <value> [AND <field> <operator> <value>] ...

The following fields and operators are supported:

  • conversation_id with equals(=) operator

    Examples:

  • "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global).

    For more information about filtering, see API Filtering.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAnswerRecordsRequest other)

public ListAnswerRecordsRequest.Builder mergeFrom(ListAnswerRecordsRequest other)
Parameter
Name Description
other ListAnswerRecordsRequest
Returns
Type Description
ListAnswerRecordsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAnswerRecordsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setFilter(String value)

public ListAnswerRecordsRequest.Builder setFilter(String value)

Optional. Filters to restrict results to specific answer records. The expression has the following syntax:

<field> <operator> <value> [AND <field> <operator> <value>] ...

The following fields and operators are supported:

  • conversation_id with equals(=) operator

    Examples:

  • "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global).

    For more information about filtering, see API Filtering.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListAnswerRecordsRequest.Builder setFilterBytes(ByteString value)

Optional. Filters to restrict results to specific answer records. The expression has the following syntax:

<field> <operator> <value> [AND <field> <operator> <value>] ...

The following fields and operators are supported:

  • conversation_id with equals(=) operator

    Examples:

  • "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global).

    For more information about filtering, see API Filtering.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListAnswerRecordsRequest.Builder setPageSize(int value)

Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListAnswerRecordsRequest.Builder setPageToken(String value)

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAnswerRecordsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setParent(String value)

public ListAnswerRecordsRequest.Builder setParent(String value)

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListAnswerRecordsRequest.Builder setParentBytes(ByteString value)

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.