public static final class SuggestionFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder> implements SuggestionFeatureOrBuilder
The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.Protobuf type
google.cloud.dialogflow.v2beta1.SuggestionFeature| Modifier and Type | Method and Description |
|---|---|
SuggestionFeature.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SuggestionFeature |
build() |
SuggestionFeature |
buildPartial() |
SuggestionFeature.Builder |
clear() |
SuggestionFeature.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SuggestionFeature.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SuggestionFeature.Builder |
clearType()
Type of Human Agent Assistant API feature to request.
|
SuggestionFeature.Builder |
clone() |
SuggestionFeature |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SuggestionFeature.Type |
getType()
Type of Human Agent Assistant API feature to request.
|
int |
getTypeValue()
Type of Human Agent Assistant API feature to request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SuggestionFeature.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SuggestionFeature.Builder |
mergeFrom(com.google.protobuf.Message other) |
SuggestionFeature.Builder |
mergeFrom(SuggestionFeature other) |
SuggestionFeature.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SuggestionFeature.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SuggestionFeature.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SuggestionFeature.Builder |
setType(SuggestionFeature.Type value)
Type of Human Agent Assistant API feature to request.
|
SuggestionFeature.Builder |
setTypeValue(int value)
Type of Human Agent Assistant API feature to request.
|
SuggestionFeature.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<SuggestionFeature.Builder>public SuggestionFeature.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.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<SuggestionFeature.Builder>public SuggestionFeature getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SuggestionFeature build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SuggestionFeature buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SuggestionFeature.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>public SuggestionFeature.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<SuggestionFeature.Builder>public SuggestionFeature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>public SuggestionFeature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>public SuggestionFeature.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<SuggestionFeature.Builder>public SuggestionFeature.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<SuggestionFeature.Builder>public SuggestionFeature.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SuggestionFeature.Builder>public SuggestionFeature.Builder mergeFrom(SuggestionFeature other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>public SuggestionFeature.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<SuggestionFeature.Builder>IOExceptionpublic int getTypeValue()
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;getTypeValue in interface SuggestionFeatureOrBuilderpublic SuggestionFeature.Builder setTypeValue(int value)
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;value - The enum numeric value on the wire for type to set.public SuggestionFeature.Type getType()
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;getType in interface SuggestionFeatureOrBuilderpublic SuggestionFeature.Builder setType(SuggestionFeature.Type value)
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;value - The type to set.public SuggestionFeature.Builder clearType()
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;public final SuggestionFeature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>public final SuggestionFeature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SuggestionFeature.Builder>Copyright © 2023 Google LLC. All rights reserved.