Class ListSuggestionsResponse (4.6.0)

public final class ListSuggestionsResponse extends GeneratedMessageV3 implements ListSuggestionsResponseOrBuilder

The response message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTIONS_FIELD_NUMBER

public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSuggestionsResponse getDefaultInstance()
Returns
TypeDescription
ListSuggestionsResponse

getDescriptor()

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

newBuilder()

public static ListSuggestionsResponse.Builder newBuilder()
Returns
TypeDescription
ListSuggestionsResponse.Builder

newBuilder(ListSuggestionsResponse prototype)

public static ListSuggestionsResponse.Builder newBuilder(ListSuggestionsResponse prototype)
Parameter
NameDescription
prototypeListSuggestionsResponse
Returns
TypeDescription
ListSuggestionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSuggestionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSuggestionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSuggestionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListSuggestionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSuggestionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSuggestionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSuggestionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSuggestionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSuggestionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSuggestionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSuggestionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSuggestionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSuggestionsResponse> parser()
Returns
TypeDescription
Parser<ListSuggestionsResponse>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSuggestionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSuggestionsResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSuggestionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSuggestionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
Suggestion

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
TypeDescription
int

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
TypeDescription
List<Suggestion>

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
NameDescription
indexint
Returns
TypeDescription
SuggestionOrBuilder

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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.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 ListSuggestionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSuggestionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSuggestionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSuggestionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListSuggestionsResponse.Builder toBuilder()
Returns
TypeDescription
ListSuggestionsResponse.Builder

writeTo(CodedOutputStream output)

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