public static final class ListSuggestionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder> implements ListSuggestionsResponseOrBuilder
The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].Protobuf type
google.cloud.dialogflow.v2beta1.ListSuggestionsResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSuggestionsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSuggestionsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSuggestionsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder mergeFrom(ListSuggestionsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public ListSuggestionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSuggestionsResponse.Builder>IOExceptionpublic 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;getSuggestionsList in interface ListSuggestionsResponseOrBuilderpublic 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;getSuggestionsCount in interface ListSuggestionsResponseOrBuilderpublic 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;getSuggestions in interface ListSuggestionsResponseOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getSuggestionsOrBuilder in interface ListSuggestionsResponseOrBuilderpublic 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;getSuggestionsOrBuilderList in interface ListSuggestionsResponseOrBuilderpublic 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;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;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;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;getNextPageToken in interface ListSuggestionsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListSuggestionsResponseOrBuilderpublic 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;value - The nextPageToken to set.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;public ListSuggestionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;value - The bytes for nextPageToken to set.public final ListSuggestionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>public final ListSuggestionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSuggestionsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.