Interface ExportTraceServiceRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Node getNode()
      This is required only in the first message on the stream or if the previous sent ExportTraceServiceRequest message has a different Node (e.g.
      NodeOrBuilder getNodeOrBuilder()
      This is required only in the first message on the stream or if the previous sent ExportTraceServiceRequest message has a different Node (e.g.
      Resource getResource()
      The resource for the spans in this message that do not have an explicit resource set.
      ResourceOrBuilder getResourceOrBuilder()
      The resource for the spans in this message that do not have an explicit resource set.
      Span getSpans​(int index)
      A list of Spans that belong to the last received Node.
      int getSpansCount()
      A list of Spans that belong to the last received Node.
      List<Span> getSpansList()
      A list of Spans that belong to the last received Node.
      SpanOrBuilder getSpansOrBuilder​(int index)
      A list of Spans that belong to the last received Node.
      List<? extends SpanOrBuilder> getSpansOrBuilderList()
      A list of Spans that belong to the last received Node.
      boolean hasNode()
      This is required only in the first message on the stream or if the previous sent ExportTraceServiceRequest message has a different Node (e.g.
      boolean hasResource()
      The resource for the spans in this message that do not have an explicit resource set.
      • 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

      • hasNode

        boolean hasNode()
         This is required only in the first message on the stream or if the
         previous sent ExportTraceServiceRequest message has a different Node (e.g.
         when the same RPC is used to send Spans from multiple Applications).
         
        .opencensus.proto.agent.common.v1.Node node = 1;
        Returns:
        Whether the node field is set.
      • getNode

        Node getNode()
         This is required only in the first message on the stream or if the
         previous sent ExportTraceServiceRequest message has a different Node (e.g.
         when the same RPC is used to send Spans from multiple Applications).
         
        .opencensus.proto.agent.common.v1.Node node = 1;
        Returns:
        The node.
      • getNodeOrBuilder

        NodeOrBuilder getNodeOrBuilder()
         This is required only in the first message on the stream or if the
         previous sent ExportTraceServiceRequest message has a different Node (e.g.
         when the same RPC is used to send Spans from multiple Applications).
         
        .opencensus.proto.agent.common.v1.Node node = 1;
      • getSpansList

        List<Span> getSpansList()
         A list of Spans that belong to the last received Node.
         
        repeated .opencensus.proto.trace.v1.Span spans = 2;
      • getSpans

        Span getSpans​(int index)
         A list of Spans that belong to the last received Node.
         
        repeated .opencensus.proto.trace.v1.Span spans = 2;
      • getSpansCount

        int getSpansCount()
         A list of Spans that belong to the last received Node.
         
        repeated .opencensus.proto.trace.v1.Span spans = 2;
      • getSpansOrBuilderList

        List<? extends SpanOrBuilder> getSpansOrBuilderList()
         A list of Spans that belong to the last received Node.
         
        repeated .opencensus.proto.trace.v1.Span spans = 2;
      • getSpansOrBuilder

        SpanOrBuilder getSpansOrBuilder​(int index)
         A list of Spans that belong to the last received Node.
         
        repeated .opencensus.proto.trace.v1.Span spans = 2;
      • hasResource

        boolean hasResource()
         The resource for the spans in this message that do not have an explicit
         resource set.
         If unset, the most recently set resource in the RPC stream applies. It is
         valid to never be set within a stream, e.g. when no resource info is known.
         
        .opencensus.proto.resource.v1.Resource resource = 3;
        Returns:
        Whether the resource field is set.
      • getResource

        Resource getResource()
         The resource for the spans in this message that do not have an explicit
         resource set.
         If unset, the most recently set resource in the RPC stream applies. It is
         valid to never be set within a stream, e.g. when no resource info is known.
         
        .opencensus.proto.resource.v1.Resource resource = 3;
        Returns:
        The resource.
      • getResourceOrBuilder

        ResourceOrBuilder getResourceOrBuilder()
         The resource for the spans in this message that do not have an explicit
         resource set.
         If unset, the most recently set resource in the RPC stream applies. It is
         valid to never be set within a stream, e.g. when no resource info is known.
         
        .opencensus.proto.resource.v1.Resource resource = 3;