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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addSuggestionsBuilder()
public Intent.Message.Suggestion.Builder addSuggestionsBuilder()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
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 |
Name |
Description |
index |
int
|
build()
public Intent.Message.Suggestions build()
buildPartial()
public Intent.Message.Suggestions buildPartial()
clear()
public Intent.Message.Suggestions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.Suggestions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.Suggestions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSuggestions()
public Intent.Message.Suggestions.Builder clearSuggestions()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
clone()
public Intent.Message.Suggestions.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.Suggestions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getSuggestionsBuilderList()
public List<Intent.Message.Suggestion.Builder> getSuggestionsBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestionsCount()
public int getSuggestionsCount()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns |
Type |
Description |
int |
|
getSuggestionsList()
public List<Intent.Message.Suggestion> getSuggestionsList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
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 |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.Suggestions other)
public Intent.Message.Suggestions.Builder mergeFrom(Intent.Message.Suggestions other)
public Intent.Message.Suggestions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.Suggestions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.Suggestions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides