# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: opencensus/proto/metrics/v1/metrics.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from opencensus.proto.resource.v1 import resource_pb2 as opencensus_dot_proto_dot_resource_dot_v1_dot_resource__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='opencensus/proto/metrics/v1/metrics.proto', package='opencensus.proto.metrics.v1', syntax='proto3', serialized_options=b'\n\036io.opencensus.proto.metrics.v1B\014MetricsProtoP\001ZDgithub.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1\352\002\036OpenCensus::Proto::Metrics::V1', create_key=_descriptor._internal_create_key, serialized_pb=b'\n)opencensus/proto/metrics/v1/metrics.proto\x12\x1bopencensus.proto.metrics.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a+opencensus/proto/resource/v1/resource.proto\"\xc9\x01\n\x06Metric\x12H\n\x11metric_descriptor\x18\x01 \x01(\x0b\x32-.opencensus.proto.metrics.v1.MetricDescriptor\x12;\n\ntimeseries\x18\x02 \x03(\x0b\x32\'.opencensus.proto.metrics.v1.TimeSeries\x12\x38\n\x08resource\x18\x03 \x01(\x0b\x32&.opencensus.proto.resource.v1.Resource\"\xec\x02\n\x10MetricDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04unit\x18\x03 \x01(\t\x12@\n\x04type\x18\x04 \x01(\x0e\x32\x32.opencensus.proto.metrics.v1.MetricDescriptor.Type\x12\x39\n\nlabel_keys\x18\x05 \x03(\x0b\x32%.opencensus.proto.metrics.v1.LabelKey\"\xa9\x01\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0f\n\x0bGAUGE_INT64\x10\x01\x12\x10\n\x0cGAUGE_DOUBLE\x10\x02\x12\x16\n\x12GAUGE_DISTRIBUTION\x10\x03\x12\x14\n\x10\x43UMULATIVE_INT64\x10\x04\x12\x15\n\x11\x43UMULATIVE_DOUBLE\x10\x05\x12\x1b\n\x17\x43UMULATIVE_DISTRIBUTION\x10\x06\x12\x0b\n\x07SUMMARY\x10\x07\",\n\x08LabelKey\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\xb4\x01\n\nTimeSeries\x12\x33\n\x0fstart_timestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x0clabel_values\x18\x02 \x03(\x0b\x32\'.opencensus.proto.metrics.v1.LabelValue\x12\x32\n\x06points\x18\x03 \x03(\x0b\x32\".opencensus.proto.metrics.v1.Point\".\n\nLabelValue\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\thas_value\x18\x02 \x01(\x08\"\x80\x02\n\x05Point\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12L\n\x12\x64istribution_value\x18\x04 \x01(\x0b\x32..opencensus.proto.metrics.v1.DistributionValueH\x00\x12\x42\n\rsummary_value\x18\x05 \x01(\x0b\x32).opencensus.proto.metrics.v1.SummaryValueH\x00\x42\x07\n\x05value\"\xc2\x05\n\x11\x44istributionValue\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0b\n\x03sum\x18\x02 \x01(\x01\x12 \n\x18sum_of_squared_deviation\x18\x03 \x01(\x01\x12T\n\x0e\x62ucket_options\x18\x04 \x01(\x0b\x32<.opencensus.proto.metrics.v1.DistributionValue.BucketOptions\x12\x46\n\x07\x62uckets\x18\x05 \x03(\x0b\x32\x35.opencensus.proto.metrics.v1.DistributionValue.Bucket\x1a\x8e\x01\n\rBucketOptions\x12Y\n\x08\x65xplicit\x18\x01 \x01(\x0b\x32\x45.opencensus.proto.metrics.v1.DistributionValue.BucketOptions.ExplicitH\x00\x1a\x1a\n\x08\x45xplicit\x12\x0e\n\x06\x62ounds\x18\x01 \x03(\x01\x42\x06\n\x04type\x1a\x62\n\x06\x42ucket\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12I\n\x08\x65xemplar\x18\x02 \x01(\x0b\x32\x37.opencensus.proto.metrics.v1.DistributionValue.Exemplar\x1a\xdb\x01\n\x08\x45xemplar\x12\r\n\x05value\x18\x01 \x01(\x01\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12]\n\x0b\x61ttachments\x18\x03 \x03(\x0b\x32H.opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry\x1a\x32\n\x10\x41ttachmentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x03\n\x0cSummaryValue\x12*\n\x05\x63ount\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03sum\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x44\n\x08snapshot\x18\x03 \x01(\x0b\x32\x32.opencensus.proto.metrics.v1.SummaryValue.Snapshot\x1a\xfa\x01\n\x08Snapshot\x12*\n\x05\x63ount\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03sum\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12_\n\x11percentile_values\x18\x03 \x03(\x0b\x32\x44.opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile\x1a\x36\n\x11ValueAtPercentile\x12\x12\n\npercentile\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01\x42\x97\x01\n\x1eio.opencensus.proto.metrics.v1B\x0cMetricsProtoP\x01ZDgithub.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1\xea\x02\x1eOpenCensus::Proto::Metrics::V1b\x06proto3' , dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,opencensus_dot_proto_dot_resource_dot_v1_dot_resource__pb2.DESCRIPTOR,]) _METRICDESCRIPTOR_TYPE = _descriptor.EnumDescriptor( name='Type', full_name='opencensus.proto.metrics.v1.MetricDescriptor.Type', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GAUGE_INT64', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GAUGE_DOUBLE', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='GAUGE_DISTRIBUTION', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CUMULATIVE_INT64', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CUMULATIVE_DOUBLE', index=5, number=5, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CUMULATIVE_DISTRIBUTION', index=6, number=6, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='SUMMARY', index=7, number=7, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=584, serialized_end=753, ) _sym_db.RegisterEnumDescriptor(_METRICDESCRIPTOR_TYPE) _METRIC = _descriptor.Descriptor( name='Metric', full_name='opencensus.proto.metrics.v1.Metric', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='metric_descriptor', full_name='opencensus.proto.metrics.v1.Metric.metric_descriptor', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='timeseries', full_name='opencensus.proto.metrics.v1.Metric.timeseries', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='resource', full_name='opencensus.proto.metrics.v1.Metric.resource', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=185, serialized_end=386, ) _METRICDESCRIPTOR = _descriptor.Descriptor( name='MetricDescriptor', full_name='opencensus.proto.metrics.v1.MetricDescriptor', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='opencensus.proto.metrics.v1.MetricDescriptor.name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='description', full_name='opencensus.proto.metrics.v1.MetricDescriptor.description', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='unit', full_name='opencensus.proto.metrics.v1.MetricDescriptor.unit', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='opencensus.proto.metrics.v1.MetricDescriptor.type', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='label_keys', full_name='opencensus.proto.metrics.v1.MetricDescriptor.label_keys', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ _METRICDESCRIPTOR_TYPE, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=389, serialized_end=753, ) _LABELKEY = _descriptor.Descriptor( name='LabelKey', full_name='opencensus.proto.metrics.v1.LabelKey', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='opencensus.proto.metrics.v1.LabelKey.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='description', full_name='opencensus.proto.metrics.v1.LabelKey.description', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=755, serialized_end=799, ) _TIMESERIES = _descriptor.Descriptor( name='TimeSeries', full_name='opencensus.proto.metrics.v1.TimeSeries', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='start_timestamp', full_name='opencensus.proto.metrics.v1.TimeSeries.start_timestamp', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='label_values', full_name='opencensus.proto.metrics.v1.TimeSeries.label_values', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='points', full_name='opencensus.proto.metrics.v1.TimeSeries.points', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=802, serialized_end=982, ) _LABELVALUE = _descriptor.Descriptor( name='LabelValue', full_name='opencensus.proto.metrics.v1.LabelValue', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='value', full_name='opencensus.proto.metrics.v1.LabelValue.value', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='has_value', full_name='opencensus.proto.metrics.v1.LabelValue.has_value', index=1, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=984, serialized_end=1030, ) _POINT = _descriptor.Descriptor( name='Point', full_name='opencensus.proto.metrics.v1.Point', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='timestamp', full_name='opencensus.proto.metrics.v1.Point.timestamp', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='int64_value', full_name='opencensus.proto.metrics.v1.Point.int64_value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='double_value', full_name='opencensus.proto.metrics.v1.Point.double_value', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='distribution_value', full_name='opencensus.proto.metrics.v1.Point.distribution_value', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='summary_value', full_name='opencensus.proto.metrics.v1.Point.summary_value', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='opencensus.proto.metrics.v1.Point.value', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=1033, serialized_end=1289, ) _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT = _descriptor.Descriptor( name='Explicit', full_name='opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='bounds', full_name='opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit.bounds', index=0, number=1, type=1, cpp_type=5, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1642, serialized_end=1668, ) _DISTRIBUTIONVALUE_BUCKETOPTIONS = _descriptor.Descriptor( name='BucketOptions', full_name='opencensus.proto.metrics.v1.DistributionValue.BucketOptions', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='explicit', full_name='opencensus.proto.metrics.v1.DistributionValue.BucketOptions.explicit', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='type', full_name='opencensus.proto.metrics.v1.DistributionValue.BucketOptions.type', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=1534, serialized_end=1676, ) _DISTRIBUTIONVALUE_BUCKET = _descriptor.Descriptor( name='Bucket', full_name='opencensus.proto.metrics.v1.DistributionValue.Bucket', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='count', full_name='opencensus.proto.metrics.v1.DistributionValue.Bucket.count', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='exemplar', full_name='opencensus.proto.metrics.v1.DistributionValue.Bucket.exemplar', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1678, serialized_end=1776, ) _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY = _descriptor.Descriptor( name='AttachmentsEntry', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry.value', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1948, serialized_end=1998, ) _DISTRIBUTIONVALUE_EXEMPLAR = _descriptor.Descriptor( name='Exemplar', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='value', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.value', index=0, number=1, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='timestamp', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.timestamp', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='attachments', full_name='opencensus.proto.metrics.v1.DistributionValue.Exemplar.attachments', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1779, serialized_end=1998, ) _DISTRIBUTIONVALUE = _descriptor.Descriptor( name='DistributionValue', full_name='opencensus.proto.metrics.v1.DistributionValue', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='count', full_name='opencensus.proto.metrics.v1.DistributionValue.count', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sum', full_name='opencensus.proto.metrics.v1.DistributionValue.sum', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sum_of_squared_deviation', full_name='opencensus.proto.metrics.v1.DistributionValue.sum_of_squared_deviation', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bucket_options', full_name='opencensus.proto.metrics.v1.DistributionValue.bucket_options', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='buckets', full_name='opencensus.proto.metrics.v1.DistributionValue.buckets', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_DISTRIBUTIONVALUE_BUCKETOPTIONS, _DISTRIBUTIONVALUE_BUCKET, _DISTRIBUTIONVALUE_EXEMPLAR, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1292, serialized_end=1998, ) _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE = _descriptor.Descriptor( name='ValueAtPercentile', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='percentile', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile.percentile', index=0, number=1, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile.value', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2371, serialized_end=2425, ) _SUMMARYVALUE_SNAPSHOT = _descriptor.Descriptor( name='Snapshot', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='count', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.count', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sum', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.sum', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='percentile_values', full_name='opencensus.proto.metrics.v1.SummaryValue.Snapshot.percentile_values', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2175, serialized_end=2425, ) _SUMMARYVALUE = _descriptor.Descriptor( name='SummaryValue', full_name='opencensus.proto.metrics.v1.SummaryValue', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='count', full_name='opencensus.proto.metrics.v1.SummaryValue.count', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sum', full_name='opencensus.proto.metrics.v1.SummaryValue.sum', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='snapshot', full_name='opencensus.proto.metrics.v1.SummaryValue.snapshot', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_SUMMARYVALUE_SNAPSHOT, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2001, serialized_end=2425, ) _METRIC.fields_by_name['metric_descriptor'].message_type = _METRICDESCRIPTOR _METRIC.fields_by_name['timeseries'].message_type = _TIMESERIES _METRIC.fields_by_name['resource'].message_type = opencensus_dot_proto_dot_resource_dot_v1_dot_resource__pb2._RESOURCE _METRICDESCRIPTOR.fields_by_name['type'].enum_type = _METRICDESCRIPTOR_TYPE _METRICDESCRIPTOR.fields_by_name['label_keys'].message_type = _LABELKEY _METRICDESCRIPTOR_TYPE.containing_type = _METRICDESCRIPTOR _TIMESERIES.fields_by_name['start_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _TIMESERIES.fields_by_name['label_values'].message_type = _LABELVALUE _TIMESERIES.fields_by_name['points'].message_type = _POINT _POINT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _POINT.fields_by_name['distribution_value'].message_type = _DISTRIBUTIONVALUE _POINT.fields_by_name['summary_value'].message_type = _SUMMARYVALUE _POINT.oneofs_by_name['value'].fields.append( _POINT.fields_by_name['int64_value']) _POINT.fields_by_name['int64_value'].containing_oneof = _POINT.oneofs_by_name['value'] _POINT.oneofs_by_name['value'].fields.append( _POINT.fields_by_name['double_value']) _POINT.fields_by_name['double_value'].containing_oneof = _POINT.oneofs_by_name['value'] _POINT.oneofs_by_name['value'].fields.append( _POINT.fields_by_name['distribution_value']) _POINT.fields_by_name['distribution_value'].containing_oneof = _POINT.oneofs_by_name['value'] _POINT.oneofs_by_name['value'].fields.append( _POINT.fields_by_name['summary_value']) _POINT.fields_by_name['summary_value'].containing_oneof = _POINT.oneofs_by_name['value'] _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT.containing_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name['explicit'].message_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT _DISTRIBUTIONVALUE_BUCKETOPTIONS.containing_type = _DISTRIBUTIONVALUE _DISTRIBUTIONVALUE_BUCKETOPTIONS.oneofs_by_name['type'].fields.append( _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name['explicit']) _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name['explicit'].containing_oneof = _DISTRIBUTIONVALUE_BUCKETOPTIONS.oneofs_by_name['type'] _DISTRIBUTIONVALUE_BUCKET.fields_by_name['exemplar'].message_type = _DISTRIBUTIONVALUE_EXEMPLAR _DISTRIBUTIONVALUE_BUCKET.containing_type = _DISTRIBUTIONVALUE _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY.containing_type = _DISTRIBUTIONVALUE_EXEMPLAR _DISTRIBUTIONVALUE_EXEMPLAR.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _DISTRIBUTIONVALUE_EXEMPLAR.fields_by_name['attachments'].message_type = _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY _DISTRIBUTIONVALUE_EXEMPLAR.containing_type = _DISTRIBUTIONVALUE _DISTRIBUTIONVALUE.fields_by_name['bucket_options'].message_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS _DISTRIBUTIONVALUE.fields_by_name['buckets'].message_type = _DISTRIBUTIONVALUE_BUCKET _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE.containing_type = _SUMMARYVALUE_SNAPSHOT _SUMMARYVALUE_SNAPSHOT.fields_by_name['count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _SUMMARYVALUE_SNAPSHOT.fields_by_name['sum'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _SUMMARYVALUE_SNAPSHOT.fields_by_name['percentile_values'].message_type = _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE _SUMMARYVALUE_SNAPSHOT.containing_type = _SUMMARYVALUE _SUMMARYVALUE.fields_by_name['count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _SUMMARYVALUE.fields_by_name['sum'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _SUMMARYVALUE.fields_by_name['snapshot'].message_type = _SUMMARYVALUE_SNAPSHOT DESCRIPTOR.message_types_by_name['Metric'] = _METRIC DESCRIPTOR.message_types_by_name['MetricDescriptor'] = _METRICDESCRIPTOR DESCRIPTOR.message_types_by_name['LabelKey'] = _LABELKEY DESCRIPTOR.message_types_by_name['TimeSeries'] = _TIMESERIES DESCRIPTOR.message_types_by_name['LabelValue'] = _LABELVALUE DESCRIPTOR.message_types_by_name['Point'] = _POINT DESCRIPTOR.message_types_by_name['DistributionValue'] = _DISTRIBUTIONVALUE DESCRIPTOR.message_types_by_name['SummaryValue'] = _SUMMARYVALUE _sym_db.RegisterFileDescriptor(DESCRIPTOR) Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), { 'DESCRIPTOR' : _METRIC, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.Metric) }) _sym_db.RegisterMessage(Metric) MetricDescriptor = _reflection.GeneratedProtocolMessageType('MetricDescriptor', (_message.Message,), { 'DESCRIPTOR' : _METRICDESCRIPTOR, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.MetricDescriptor) }) _sym_db.RegisterMessage(MetricDescriptor) LabelKey = _reflection.GeneratedProtocolMessageType('LabelKey', (_message.Message,), { 'DESCRIPTOR' : _LABELKEY, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.LabelKey) }) _sym_db.RegisterMessage(LabelKey) TimeSeries = _reflection.GeneratedProtocolMessageType('TimeSeries', (_message.Message,), { 'DESCRIPTOR' : _TIMESERIES, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.TimeSeries) }) _sym_db.RegisterMessage(TimeSeries) LabelValue = _reflection.GeneratedProtocolMessageType('LabelValue', (_message.Message,), { 'DESCRIPTOR' : _LABELVALUE, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.LabelValue) }) _sym_db.RegisterMessage(LabelValue) Point = _reflection.GeneratedProtocolMessageType('Point', (_message.Message,), { 'DESCRIPTOR' : _POINT, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.Point) }) _sym_db.RegisterMessage(Point) DistributionValue = _reflection.GeneratedProtocolMessageType('DistributionValue', (_message.Message,), { 'BucketOptions' : _reflection.GeneratedProtocolMessageType('BucketOptions', (_message.Message,), { 'Explicit' : _reflection.GeneratedProtocolMessageType('Explicit', (_message.Message,), { 'DESCRIPTOR' : _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit) }) , 'DESCRIPTOR' : _DISTRIBUTIONVALUE_BUCKETOPTIONS, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue.BucketOptions) }) , 'Bucket' : _reflection.GeneratedProtocolMessageType('Bucket', (_message.Message,), { 'DESCRIPTOR' : _DISTRIBUTIONVALUE_BUCKET, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue.Bucket) }) , 'Exemplar' : _reflection.GeneratedProtocolMessageType('Exemplar', (_message.Message,), { 'AttachmentsEntry' : _reflection.GeneratedProtocolMessageType('AttachmentsEntry', (_message.Message,), { 'DESCRIPTOR' : _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry) }) , 'DESCRIPTOR' : _DISTRIBUTIONVALUE_EXEMPLAR, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue.Exemplar) }) , 'DESCRIPTOR' : _DISTRIBUTIONVALUE, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.DistributionValue) }) _sym_db.RegisterMessage(DistributionValue) _sym_db.RegisterMessage(DistributionValue.BucketOptions) _sym_db.RegisterMessage(DistributionValue.BucketOptions.Explicit) _sym_db.RegisterMessage(DistributionValue.Bucket) _sym_db.RegisterMessage(DistributionValue.Exemplar) _sym_db.RegisterMessage(DistributionValue.Exemplar.AttachmentsEntry) SummaryValue = _reflection.GeneratedProtocolMessageType('SummaryValue', (_message.Message,), { 'Snapshot' : _reflection.GeneratedProtocolMessageType('Snapshot', (_message.Message,), { 'ValueAtPercentile' : _reflection.GeneratedProtocolMessageType('ValueAtPercentile', (_message.Message,), { 'DESCRIPTOR' : _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile) }) , 'DESCRIPTOR' : _SUMMARYVALUE_SNAPSHOT, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.SummaryValue.Snapshot) }) , 'DESCRIPTOR' : _SUMMARYVALUE, '__module__' : 'opencensus.proto.metrics.v1.metrics_pb2' # @@protoc_insertion_point(class_scope:opencensus.proto.metrics.v1.SummaryValue) }) _sym_db.RegisterMessage(SummaryValue) _sym_db.RegisterMessage(SummaryValue.Snapshot) _sym_db.RegisterMessage(SummaryValue.Snapshot.ValueAtPercentile) DESCRIPTOR._options = None _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY._options = None # @@protoc_insertion_point(module_scope)