[[["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-03 UTC."],[[["\u003cp\u003e\u003ccode\u003eCloudTrace\u003c/code\u003e is an abstract class that inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, providing fundamental functionality for cloud tracing.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes several static methods like \u003ccode\u003eendSpan\u003c/code\u003e, \u003ccode\u003egetCurrentContext\u003c/code\u003e, \u003ccode\u003esetCurrentContext\u003c/code\u003e, \u003ccode\u003esetLabel\u003c/code\u003e, and \u003ccode\u003estartChildSpan\u003c/code\u003e, all operating within a given \u003ccode\u003eApiProxy.Environment\u003c/code\u003e and often involving \u003ccode\u003eCloudTraceContext\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are also abstract methods within the class, such as \u003ccode\u003eendSpanImpl\u003c/code\u003e, \u003ccode\u003egetDefaultContext\u003c/code\u003e, \u003ccode\u003esetLabelImpl\u003c/code\u003e, and \u003ccode\u003estartChildSpanImpl\u003c/code\u003e, which must be implemented by concrete subclasses to provide specific tracing behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor \u003ccode\u003eCloudTrace(ApiProxy.Environment arg0)\u003c/code\u003e initializes a new \u003ccode\u003eCloudTrace\u003c/code\u003e object, requiring an \u003ccode\u003eApiProxy.Environment\u003c/code\u003e as input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudTrace\u003c/code\u003e class includes inherited members from \u003ccode\u003eObject\u003c/code\u003e, like \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and others.\u003c/p\u003e\n"]]],[],null,["# Class CloudTrace (2.0.0)\n\n public abstract class CloudTrace\n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e CloudTrace \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\nStatic Methods\n--------------\n\n### endSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, CloudTraceContext arg2)\n\n public static void endSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, CloudTraceContext arg2)\n\n### getCurrentContext(ApiProxy.Environment arg0)\n\n public static CloudTraceContext getCurrentContext(ApiProxy.Environment arg0)\n\n### setCurrentContext(ApiProxy.Environment arg0, CloudTraceContext arg1)\n\n public static void setCurrentContext(ApiProxy.Environment arg0, CloudTraceContext arg1)\n\n### setLabel(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2, String arg3)\n\n public static void setLabel(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2, String arg3)\n\n### startChildSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2)\n\n public static CloudTraceContext startChildSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2)\n\nConstructors\n------------\n\n### CloudTrace(ApiProxy.Environment arg0)\n\n public CloudTrace(ApiProxy.Environment arg0)\n\nMethods\n-------\n\n### endSpanImpl(CloudTraceContext arg0)\n\n protected abstract void endSpanImpl(CloudTraceContext arg0)\n\n### getDefaultContext()\n\n protected abstract CloudTraceContext getDefaultContext()\n\n### setLabelImpl(CloudTraceContext arg0, String arg1, String arg2)\n\n protected abstract void setLabelImpl(CloudTraceContext arg0, String arg1, String arg2)\n\n### startChildSpanImpl(CloudTraceContext arg0, String arg1)\n\n protected abstract CloudTraceContext startChildSpanImpl(CloudTraceContext arg0, String arg1)"]]