lib/opentelemetry/proto/resource/v1/resource_pb.rb in opentelemetry-exporter-otlp-0.27.0 vs lib/opentelemetry/proto/resource/v1/resource_pb.rb in opentelemetry-exporter-otlp-0.28.0

- old
+ new

@@ -1,19 +1,17 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: opentelemetry/proto/resource/v1/resource.proto require 'google/protobuf' require 'opentelemetry/proto/common/v1/common_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("opentelemetry/proto/resource/v1/resource.proto", :syntax => :proto3) do - add_message "opentelemetry.proto.resource.v1.Resource" do - repeated :attributes, :message, 1, "opentelemetry.proto.common.v1.KeyValue" - optional :dropped_attributes_count, :uint32, 2 - end - end -end + +descriptor_data = "\n.opentelemetry/proto/resource/v1/resource.proto\x12\x1fopentelemetry.proto.resource.v1\x1a*opentelemetry/proto/common/v1/common.proto\"i\n\x08Resource\x12;\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x02 \x01(\rB\x83\x01\n\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\x01Z*go.opentelemetry.io/proto/otlp/resource/v1\xaa\x02\x1fOpenTelemetry.Proto.Resource.V1b\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Opentelemetry module Proto module Resource module V1