Interface TraceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Trace, Trace.Builder

    public interface TraceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getProjectId()
      Project ID of the Cloud project where the trace data is stored.
      com.google.protobuf.ByteString getProjectIdBytes()
      Project ID of the Cloud project where the trace data is stored.
      TraceSpan getSpans​(int index)
      Collection of spans in the trace.
      int getSpansCount()
      Collection of spans in the trace.
      List<TraceSpan> getSpansList()
      Collection of spans in the trace.
      TraceSpanOrBuilder getSpansOrBuilder​(int index)
      Collection of spans in the trace.
      List<? extends TraceSpanOrBuilder> getSpansOrBuilderList()
      Collection of spans in the trace.
      String getTraceId()
      Globally unique identifier for the trace.
      com.google.protobuf.ByteString getTraceIdBytes()
      Globally unique identifier for the trace.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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

        List<TraceSpan> getSpansList()
         Collection of spans in the trace.
         
        repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;
      • getSpans

        TraceSpan getSpans​(int index)
         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

        TraceSpanOrBuilder getSpansOrBuilder​(int index)
         Collection of spans in the trace.
         
        repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;