[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetRequest.Builder\u003c/code\u003e class is used to construct instances of \u003ccode\u003eGetRequest\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method returns a new \u003ccode\u003eGetRequest\u003c/code\u003e object based on the configured builder settings.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify whether to include the starting object via \u003ccode\u003esetIncludeStart(boolean)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esetLimit(Integer)\u003c/code\u003e controls the maximum number of objects that are returned.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esetReturningIdsOnly(boolean)\u003c/code\u003e is used to determine if only keys or entire objects are returned.\u003c/p\u003e\n"]]],[],null,["# Class GetRequest.Builder (2.0.0)\n\n public static class GetRequest.Builder\n\nThe builder of [GetRequest](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.GetRequest)s. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e GetRequest.Builder \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### Builder()\n\n protected Builder()\n\nMethods\n-------\n\n### build()\n\n public GetRequest build()\n\n### setIncludeStart(boolean includeStart)\n\n public GetRequest.Builder setIncludeStart(boolean includeStart)\n\nSets whether or not to include the object whose ID is specified via\nthe [#setStartId(String)](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.GetRequest.Builder#com_google_appengine_api_search_GetRequest_Builder_setStartId_java_lang_String_) method.\n\n### setLimit(Integer limit)\n\n public GetRequest.Builder setLimit(Integer limit)\n\nSets the maximum number of objects to return.\n\n### setReturningIdsOnly(boolean returningIdsOnly)\n\n public GetRequest.Builder setReturningIdsOnly(boolean returningIdsOnly)\n\nSets whether just objects containing just their key are returned, or\nwhether the complete objects are returned.\n\n### setStartId(String startId)\n\n public GetRequest.Builder setStartId(String startId)\n\nSets the Id of the first object to return. You may exclude this\nobject by using the [#setIncludeStart(boolean)](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.GetRequest.Builder#com_google_appengine_api_search_GetRequest_Builder_setIncludeStart_boolean_) method."]]