public interface UserResponseSuggestionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getSuggestions(int index)
public abstract String getSuggestions(int index)Required. The assistant suggested user responses. These are suggestions for the user on how to interact with the assistant.
repeated string suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The suggestions at the given index. |
getSuggestionsBytes(int index)
public abstract ByteString getSuggestionsBytes(int index)Required. The assistant suggested user responses. These are suggestions for the user on how to interact with the assistant.
repeated string suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the suggestions at the given index. |
getSuggestionsCount()
public abstract int getSuggestionsCount()Required. The assistant suggested user responses. These are suggestions for the user on how to interact with the assistant.
repeated string suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of suggestions. |
getSuggestionsList()
public abstract List<String> getSuggestionsList()Required. The assistant suggested user responses. These are suggestions for the user on how to interact with the assistant.
repeated string suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the suggestions. |