public final class SuggestionFeature extends GeneratedMessageV3 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
Fields
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static SuggestionFeature getDefaultInstance()
Returns
getDefaultInstanceForType()
public SuggestionFeature getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<SuggestionFeature> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public SuggestionFeature.Type getType()
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;
Returns
getTypeValue()
public int getTypeValue()
Type of Human Agent Assistant API feature to request.
.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static SuggestionFeature.Builder newBuilder()
Returns
newBuilder(SuggestionFeature prototype)
public static SuggestionFeature.Builder newBuilder(SuggestionFeature prototype)
Parameter
Returns
newBuilderForType()
public SuggestionFeature.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SuggestionFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SuggestionFeature parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestionFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SuggestionFeature parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SuggestionFeature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SuggestionFeature parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SuggestionFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestionFeature parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SuggestionFeature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestionFeature parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestionFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SuggestionFeature parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SuggestionFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SuggestionFeature> parser()
Returns
toBuilder()
public SuggestionFeature.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions