Class ListSuggestionsRequest.Builder (4.53.0)

public static final class ListSuggestionsRequest.Builder extends GeneratedMessageV3.Builder<ListSuggestionsRequest.Builder> implements ListSuggestionsRequestOrBuilder

The request message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSuggestionsRequest build()
Returns
Type Description
ListSuggestionsRequest

buildPartial()

public ListSuggestionsRequest buildPartial()
Returns
Type Description
ListSuggestionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListSuggestionsRequest.Builder clearFilter()

Optional. Filter on suggestions fields. Currently predicates on create_time and create_time_epoch_microseconds are supported. create_time only support milliseconds accuracy. E.g., create_time_epoch_microseconds > 1551790877964485 or create_time > "2017-01-15T01:30:15.01Z"

For more information about filtering, see API Filtering.

string filter = 4;

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListSuggestionsRequest.Builder clearPageSize()

Optional. The maximum number of items to return in a single page. The default value is 100; the maximum value is 1000.

int32 page_size = 2;

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSuggestionsRequest.Builder clearPageToken()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

clearParent()

public ListSuggestionsRequest.Builder clearParent()

Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSuggestionsRequest getDefaultInstanceForType()
Returns
Type Description
ListSuggestionsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filter on suggestions fields. Currently predicates on create_time and create_time_epoch_microseconds are supported. create_time only support milliseconds accuracy. E.g., create_time_epoch_microseconds > 1551790877964485 or create_time > "2017-01-15T01:30:15.01Z"

For more information about filtering, see API Filtering.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter on suggestions fields. Currently predicates on create_time and create_time_epoch_microseconds are supported. create_time only support milliseconds accuracy. E.g., create_time_epoch_microseconds > 1551790877964485 or create_time > "2017-01-15T01:30:15.01Z"

For more information about filtering, see API Filtering.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of items to return in a single page. The default value is 100; the maximum value is 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. 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()

Optional. 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 name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

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(ListSuggestionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListSuggestionsRequest.Builder setFilter(String value)

Optional. Filter on suggestions fields. Currently predicates on create_time and create_time_epoch_microseconds are supported. create_time only support milliseconds accuracy. E.g., create_time_epoch_microseconds > 1551790877964485 or create_time > "2017-01-15T01:30:15.01Z"

For more information about filtering, see API Filtering.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListSuggestionsRequest.Builder setFilterBytes(ByteString value)

Optional. Filter on suggestions fields. Currently predicates on create_time and create_time_epoch_microseconds are supported. create_time only support milliseconds accuracy. E.g., create_time_epoch_microseconds > 1551790877964485 or create_time > "2017-01-15T01:30:15.01Z"

For more information about filtering, see API Filtering.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListSuggestionsRequest.Builder setPageSize(int value)

Optional. The maximum number of items to return in a single page. The default value is 100; the maximum value is 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSuggestionsRequest.Builder setPageToken(String value)

Optional. 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
ListSuggestionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSuggestionsRequest.Builder setPageTokenBytes(ByteString value)

Optional. 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
ListSuggestionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSuggestionsRequest.Builder setParent(String value)

Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSuggestionsRequest.Builder setParentBytes(ByteString value)

Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListSuggestionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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