Class ListAnswerRecordsRequest.Builder (4.49.0)

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

Request message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2.ListAnswerRecordsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnswerRecordsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter() (deprecated)

public ListAnswerRecordsRequest.Builder clearFilter()

Deprecated. google.cloud.dialogflow.v2.ListAnswerRecordsRequest.filter is deprecated. See google/cloud/dialogflow/v2/answer_record.proto;l=141

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported.

For more information about filtering, see API Filtering.

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

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAnswerRecordsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides

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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListAnswerRecordsRequest getDefaultInstanceForType()
Returns
Type Description
ListAnswerRecordsRequest

getDescriptorForType()

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

getFilter() (deprecated)

public String getFilter()

Deprecated. google.cloud.dialogflow.v2.ListAnswerRecordsRequest.filter is deprecated. See google/cloud/dialogflow/v2/answer_record.proto;l=141

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported.

For more information about filtering, see API Filtering.

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

Returns
Type Description
String

The filter.

getFilterBytes() (deprecated)

public ByteString getFilterBytes()

Deprecated. google.cloud.dialogflow.v2.ListAnswerRecordsRequest.filter is deprecated. See google/cloud/dialogflow/v2/answer_record.proto;l=141

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported.

For more information about filtering, see API Filtering.

string filter = 2 [deprecated = true, (.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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

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.field_behavior) = REQUIRED, (.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.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(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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnswerRecordsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides

setFilter(String value) (deprecated)

public ListAnswerRecordsRequest.Builder setFilter(String value)

Deprecated. google.cloud.dialogflow.v2.ListAnswerRecordsRequest.filter is deprecated. See google/cloud/dialogflow/v2/answer_record.proto;l=141

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported.

For more information about filtering, see API Filtering.

string filter = 2 [deprecated = true, (.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) (deprecated)

public ListAnswerRecordsRequest.Builder setFilterBytes(ByteString value)

Deprecated. google.cloud.dialogflow.v2.ListAnswerRecordsRequest.filter is deprecated. See google/cloud/dialogflow/v2/answer_record.proto;l=141

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported.

For more information about filtering, see API Filtering.

string filter = 2 [deprecated = true, (.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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

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.field_behavior) = REQUIRED, (.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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListAnswerRecordsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAnswerRecordsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAnswerRecordsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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