Send feedback
Class CloudTrace (2.0.0)
public abstract class CloudTrace
Static Methods
endSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, CloudTraceContext arg2)
public static void endSpan ( ApiProxy . Environment arg0 , CloudTraceContext arg1 , CloudTraceContext arg2 )
getCurrentContext(ApiProxy.Environment arg0)
public static CloudTraceContext getCurrentContext ( ApiProxy . Environment arg0 )
setCurrentContext(ApiProxy.Environment arg0, CloudTraceContext arg1)
public static void setCurrentContext ( ApiProxy . Environment arg0 , CloudTraceContext arg1 )
setLabel(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2, String arg3)
public static void setLabel ( ApiProxy . Environment arg0 , CloudTraceContext arg1 , String arg2 , String arg3 )
startChildSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2)
public static CloudTraceContext startChildSpan ( ApiProxy . Environment arg0 , CloudTraceContext arg1 , String arg2 )
Constructors
CloudTrace(ApiProxy.Environment arg0)
public CloudTrace ( ApiProxy . Environment arg0 )
Methods
endSpanImpl(CloudTraceContext arg0)
protected abstract void endSpanImpl ( CloudTraceContext arg0 )
getDefaultContext()
protected abstract CloudTraceContext getDefaultContext ()
setLabelImpl(CloudTraceContext arg0, String arg1, String arg2)
protected abstract void setLabelImpl ( CloudTraceContext arg0 , String arg1 , String arg2 )
startChildSpanImpl(CloudTraceContext arg0, String arg1)
protected abstract CloudTraceContext startChildSpanImpl ( CloudTraceContext arg0 , String arg1 )
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-10-16 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-10-16 UTC."],[],[]]