public final class ListSuggestionsResponse extends GeneratedMessageV3 implements ListSuggestionsResponseOrBuilder
The response message for
Participants.ListSuggestions.
Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsResponse
Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListSuggestionsResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListSuggestionsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getNextPageToken()
public String getNextPageToken()
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. Token to retrieve the next page of results or empty if there are
no more results in the list.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListSuggestionsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSuggestions(int index)
public Suggestion getSuggestions(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter
Returns
getSuggestionsCount()
public int getSuggestionsCount()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Returns
getSuggestionsList()
public List<Suggestion> getSuggestionsList()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Returns
getSuggestionsOrBuilder(int index)
public SuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Parameter
Returns
getSuggestionsOrBuilderList()
public List<? extends SuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. The list of suggestions. There will be a maximum number of items
returned based on the page_size field in the request. suggestions
is
sorted by create_time
in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion suggestions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.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
newBuilder()
public static ListSuggestionsResponse.Builder newBuilder()
Returns
newBuilder(ListSuggestionsResponse prototype)
public static ListSuggestionsResponse.Builder newBuilder(ListSuggestionsResponse prototype)
Parameter
Returns
newBuilderForType()
public ListSuggestionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSuggestionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListSuggestionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSuggestionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListSuggestionsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSuggestionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListSuggestionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSuggestionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSuggestionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListSuggestionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSuggestionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSuggestionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListSuggestionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSuggestionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListSuggestionsResponse> parser()
Returns
toBuilder()
public ListSuggestionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions