Package com.daml.ledger.api.v2
Interface TraceContextOuterClass.TraceContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TraceContextOuterClass.TraceContext,TraceContextOuterClass.TraceContext.Builder
- Enclosing class:
- TraceContextOuterClass
public static interface TraceContextOuterClass.TraceContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionhttps://www.w3.org/TR/trace-context/com.google.protobuf.ByteStringhttps://www.w3.org/TR/trace-context/optional string tracestate = 2 [json_name = "tracestate"];com.google.protobuf.ByteStringoptional string tracestate = 2 [json_name = "tracestate"];booleanhttps://www.w3.org/TR/trace-context/booleanoptional string tracestate = 2 [json_name = "tracestate"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTraceparent
boolean hasTraceparent()https://www.w3.org/TR/trace-context/
optional string traceparent = 1 [json_name = "traceparent"];- Returns:
- Whether the traceparent field is set.
-
getTraceparent
String getTraceparent()https://www.w3.org/TR/trace-context/
optional string traceparent = 1 [json_name = "traceparent"];- Returns:
- The traceparent.
-
getTraceparentBytes
com.google.protobuf.ByteString getTraceparentBytes()https://www.w3.org/TR/trace-context/
optional string traceparent = 1 [json_name = "traceparent"];- Returns:
- The bytes for traceparent.
-
hasTracestate
boolean hasTracestate()optional string tracestate = 2 [json_name = "tracestate"];- Returns:
- Whether the tracestate field is set.
-
getTracestate
String getTracestate()optional string tracestate = 2 [json_name = "tracestate"];- Returns:
- The tracestate.
-
getTracestateBytes
com.google.protobuf.ByteString getTracestateBytes()optional string tracestate = 2 [json_name = "tracestate"];- Returns:
- The bytes for tracestate.
-