Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/google/api/routing_pb2.py: 100%

25 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:32 +0000

1# -*- coding: utf-8 -*- 

2 

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. 

16 

17# Generated by the protocol buffer compiler. DO NOT EDIT! 

18# source: google/api/routing.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 

25 

26# @@protoc_insertion_point(imports) 

27 

28_sym_db = _symbol_database.Default() 

29 

30 

31from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 

32 

33 

34DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

35 b'\n\x18google/api/routing.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto"G\n\x0bRoutingRule\x12\x38\n\x12routing_parameters\x18\x02 \x03(\x0b\x32\x1c.google.api.RoutingParameter"8\n\x10RoutingParameter\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x15\n\rpath_template\x18\x02 \x01(\t:K\n\x07routing\x12\x1e.google.protobuf.MethodOptions\x18\xb1\xca\xbc" \x01(\x0b\x32\x17.google.api.RoutingRuleBj\n\x0e\x63om.google.apiB\x0cRoutingProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3' 

36) 

37 

38 

39ROUTING_FIELD_NUMBER = 72295729 

40routing = DESCRIPTOR.extensions_by_name["routing"] 

41 

42_ROUTINGRULE = DESCRIPTOR.message_types_by_name["RoutingRule"] 

43_ROUTINGPARAMETER = DESCRIPTOR.message_types_by_name["RoutingParameter"] 

44RoutingRule = _reflection.GeneratedProtocolMessageType( 

45 "RoutingRule", 

46 (_message.Message,), 

47 { 

48 "DESCRIPTOR": _ROUTINGRULE, 

49 "__module__": "google.api.routing_pb2" 

50 # @@protoc_insertion_point(class_scope:google.api.RoutingRule) 

51 }, 

52) 

53_sym_db.RegisterMessage(RoutingRule) 

54 

55RoutingParameter = _reflection.GeneratedProtocolMessageType( 

56 "RoutingParameter", 

57 (_message.Message,), 

58 { 

59 "DESCRIPTOR": _ROUTINGPARAMETER, 

60 "__module__": "google.api.routing_pb2" 

61 # @@protoc_insertion_point(class_scope:google.api.RoutingParameter) 

62 }, 

63) 

64_sym_db.RegisterMessage(RoutingParameter) 

65 

66if _descriptor._USE_C_DESCRIPTORS == False: 

67 google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(routing) 

68 

69 DESCRIPTOR._options = None 

70 DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\014RoutingProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI" 

71 _ROUTINGRULE._serialized_start = 74 

72 _ROUTINGRULE._serialized_end = 145 

73 _ROUTINGPARAMETER._serialized_start = 147 

74 _ROUTINGPARAMETER._serialized_end = 203 

75# @@protoc_insertion_point(module_scope)