public static final class Intent.Message.Suggestions extends GeneratedMessageV3 implements Intent.Message.SuggestionsOrBuilder
The collection of suggestions.
Protobuf type google.cloud.dialogflow.v2.Intent.Message.Suggestions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.Suggestions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.Suggestions.Builder newBuilder()
newBuilder(Intent.Message.Suggestions prototype)
public static Intent.Message.Suggestions.Builder newBuilder(Intent.Message.Suggestions prototype)
public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input)
public static Intent.Message.Suggestions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.Suggestions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.Suggestions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(CodedInputStream input)
public static Intent.Message.Suggestions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(InputStream input)
public static Intent.Message.Suggestions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.Suggestions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Suggestions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.Suggestions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.Suggestions getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.Suggestions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSuggestions(int index)
public Intent.Message.Suggestion getSuggestions(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsCount()
public int getSuggestionsCount()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getSuggestionsList()
public List<Intent.Message.Suggestion> getSuggestionsList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsOrBuilder(int index)
public Intent.Message.SuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsOrBuilderList()
public List<? extends Intent.Message.SuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. The list of suggested replies.
repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.SuggestionOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.Suggestions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.Suggestions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.Suggestions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides