Class ListSuggestionsRequest.Builder (4.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSuggestionsRequest build()
Returns
TypeDescription
ListSuggestionsRequest

buildPartial()

public ListSuggestionsRequest buildPartial()
Returns
TypeDescription
ListSuggestionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSuggestionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSuggestionsRequest

getDescriptor()

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

getDescriptorForType()

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

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

public ListSuggestionsRequest.Builder mergeFrom(ListSuggestionsRequest other)
Parameter
NameDescription
otherListSuggestionsRequest
Returns
TypeDescription
ListSuggestionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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