Send feedback
Class ListDocumentsResponse.Builder (4.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.0 keyboard_arrow_down
public static final class ListDocumentsResponse . Builder extends GeneratedMessageV3 . Builder<ListDocumentsResponse . Builder > implements ListDocumentsResponseOrBuilder
Response message for Documents.ListDocuments .
Protobuf type google.cloud.dialogflow.v2beta1.ListDocumentsResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllDocuments(Iterable<? extends Document> values)
public ListDocumentsResponse . Builder addAllDocuments ( Iterable <? extends Document > values )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.dialogflow.v2beta1.Document >
Returns
addDocuments(Document value)
public ListDocumentsResponse . Builder addDocuments ( Document value )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
addDocuments(Document.Builder builderForValue)
public ListDocumentsResponse . Builder addDocuments ( Document . Builder builderForValue )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
addDocuments(int index, Document value)
public ListDocumentsResponse . Builder addDocuments ( int index , Document value )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameters
Returns
addDocuments(int index, Document.Builder builderForValue)
public ListDocumentsResponse . Builder addDocuments ( int index , Document . Builder builderForValue )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameters
Returns
addDocumentsBuilder()
public Document . Builder addDocumentsBuilder ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
addDocumentsBuilder(int index)
public Document . Builder addDocumentsBuilder ( int index )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDocumentsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListDocumentsResponse build ()
Returns
buildPartial()
public ListDocumentsResponse buildPartial ()
Returns
clear()
public ListDocumentsResponse . Builder clear ()
Returns
Overrides
clearDocuments()
public ListDocumentsResponse . Builder clearDocuments ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDocumentsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNextPageToken()
public ListDocumentsResponse . Builder clearNextPageToken ()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDocumentsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListDocumentsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListDocumentsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDocuments(int index)
public Document getDocuments ( int index )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
getDocumentsBuilder(int index)
public Document . Builder getDocumentsBuilder ( int index )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
getDocumentsBuilderList()
public List<Document . Builder > getDocumentsBuilderList ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
getDocumentsCount()
public int getDocumentsCount ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
getDocumentsList()
public List<Document> getDocumentsList ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
getDocumentsOrBuilder(int index)
public DocumentOrBuilder getDocumentsOrBuilder ( int index )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
getDocumentsOrBuilderList()
public List <? extends DocumentOrBuilder > getDocumentsOrBuilderList ()
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Returns
Type Description List <? extends com.google.cloud.dialogflow.v2beta1.DocumentOrBuilder >
getNextPageToken()
public String getNextPageToken ()
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 ()
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListDocumentsResponse other)
public ListDocumentsResponse . Builder mergeFrom ( ListDocumentsResponse other )
Parameter
Returns
public ListDocumentsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDocumentsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDocumentsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeDocuments(int index)
public ListDocumentsResponse . Builder removeDocuments ( int index )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameter
Returns
setDocuments(int index, Document value)
public ListDocumentsResponse . Builder setDocuments ( int index , Document value )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameters
Returns
setDocuments(int index, Document.Builder builderForValue)
public ListDocumentsResponse . Builder setDocuments ( int index , Document . Builder builderForValue )
The list of documents.
repeated .google.cloud.dialogflow.v2beta1.Document documents = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDocumentsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDocumentsResponse . Builder setNextPageToken ( String value )
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListDocumentsResponse . Builder setNextPageTokenBytes ( ByteString value )
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name Description value ByteString
The bytes for nextPageToken to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDocumentsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDocumentsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]