Class Intent.Message.Suggestions (4.7.5)

public static final class Intent.Message.Suggestions extends GeneratedMessageV3 implements Intent.Message.SuggestionsOrBuilder

The collection of suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions

Static Fields

SUGGESTIONS_FIELD_NUMBER

public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.Suggestions getDefaultInstance()
Returns
TypeDescription
Intent.Message.Suggestions

getDescriptor()

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

newBuilder()

public static Intent.Message.Suggestions.Builder newBuilder()
Returns
TypeDescription
Intent.Message.Suggestions.Builder

newBuilder(Intent.Message.Suggestions prototype)

public static Intent.Message.Suggestions.Builder newBuilder(Intent.Message.Suggestions prototype)
Parameter
NameDescription
prototypeIntent.Message.Suggestions
Returns
TypeDescription
Intent.Message.Suggestions.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.Suggestions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Intent.Message.Suggestions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.Suggestions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.Suggestions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.Suggestions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.Suggestions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.Suggestions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.Suggestions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.Suggestions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.Suggestions> parser()
Returns
TypeDescription
Parser<Suggestions>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Intent.Message.Suggestions getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.Suggestions

getParserForType()

public Parser<Intent.Message.Suggestions> getParserForType()
Returns
TypeDescription
Parser<Suggestions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuggestions(int index)

public Intent.Message.Suggestion getSuggestions(int index)

Required. The list of suggested replies.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.Suggestion

getSuggestionsCount()

public int getSuggestionsCount()

Required. The list of suggested replies.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;

Returns
TypeDescription
int

getSuggestionsList()

public List<Intent.Message.Suggestion> getSuggestionsList()

Required. The list of suggested replies.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;

Returns
TypeDescription
List<Suggestion>

getSuggestionsOrBuilder(int index)

public Intent.Message.SuggestionOrBuilder getSuggestionsOrBuilder(int index)

Required. The list of suggested replies.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.SuggestionOrBuilder

getSuggestionsOrBuilderList()

public List<? extends Intent.Message.SuggestionOrBuilder> getSuggestionsOrBuilderList()

Required. The list of suggested replies.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.SuggestionOrBuilder>

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

newBuilderForType()

public Intent.Message.Suggestions.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.Suggestions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.Suggestions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.Suggestions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Intent.Message.Suggestions.Builder toBuilder()
Returns
TypeDescription
Intent.Message.Suggestions.Builder

writeTo(CodedOutputStream output)

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