Interface TraceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Trace,Trace.Builder
@Generated
public interface TraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionProject ID of the Cloud project where the trace data is stored.com.google.protobuf.ByteStringProject ID of the Cloud project where the trace data is stored.getSpans(int index) Collection of spans in the trace.intCollection of spans in the trace.Collection of spans in the trace.getSpansOrBuilder(int index) Collection of spans in the trace.List<? extends TraceSpanOrBuilder>Collection of spans in the trace.Globally unique identifier for the trace.com.google.protobuf.ByteStringGlobally unique identifier for the trace.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
-
getProjectId
String getProjectId()Project ID of the Cloud project where the trace data is stored.
string project_id = 1;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Project ID of the Cloud project where the trace data is stored.
string project_id = 1;- Returns:
- The bytes for projectId.
-
getTraceId
String getTraceId()Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, `382d4f4c6b7bb2f4a972559d9085001d`.
string trace_id = 2;- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, `382d4f4c6b7bb2f4a972559d9085001d`.
string trace_id = 2;- Returns:
- The bytes for traceId.
-
getSpansList
Collection of spans in the trace.
repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3; -
getSpans
Collection of spans in the trace.
repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3; -
getSpansCount
int getSpansCount()Collection of spans in the trace.
repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3; -
getSpansOrBuilderList
List<? extends TraceSpanOrBuilder> getSpansOrBuilderList()Collection of spans in the trace.
repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3; -
getSpansOrBuilder
Collection of spans in the trace.
repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;
-