Interface BatchWriteSpansRequestOrBuilder

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

    public interface BatchWriteSpansRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Required. The name of the project where the spans belong. The format is
         `projects/[PROJECT_ID]`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The name of the project where the spans belong. The format is
         `projects/[PROJECT_ID]`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getSpansList

        List<Span> getSpansList()
         Required. A list of new spans. The span names must not match existing
         spans, otherwise the results are undefined.
         
        repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
      • getSpans

        Span getSpans​(int index)
         Required. A list of new spans. The span names must not match existing
         spans, otherwise the results are undefined.
         
        repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
      • getSpansCount

        int getSpansCount()
         Required. A list of new spans. The span names must not match existing
         spans, otherwise the results are undefined.
         
        repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
      • getSpansOrBuilderList

        List<? extends SpanOrBuilder> getSpansOrBuilderList()
         Required. A list of new spans. The span names must not match existing
         spans, otherwise the results are undefined.
         
        repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
      • getSpansOrBuilder

        SpanOrBuilder getSpansOrBuilder​(int index)
         Required. A list of new spans. The span names must not match existing
         spans, otherwise the results are undefined.
         
        repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];