Send feedback
Class Intent.Message.Suggestions.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
public static final class Intent . Message . Suggestions . Builder extends GeneratedMessageV3 . Builder<Intent . Message . Suggestions . Builder > implements Intent . Message . SuggestionsOrBuilder
The collection of suggestions.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllSuggestions(Iterable<? extends Intent.Message.Suggestion> values)
public Intent . Message . Suggestions . Builder addAllSuggestions ( Iterable <? extends Intent . Message . Suggestion > values )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent . Message . Suggestions . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
addSuggestions(Intent.Message.Suggestion value)
public Intent . Message . Suggestions . Builder addSuggestions ( Intent . Message . Suggestion value )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
addSuggestions(Intent.Message.Suggestion.Builder builderForValue)
public Intent . Message . Suggestions . Builder addSuggestions ( Intent . Message . Suggestion . Builder builderForValue )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
addSuggestions(int index, Intent.Message.Suggestion value)
public Intent . Message . Suggestions . Builder addSuggestions ( int index , Intent . Message . Suggestion value )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameters
Returns
addSuggestions(int index, Intent.Message.Suggestion.Builder builderForValue)
public Intent . Message . Suggestions . Builder addSuggestions ( int index , Intent . Message . Suggestion . Builder builderForValue )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameters
Returns
addSuggestionsBuilder()
public Intent . Message . Suggestion . Builder addSuggestionsBuilder ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
addSuggestionsBuilder(int index)
public Intent . Message . Suggestion . Builder addSuggestionsBuilder ( int index )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
build()
public Intent . Message . Suggestions build ()
Returns
buildPartial()
public Intent . Message . Suggestions buildPartial ()
Returns
clear()
public Intent . Message . Suggestions . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent . Message . Suggestions . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent . Message . Suggestions . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSuggestions()
public Intent . Message . Suggestions . Builder clearSuggestions ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
clone()
public Intent . Message . Suggestions . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Intent . Message . Suggestions getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getSuggestions(int index)
public Intent . Message . Suggestion getSuggestions ( int index )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
getSuggestionsBuilder(int index)
public Intent . Message . Suggestion . Builder getSuggestionsBuilder ( int index )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
getSuggestionsBuilderList()
public List<Intent . Message . Suggestion . Builder > getSuggestionsBuilderList ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
getSuggestionsCount()
public int getSuggestionsCount ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
getSuggestionsList()
public List<Intent . Message . Suggestion > getSuggestionsList ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
getSuggestionsOrBuilder(int index)
public Intent . Message . SuggestionOrBuilder getSuggestionsOrBuilder ( int index )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
getSuggestionsOrBuilderList()
public List <? extends Intent . Message . SuggestionOrBuilder > getSuggestionsOrBuilderList ()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
Type Description List <? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.SuggestionOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Intent.Message.Suggestions other)
public Intent . Message . Suggestions . Builder mergeFrom ( Intent . Message . Suggestions other )
Parameter
Returns
public Intent . Message . Suggestions . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent . Message . Suggestions . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent . Message . Suggestions . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeSuggestions(int index)
public Intent . Message . Suggestions . Builder removeSuggestions ( int index )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent . Message . Suggestions . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent . Message . Suggestions . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSuggestions(int index, Intent.Message.Suggestion value)
public Intent . Message . Suggestions . Builder setSuggestions ( int index , Intent . Message . Suggestion value )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameters
Returns
setSuggestions(int index, Intent.Message.Suggestion.Builder builderForValue)
public Intent . Message . Suggestions . Builder setSuggestions ( int index , Intent . Message . Suggestion . Builder builderForValue )
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent . Message . Suggestions . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]