Class ExportMetricsServiceRequest.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<ExportMetricsServiceRequest.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<ExportMetricsServiceRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ExportMetricsServiceRequest.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<ExportMetricsServiceRequest.Builder>
        Throws:
        IOException
      • getResourceMetricsList

        public List<ResourceMetrics> getResourceMetricsList()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
        Specified by:
        getResourceMetricsList in interface ExportMetricsServiceRequestOrBuilder
      • getResourceMetricsCount

        public int getResourceMetricsCount()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
        Specified by:
        getResourceMetricsCount in interface ExportMetricsServiceRequestOrBuilder
      • getResourceMetrics

        public ResourceMetrics getResourceMetrics​(int index)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
        Specified by:
        getResourceMetrics in interface ExportMetricsServiceRequestOrBuilder
      • setResourceMetrics

        public ExportMetricsServiceRequest.Builder setResourceMetrics​(int index,
                                                                      ResourceMetrics value)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • setResourceMetrics

        public ExportMetricsServiceRequest.Builder setResourceMetrics​(int index,
                                                                      ResourceMetrics.Builder builderForValue)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addResourceMetrics

        public ExportMetricsServiceRequest.Builder addResourceMetrics​(ResourceMetrics value)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addResourceMetrics

        public ExportMetricsServiceRequest.Builder addResourceMetrics​(int index,
                                                                      ResourceMetrics value)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addResourceMetrics

        public ExportMetricsServiceRequest.Builder addResourceMetrics​(ResourceMetrics.Builder builderForValue)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addResourceMetrics

        public ExportMetricsServiceRequest.Builder addResourceMetrics​(int index,
                                                                      ResourceMetrics.Builder builderForValue)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addAllResourceMetrics

        public ExportMetricsServiceRequest.Builder addAllResourceMetrics​(Iterable<? extends ResourceMetrics> values)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • clearResourceMetrics

        public ExportMetricsServiceRequest.Builder clearResourceMetrics()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • removeResourceMetrics

        public ExportMetricsServiceRequest.Builder removeResourceMetrics​(int index)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • getResourceMetricsBuilder

        public ResourceMetrics.Builder getResourceMetricsBuilder​(int index)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • getResourceMetricsOrBuilder

        public ResourceMetricsOrBuilder getResourceMetricsOrBuilder​(int index)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
        Specified by:
        getResourceMetricsOrBuilder in interface ExportMetricsServiceRequestOrBuilder
      • getResourceMetricsOrBuilderList

        public List<? extends ResourceMetricsOrBuilder> getResourceMetricsOrBuilderList()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
        Specified by:
        getResourceMetricsOrBuilderList in interface ExportMetricsServiceRequestOrBuilder
      • addResourceMetricsBuilder

        public ResourceMetrics.Builder addResourceMetricsBuilder()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • addResourceMetricsBuilder

        public ResourceMetrics.Builder addResourceMetricsBuilder​(int index)
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • getResourceMetricsBuilderList

        public List<ResourceMetrics.Builder> getResourceMetricsBuilderList()
         An array of ResourceMetrics.
         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.metrics.v1.ResourceMetrics resource_metrics = 1;
      • mergeUnknownFields

        public final ExportMetricsServiceRequest.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<ExportMetricsServiceRequest.Builder>