Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/google/logging/type/http_request_pb2.py: 71%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

17 statements  

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

2 

3# Copyright 2025 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/logging/type/http_request.proto 

19# Protobuf Python Version: 4.25.3 

20"""Generated protocol buffer code.""" 

21from google.protobuf import descriptor as _descriptor 

22from google.protobuf import descriptor_pool as _descriptor_pool 

23from google.protobuf import symbol_database as _symbol_database 

24from google.protobuf.internal import builder as _builder 

25 

26# @@protoc_insertion_point(imports) 

27 

28_sym_db = _symbol_database.Default() 

29 

30 

31from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 

32 

33DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

34 b'\n&google/logging/type/http_request.proto\x12\x13google.logging.type\x1a\x1egoogle/protobuf/duration.proto"\xef\x02\n\x0bHttpRequest\x12\x16\n\x0erequest_method\x18\x01 \x01(\t\x12\x13\n\x0brequest_url\x18\x02 \x01(\t\x12\x14\n\x0crequest_size\x18\x03 \x01(\x03\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x15\n\rresponse_size\x18\x05 \x01(\x03\x12\x12\n\nuser_agent\x18\x06 \x01(\t\x12\x11\n\tremote_ip\x18\x07 \x01(\t\x12\x11\n\tserver_ip\x18\r \x01(\t\x12\x0f\n\x07referer\x18\x08 \x01(\t\x12*\n\x07latency\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x14\n\x0c\x63\x61\x63he_lookup\x18\x0b \x01(\x08\x12\x11\n\tcache_hit\x18\t \x01(\x08\x12*\n"cache_validated_with_origin_server\x18\n \x01(\x08\x12\x18\n\x10\x63\x61\x63he_fill_bytes\x18\x0c \x01(\x03\x12\x10\n\x08protocol\x18\x0f \x01(\tB\xbe\x01\n\x17\x63om.google.logging.typeB\x10HttpRequestProtoP\x01Z8google.golang.org/genproto/googleapis/logging/type;ltype\xaa\x02\x19Google.Cloud.Logging.Type\xca\x02\x19Google\\Cloud\\Logging\\Type\xea\x02\x1cGoogle::Cloud::Logging::Typeb\x06proto3' 

35) 

36 

37_globals = globals() 

38_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

39_builder.BuildTopDescriptorsAndMessages( 

40 DESCRIPTOR, "google.logging.type.http_request_pb2", _globals 

41) 

42if _descriptor._USE_C_DESCRIPTORS == False: 

43 _globals["DESCRIPTOR"]._options = None 

44 _globals[ 

45 "DESCRIPTOR" 

46 ]._serialized_options = b"\n\027com.google.logging.typeB\020HttpRequestProtoP\001Z8google.golang.org/genproto/googleapis/logging/type;ltype\252\002\031Google.Cloud.Logging.Type\312\002\031Google\\Cloud\\Logging\\Type\352\002\034Google::Cloud::Logging::Type" 

47 _globals["_HTTPREQUEST"]._serialized_start = 96 

48 _globals["_HTTPREQUEST"]._serialized_end = 463 

49# @@protoc_insertion_point(module_scope)