Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/google/api/quota_pb2.py: 100%
38 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-25 06:32 +0000
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-25 06:32 +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/quota.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()
31DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
32 b'\n\x16google/api/quota.proto\x12\ngoogle.api"]\n\x05Quota\x12&\n\x06limits\x18\x03 \x03(\x0b\x32\x16.google.api.QuotaLimit\x12,\n\x0cmetric_rules\x18\x04 \x03(\x0b\x32\x16.google.api.MetricRule"\x91\x01\n\nMetricRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12=\n\x0cmetric_costs\x18\x02 \x03(\x0b\x32\'.google.api.MetricRule.MetricCostsEntry\x1a\x32\n\x10MetricCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01"\x95\x02\n\nQuotaLimit\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rdefault_limit\x18\x03 \x01(\x03\x12\x11\n\tmax_limit\x18\x04 \x01(\x03\x12\x11\n\tfree_tier\x18\x07 \x01(\x03\x12\x10\n\x08\x64uration\x18\x05 \x01(\t\x12\x0e\n\x06metric\x18\x08 \x01(\t\x12\x0c\n\x04unit\x18\t \x01(\t\x12\x32\n\x06values\x18\n \x03(\x0b\x32".google.api.QuotaLimit.ValuesEntry\x12\x14\n\x0c\x64isplay_name\x18\x0c \x01(\t\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x42l\n\x0e\x63om.google.apiB\nQuotaProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
33)
36_QUOTA = DESCRIPTOR.message_types_by_name["Quota"]
37_METRICRULE = DESCRIPTOR.message_types_by_name["MetricRule"]
38_METRICRULE_METRICCOSTSENTRY = _METRICRULE.nested_types_by_name["MetricCostsEntry"]
39_QUOTALIMIT = DESCRIPTOR.message_types_by_name["QuotaLimit"]
40_QUOTALIMIT_VALUESENTRY = _QUOTALIMIT.nested_types_by_name["ValuesEntry"]
41Quota = _reflection.GeneratedProtocolMessageType(
42 "Quota",
43 (_message.Message,),
44 {
45 "DESCRIPTOR": _QUOTA,
46 "__module__": "google.api.quota_pb2"
47 # @@protoc_insertion_point(class_scope:google.api.Quota)
48 },
49)
50_sym_db.RegisterMessage(Quota)
52MetricRule = _reflection.GeneratedProtocolMessageType(
53 "MetricRule",
54 (_message.Message,),
55 {
56 "MetricCostsEntry": _reflection.GeneratedProtocolMessageType(
57 "MetricCostsEntry",
58 (_message.Message,),
59 {
60 "DESCRIPTOR": _METRICRULE_METRICCOSTSENTRY,
61 "__module__": "google.api.quota_pb2"
62 # @@protoc_insertion_point(class_scope:google.api.MetricRule.MetricCostsEntry)
63 },
64 ),
65 "DESCRIPTOR": _METRICRULE,
66 "__module__": "google.api.quota_pb2"
67 # @@protoc_insertion_point(class_scope:google.api.MetricRule)
68 },
69)
70_sym_db.RegisterMessage(MetricRule)
71_sym_db.RegisterMessage(MetricRule.MetricCostsEntry)
73QuotaLimit = _reflection.GeneratedProtocolMessageType(
74 "QuotaLimit",
75 (_message.Message,),
76 {
77 "ValuesEntry": _reflection.GeneratedProtocolMessageType(
78 "ValuesEntry",
79 (_message.Message,),
80 {
81 "DESCRIPTOR": _QUOTALIMIT_VALUESENTRY,
82 "__module__": "google.api.quota_pb2"
83 # @@protoc_insertion_point(class_scope:google.api.QuotaLimit.ValuesEntry)
84 },
85 ),
86 "DESCRIPTOR": _QUOTALIMIT,
87 "__module__": "google.api.quota_pb2"
88 # @@protoc_insertion_point(class_scope:google.api.QuotaLimit)
89 },
90)
91_sym_db.RegisterMessage(QuotaLimit)
92_sym_db.RegisterMessage(QuotaLimit.ValuesEntry)
94if _descriptor._USE_C_DESCRIPTORS == False:
96 DESCRIPTOR._options = None
97 DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\nQuotaProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
98 _METRICRULE_METRICCOSTSENTRY._options = None
99 _METRICRULE_METRICCOSTSENTRY._serialized_options = b"8\001"
100 _QUOTALIMIT_VALUESENTRY._options = None
101 _QUOTALIMIT_VALUESENTRY._serialized_options = b"8\001"
102 _QUOTA._serialized_start = 38
103 _QUOTA._serialized_end = 131
104 _METRICRULE._serialized_start = 134
105 _METRICRULE._serialized_end = 279
106 _METRICRULE_METRICCOSTSENTRY._serialized_start = 229
107 _METRICRULE_METRICCOSTSENTRY._serialized_end = 279
108 _QUOTALIMIT._serialized_start = 282
109 _QUOTALIMIT._serialized_end = 559
110 _QUOTALIMIT_VALUESENTRY._serialized_start = 514
111 _QUOTALIMIT_VALUESENTRY._serialized_end = 559
112# @@protoc_insertion_point(module_scope)