Class SuggestionFeature.Builder (4.7.3)

public static final class SuggestionFeature.Builder extends 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.v2.SuggestionFeature

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SuggestionFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

build()

public SuggestionFeature build()
Returns
TypeDescription
SuggestionFeature

buildPartial()

public SuggestionFeature buildPartial()
Returns
TypeDescription
SuggestionFeature

clear()

public SuggestionFeature.Builder clear()
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SuggestionFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SuggestionFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

clearType()

public SuggestionFeature.Builder clearType()

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Returns
TypeDescription
SuggestionFeature.Builder

This builder for chaining.

clone()

public SuggestionFeature.Builder clone()
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

getDefaultInstanceForType()

public SuggestionFeature getDefaultInstanceForType()
Returns
TypeDescription
SuggestionFeature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public SuggestionFeature.Type getType()

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Returns
TypeDescription
SuggestionFeature.Type

The type.

getTypeValue()

public int getTypeValue()

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SuggestionFeature other)

public SuggestionFeature.Builder mergeFrom(SuggestionFeature other)
Parameter
NameDescription
otherSuggestionFeature
Returns
TypeDescription
SuggestionFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SuggestionFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SuggestionFeature.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SuggestionFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SuggestionFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SuggestionFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

setType(SuggestionFeature.Type value)

public SuggestionFeature.Builder setType(SuggestionFeature.Type value)

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Parameter
NameDescription
valueSuggestionFeature.Type

The type to set.

Returns
TypeDescription
SuggestionFeature.Builder

This builder for chaining.

setTypeValue(int value)

public SuggestionFeature.Builder setTypeValue(int value)

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
SuggestionFeature.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SuggestionFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SuggestionFeature.Builder
Overrides