Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/google/api/distribution_pb2.py: 62%
42 statements
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-26 07:30 +0000
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-26 07:30 +0000
1# -*- coding: utf-8 -*-
3# Copyright 2020 Google LLC
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
17# Generated by the protocol buffer compiler. DO NOT EDIT!
18# source: google/api/distribution.proto
19"""Generated protocol buffer code."""
20from google.protobuf import descriptor as _descriptor
21from google.protobuf import descriptor_pool as _descriptor_pool
22from google.protobuf import message as _message
23from google.protobuf import reflection as _reflection
24from google.protobuf import symbol_database as _symbol_database
26# @@protoc_insertion_point(imports)
28_sym_db = _symbol_database.Default()
31from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
32from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
35DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
36 b'\n\x1dgoogle/api/distribution.proto\x12\ngoogle.api\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xd9\x06\n\x0c\x44istribution\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0c\n\x04mean\x18\x02 \x01(\x01\x12 \n\x18sum_of_squared_deviation\x18\x03 \x01(\x01\x12-\n\x05range\x18\x04 \x01(\x0b\x32\x1e.google.api.Distribution.Range\x12>\n\x0e\x62ucket_options\x18\x06 \x01(\x0b\x32&.google.api.Distribution.BucketOptions\x12\x15\n\rbucket_counts\x18\x07 \x03(\x03\x12\x34\n\texemplars\x18\n \x03(\x0b\x32!.google.api.Distribution.Exemplar\x1a!\n\x05Range\x12\x0b\n\x03min\x18\x01 \x01(\x01\x12\x0b\n\x03max\x18\x02 \x01(\x01\x1a\xb5\x03\n\rBucketOptions\x12G\n\x0elinear_buckets\x18\x01 \x01(\x0b\x32-.google.api.Distribution.BucketOptions.LinearH\x00\x12Q\n\x13\x65xponential_buckets\x18\x02 \x01(\x0b\x32\x32.google.api.Distribution.BucketOptions.ExponentialH\x00\x12K\n\x10\x65xplicit_buckets\x18\x03 \x01(\x0b\x32/.google.api.Distribution.BucketOptions.ExplicitH\x00\x1a\x43\n\x06Linear\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x01\x1aO\n\x0b\x45xponential\x12\x1a\n\x12num_finite_buckets\x18\x01 \x01(\x05\x12\x15\n\rgrowth_factor\x18\x02 \x01(\x01\x12\r\n\x05scale\x18\x03 \x01(\x01\x1a\x1a\n\x08\x45xplicit\x12\x0e\n\x06\x62ounds\x18\x01 \x03(\x01\x42\t\n\x07options\x1as\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\x32\x14.google.protobuf.AnyBq\n\x0e\x63om.google.apiB\x11\x44istributionProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/distribution;distribution\xa2\x02\x04GAPIb\x06proto3'
37)
40_DISTRIBUTION = DESCRIPTOR.message_types_by_name["Distribution"]
41_DISTRIBUTION_RANGE = _DISTRIBUTION.nested_types_by_name["Range"]
42_DISTRIBUTION_BUCKETOPTIONS = _DISTRIBUTION.nested_types_by_name["BucketOptions"]
43_DISTRIBUTION_BUCKETOPTIONS_LINEAR = _DISTRIBUTION_BUCKETOPTIONS.nested_types_by_name[
44 "Linear"
45]
46_DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL = (
47 _DISTRIBUTION_BUCKETOPTIONS.nested_types_by_name["Exponential"]
48)
49_DISTRIBUTION_BUCKETOPTIONS_EXPLICIT = _DISTRIBUTION_BUCKETOPTIONS.nested_types_by_name[
50 "Explicit"
51]
52_DISTRIBUTION_EXEMPLAR = _DISTRIBUTION.nested_types_by_name["Exemplar"]
53Distribution = _reflection.GeneratedProtocolMessageType(
54 "Distribution",
55 (_message.Message,),
56 {
57 "Range": _reflection.GeneratedProtocolMessageType(
58 "Range",
59 (_message.Message,),
60 {
61 "DESCRIPTOR": _DISTRIBUTION_RANGE,
62 "__module__": "google.api.distribution_pb2"
63 # @@protoc_insertion_point(class_scope:google.api.Distribution.Range)
64 },
65 ),
66 "BucketOptions": _reflection.GeneratedProtocolMessageType(
67 "BucketOptions",
68 (_message.Message,),
69 {
70 "Linear": _reflection.GeneratedProtocolMessageType(
71 "Linear",
72 (_message.Message,),
73 {
74 "DESCRIPTOR": _DISTRIBUTION_BUCKETOPTIONS_LINEAR,
75 "__module__": "google.api.distribution_pb2"
76 # @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Linear)
77 },
78 ),
79 "Exponential": _reflection.GeneratedProtocolMessageType(
80 "Exponential",
81 (_message.Message,),
82 {
83 "DESCRIPTOR": _DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL,
84 "__module__": "google.api.distribution_pb2"
85 # @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Exponential)
86 },
87 ),
88 "Explicit": _reflection.GeneratedProtocolMessageType(
89 "Explicit",
90 (_message.Message,),
91 {
92 "DESCRIPTOR": _DISTRIBUTION_BUCKETOPTIONS_EXPLICIT,
93 "__module__": "google.api.distribution_pb2"
94 # @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Explicit)
95 },
96 ),
97 "DESCRIPTOR": _DISTRIBUTION_BUCKETOPTIONS,
98 "__module__": "google.api.distribution_pb2"
99 # @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions)
100 },
101 ),
102 "Exemplar": _reflection.GeneratedProtocolMessageType(
103 "Exemplar",
104 (_message.Message,),
105 {
106 "DESCRIPTOR": _DISTRIBUTION_EXEMPLAR,
107 "__module__": "google.api.distribution_pb2"
108 # @@protoc_insertion_point(class_scope:google.api.Distribution.Exemplar)
109 },
110 ),
111 "DESCRIPTOR": _DISTRIBUTION,
112 "__module__": "google.api.distribution_pb2"
113 # @@protoc_insertion_point(class_scope:google.api.Distribution)
114 },
115)
116_sym_db.RegisterMessage(Distribution)
117_sym_db.RegisterMessage(Distribution.Range)
118_sym_db.RegisterMessage(Distribution.BucketOptions)
119_sym_db.RegisterMessage(Distribution.BucketOptions.Linear)
120_sym_db.RegisterMessage(Distribution.BucketOptions.Exponential)
121_sym_db.RegisterMessage(Distribution.BucketOptions.Explicit)
122_sym_db.RegisterMessage(Distribution.Exemplar)
124if _descriptor._USE_C_DESCRIPTORS == False:
126 DESCRIPTOR._options = None
127 DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\021DistributionProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/distribution;distribution\242\002\004GAPI"
128 _DISTRIBUTION._serialized_start = 106
129 _DISTRIBUTION._serialized_end = 963
130 _DISTRIBUTION_RANGE._serialized_start = 373
131 _DISTRIBUTION_RANGE._serialized_end = 406
132 _DISTRIBUTION_BUCKETOPTIONS._serialized_start = 409
133 _DISTRIBUTION_BUCKETOPTIONS._serialized_end = 846
134 _DISTRIBUTION_BUCKETOPTIONS_LINEAR._serialized_start = 659
135 _DISTRIBUTION_BUCKETOPTIONS_LINEAR._serialized_end = 726
136 _DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL._serialized_start = 728
137 _DISTRIBUTION_BUCKETOPTIONS_EXPONENTIAL._serialized_end = 807
138 _DISTRIBUTION_BUCKETOPTIONS_EXPLICIT._serialized_start = 809
139 _DISTRIBUTION_BUCKETOPTIONS_EXPLICIT._serialized_end = 835
140 _DISTRIBUTION_EXEMPLAR._serialized_start = 848
141 _DISTRIBUTION_EXEMPLAR._serialized_end = 963
142# @@protoc_insertion_point(module_scope)