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.v2.Intent.Message.Suggestions
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
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, 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, 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, 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 IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.Suggestions.Builder>
IOException
public List<Intent.Message.Suggestion> getSuggestionsList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsList
in interface Intent.Message.SuggestionsOrBuilder
public int getSuggestionsCount()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsCount
in interface Intent.Message.SuggestionsOrBuilder
public Intent.Message.Suggestion getSuggestions(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
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.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder setSuggestions(int index, Intent.Message.Suggestion.Builder builderForValue)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder addSuggestions(Intent.Message.Suggestion value)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder addSuggestions(int index, Intent.Message.Suggestion value)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder addSuggestions(Intent.Message.Suggestion.Builder builderForValue)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder addSuggestions(int index, Intent.Message.Suggestion.Builder builderForValue)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder addAllSuggestions(Iterable<? extends Intent.Message.Suggestion> values)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder clearSuggestions()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestions.Builder removeSuggestions(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestion.Builder getSuggestionsBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.SuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsOrBuilder
in interface Intent.Message.SuggestionsOrBuilder
public List<? extends Intent.Message.SuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsOrBuilderList
in interface Intent.Message.SuggestionsOrBuilder
public Intent.Message.Suggestion.Builder addSuggestionsBuilder()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.Suggestion.Builder addSuggestionsBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
public List<Intent.Message.Suggestion.Builder> getSuggestionsBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
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>
Copyright © 2022 Google LLC. All rights reserved.