Class SuggestionFeature (4.3.1)

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
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static SuggestionFeature getDefaultInstance()
Returns
TypeDescription
SuggestionFeature

getDefaultInstanceForType()

public SuggestionFeature getDefaultInstanceForType()
Returns
TypeDescription
SuggestionFeature

getDescriptor()

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

getParserForType()

public Parser<SuggestionFeature> getParserForType()
Returns
TypeDescription
Parser<SuggestionFeature>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public SuggestionFeature.Type getType()

Type of Human Agent Assistant API feature to request.

.google.cloud.dialogflow.v2beta1.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.v2beta1.SuggestionFeature.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static SuggestionFeature.Builder newBuilder()
Returns
TypeDescription
SuggestionFeature.Builder

newBuilder(SuggestionFeature prototype)

public static SuggestionFeature.Builder newBuilder(SuggestionFeature prototype)
Parameter
NameDescription
prototypeSuggestionFeature
Returns
TypeDescription
SuggestionFeature.Builder

newBuilderForType()

public SuggestionFeature.Builder newBuilderForType()
Returns
TypeDescription
SuggestionFeature.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SuggestionFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SuggestionFeature.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static SuggestionFeature parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SuggestionFeature parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SuggestionFeature parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SuggestionFeature parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SuggestionFeature parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SuggestionFeature parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SuggestionFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SuggestionFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SuggestionFeature> parser()
Returns
TypeDescription
Parser<SuggestionFeature>

toBuilder()

public SuggestionFeature.Builder toBuilder()
Returns
TypeDescription
SuggestionFeature.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException