Class ExportTraceServiceRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>
      • getDefaultInstanceForType

        public ExportTraceServiceRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ExportTraceServiceRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ExportTraceServiceRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ExportTraceServiceRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>
      • mergeFrom

        public ExportTraceServiceRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportTraceServiceRequest.Builder>
        Throws:
        IOException
      • getResourceSpansList

        public List<ResourceSpans> getResourceSpansList()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
        Specified by:
        getResourceSpansList in interface ExportTraceServiceRequestOrBuilder
      • getResourceSpansCount

        public int getResourceSpansCount()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
        Specified by:
        getResourceSpansCount in interface ExportTraceServiceRequestOrBuilder
      • getResourceSpans

        public ResourceSpans getResourceSpans​(int index)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
        Specified by:
        getResourceSpans in interface ExportTraceServiceRequestOrBuilder
      • setResourceSpans

        public ExportTraceServiceRequest.Builder setResourceSpans​(int index,
                                                                  ResourceSpans value)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • setResourceSpans

        public ExportTraceServiceRequest.Builder setResourceSpans​(int index,
                                                                  ResourceSpans.Builder builderForValue)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addResourceSpans

        public ExportTraceServiceRequest.Builder addResourceSpans​(ResourceSpans value)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addResourceSpans

        public ExportTraceServiceRequest.Builder addResourceSpans​(int index,
                                                                  ResourceSpans value)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addResourceSpans

        public ExportTraceServiceRequest.Builder addResourceSpans​(ResourceSpans.Builder builderForValue)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addResourceSpans

        public ExportTraceServiceRequest.Builder addResourceSpans​(int index,
                                                                  ResourceSpans.Builder builderForValue)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addAllResourceSpans

        public ExportTraceServiceRequest.Builder addAllResourceSpans​(Iterable<? extends ResourceSpans> values)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • clearResourceSpans

        public ExportTraceServiceRequest.Builder clearResourceSpans()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • removeResourceSpans

        public ExportTraceServiceRequest.Builder removeResourceSpans​(int index)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • getResourceSpansBuilder

        public ResourceSpans.Builder getResourceSpansBuilder​(int index)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • getResourceSpansOrBuilder

        public ResourceSpansOrBuilder getResourceSpansOrBuilder​(int index)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
        Specified by:
        getResourceSpansOrBuilder in interface ExportTraceServiceRequestOrBuilder
      • getResourceSpansOrBuilderList

        public List<? extends ResourceSpansOrBuilder> getResourceSpansOrBuilderList()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
        Specified by:
        getResourceSpansOrBuilderList in interface ExportTraceServiceRequestOrBuilder
      • addResourceSpansBuilder

        public ResourceSpans.Builder addResourceSpansBuilder()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • addResourceSpansBuilder

        public ResourceSpans.Builder addResourceSpansBuilder​(int index)
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • getResourceSpansBuilderList

        public List<ResourceSpans.Builder> getResourceSpansBuilderList()
         An array of ResourceSpans.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
      • setUnknownFields

        public final ExportTraceServiceRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>
      • mergeUnknownFields

        public final ExportTraceServiceRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTraceServiceRequest.Builder>