Package com.google.cloud.logging
Class Context
java.lang.Object
com.google.cloud.logging.Context
Class to hold context attributes including information about and tracing.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleaninthashCode()static Context.BuilderReturns a builder forHttpRequestobjects.Returns a builder for this object.toString()
-
Method Details
-
getHttpRequest
-
getTraceId
-
getSpanId
-
getTraceSampled
public boolean getTraceSampled() -
hashCode
public int hashCode() -
toString
-
equals
-
toBuilder
Returns a builder for this object. -
newBuilder
Returns a builder forHttpRequestobjects.
-