[[["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-07-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCollectionResponse.Builder<T>\u003c/code\u003e class is a builder for creating instances of \u003ccode\u003eCollectionResponse<T>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe builder class provides methods to set the items in the collection using the \u003ccode\u003esetItems\u003c/code\u003e method, which takes a \u003ccode\u003ejava.util.Collection<T>\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003esetNextPageToken\u003c/code\u003e method to specify a string for the next page token.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild\u003c/code\u003e method constructs and returns a \u003ccode\u003eCollectionResponse<T>\u003c/code\u003e object with the configured items and next page token.\u003c/p\u003e\n"],["\u003cp\u003eThis class extends \u003ccode\u003ejava.lang.Object\u003c/code\u003e and inherits several methods from it, such as \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# CollectionResponse.Builder\n\ncom.google.api.server.spi.response\n\nClass CollectionResponse.Builder\\\u003cT\\\u003e\n-------------------------------------\n\n- java.lang.Object\n-\n - com.google.api.server.spi.response.CollectionResponse.Builder\\\u003cT\\\u003e\n\n-\n\n Enclosing class:\n : [CollectionResponse](../../../../../../com/google/api/server/spi/response/CollectionResponse.html \"class in com.google.api.server.spi.response\")\\\u003c[T](../../../../../../com/google/api/server/spi/response/CollectionResponse.html \"type parameter in CollectionResponse\")\\\u003e\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public static class CollectionResponse.Builder\u003cT\u003e\n extends java.lang.Object\n ``` \nBuilder for [`CollectionResponse`](../../../../../../com/google/api/server/spi/response/CollectionResponse.html \"class in com.google.api.server.spi.response\"). \n-\n -\n\n ### Constructor Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` \n-\n -\n\n ### Constructor Detail\n\n\n -\n\n #### Builder\n\n ```\n public Builder()\n ```\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Detail\n\n\n -\n\n #### setItems\n\n ```\n public CollectionResponse.Builder\u003cT\u003e setItems(java.util.Collection\u003cT\u003e items)\n ```\n\n\n -\n\n #### setNextPageToken\n\n ```\n public CollectionResponse.Builder\u003cT\u003e setNextPageToken(java.lang.String nextPageToken)\n ```\n\n\n -\n\n #### build\n\n ```\n public CollectionResponse\u003cT\u003e build()\n ```"]]