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
Static Methods
getDefaultInstance()
public static Intent.Message.Suggestions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.Suggestions.Builder newBuilder()
Returns
newBuilder(Intent.Message.Suggestions prototype)
public static Intent.Message.Suggestions.Builder newBuilder(Intent.Message.Suggestions prototype)
Parameter
Returns
public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.Suggestions parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.Suggestions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Suggestions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Suggestions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Suggestions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Suggestions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.Suggestions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.Suggestions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.Suggestions getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.Suggestions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Name |
Description |
index |
int
|
Returns
getSuggestionsCount()
public int getSuggestionsCount()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
getSuggestionsList()
public List<Intent.Message.Suggestion> getSuggestionsList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion suggestions = 1;
Returns
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
Name |
Description |
index |
int
|
Returns
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
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.SuggestionOrBuilder> |
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.Suggestions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.Suggestions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.Suggestions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions