public static final class ListSuggestionsResponse.Builder extends GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder> implements ListSuggestionsResponseOrBuilder
The response message for
Participants.ListSuggestions.
Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSuggestions(Iterable<? extends Suggestion> values)
public ListSuggestionsResponse.Builder addAllSuggestions(Iterable<? extends Suggestion> values)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Suggestion>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSuggestionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSuggestions(Suggestion value)
public ListSuggestionsResponse.Builder addSuggestions(Suggestion value)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
addSuggestions(Suggestion.Builder builderForValue)
public ListSuggestionsResponse.Builder addSuggestions(Suggestion.Builder builderForValue)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
addSuggestions(int index, Suggestion value)
public ListSuggestionsResponse.Builder addSuggestions(int index, Suggestion value)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
addSuggestions(int index, Suggestion.Builder builderForValue)
public ListSuggestionsResponse.Builder addSuggestions(int index, Suggestion.Builder builderForValue)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
addSuggestionsBuilder()
public Suggestion.Builder addSuggestionsBuilder()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
addSuggestionsBuilder(int index)
public Suggestion.Builder addSuggestionsBuilder(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListSuggestionsResponse build()
buildPartial()
public ListSuggestionsResponse buildPartial()
clear()
public ListSuggestionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSuggestionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSuggestionsResponse.Builder clearNextPageToken()
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSuggestionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSuggestions()
public ListSuggestionsResponse.Builder clearSuggestions()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
clone()
public ListSuggestionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSuggestionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getSuggestions(int index)
public Suggestion getSuggestions(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
index |
int
|
getSuggestionsBuilder(int index)
public Suggestion.Builder getSuggestionsBuilder(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
index |
int
|
getSuggestionsBuilderList()
public List<Suggestion.Builder> getSuggestionsBuilderList()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
getSuggestionsCount()
public int getSuggestionsCount()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Returns |
Type |
Description |
int |
|
getSuggestionsList()
public List<Suggestion> getSuggestionsList()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
getSuggestionsOrBuilder(int index)
public SuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
index |
int
|
getSuggestionsOrBuilderList()
public List<? extends SuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSuggestionsResponse other)
public ListSuggestionsResponse.Builder mergeFrom(ListSuggestionsResponse other)
public ListSuggestionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSuggestionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSuggestionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSuggestions(int index)
public ListSuggestionsResponse.Builder removeSuggestions(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSuggestionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSuggestionsResponse.Builder setNextPageToken(String value)
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSuggestionsResponse.Builder setNextPageTokenBytes(ByteString value)
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSuggestionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSuggestions(int index, Suggestion value)
public ListSuggestionsResponse.Builder setSuggestions(int index, Suggestion value)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
setSuggestions(int index, Suggestion.Builder builderForValue)
public ListSuggestionsResponse.Builder setSuggestions(int index, Suggestion.Builder builderForValue)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSuggestionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides