The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal toendValue, the valueendValue-1is recorded
instead.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ecom.google.api.gax.core.Distribution\u003c/code\u003e class, with the latest version being 2.63.1 and many previous versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class records non-negative values from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e and can compute the percentile for these values.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor, \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e, which takes an integer \u003ccode\u003eendValue\u003c/code\u003e parameter to define the upper limit of recorded values.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods like \u003ccode\u003egetNthPercentile(double percentile)\u003c/code\u003e and \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e to retrieve percentile values and \u003ccode\u003erecord(int value)\u003c/code\u003e to add a value.\u003c/p\u003e\n"],["\u003cp\u003eMethods can be called concurrently.\u003c/p\u003e\n"]]],[],null,[]]