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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.Suggestions build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.Suggestions buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.Suggestions.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder mergeFrom(Intent.Message.Suggestions other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public Intent.Message.Suggestions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.Suggestions.Builder>
java.io.IOException
public java.util.List<Intent.Message.Suggestion> getSuggestionsList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestionsList
in interface Intent.Message.SuggestionsOrBuilder
public int getSuggestionsCount()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestionsCount
in interface Intent.Message.SuggestionsOrBuilder
public Intent.Message.Suggestion getSuggestions(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestions
in interface Intent.Message.SuggestionsOrBuilder
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;
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;
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;
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;
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;
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;
public Intent.Message.Suggestions.Builder addAllSuggestions(java.lang.Iterable<? extends Intent.Message.Suggestion> values)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public Intent.Message.Suggestions.Builder clearSuggestions()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public Intent.Message.Suggestions.Builder removeSuggestions(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public Intent.Message.Suggestion.Builder getSuggestionsBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public Intent.Message.SuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestionsOrBuilder
in interface Intent.Message.SuggestionsOrBuilder
public java.util.List<? extends Intent.Message.SuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
getSuggestionsOrBuilderList
in interface Intent.Message.SuggestionsOrBuilder
public Intent.Message.Suggestion.Builder addSuggestionsBuilder()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public Intent.Message.Suggestion.Builder addSuggestionsBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public java.util.List<Intent.Message.Suggestion.Builder> getSuggestionsBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
public final Intent.Message.Suggestions.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>
public final Intent.Message.Suggestions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.Suggestions.Builder>