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

28 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-06 06:03 +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/field_behavior.proto 

19"""Generated protocol buffer code.""" 

20from google.protobuf.internal import enum_type_wrapper 

21from google.protobuf import descriptor as _descriptor 

22from google.protobuf import descriptor_pool as _descriptor_pool 

23from google.protobuf import message as _message 

24from google.protobuf import reflection as _reflection 

25from google.protobuf import symbol_database as _symbol_database 

26 

27# @@protoc_insertion_point(imports) 

28 

29_sym_db = _symbol_database.Default() 

30 

31 

32from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 

33 

34 

35DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

36 b"\n\x1fgoogle/api/field_behavior.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto*\xa6\x01\n\rFieldBehavior\x12\x1e\n\x1a\x46IELD_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08OPTIONAL\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x0f\n\x0bOUTPUT_ONLY\x10\x03\x12\x0e\n\nINPUT_ONLY\x10\x04\x12\r\n\tIMMUTABLE\x10\x05\x12\x12\n\x0eUNORDERED_LIST\x10\x06\x12\x15\n\x11NON_EMPTY_DEFAULT\x10\x07:Q\n\x0e\x66ield_behavior\x12\x1d.google.protobuf.FieldOptions\x18\x9c\x08 \x03(\x0e\x32\x19.google.api.FieldBehaviorBp\n\x0e\x63om.google.apiB\x12\x46ieldBehaviorProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3" 

37) 

38 

39_FIELDBEHAVIOR = DESCRIPTOR.enum_types_by_name["FieldBehavior"] 

40FieldBehavior = enum_type_wrapper.EnumTypeWrapper(_FIELDBEHAVIOR) 

41FIELD_BEHAVIOR_UNSPECIFIED = 0 

42OPTIONAL = 1 

43REQUIRED = 2 

44OUTPUT_ONLY = 3 

45INPUT_ONLY = 4 

46IMMUTABLE = 5 

47UNORDERED_LIST = 6 

48NON_EMPTY_DEFAULT = 7 

49 

50FIELD_BEHAVIOR_FIELD_NUMBER = 1052 

51field_behavior = DESCRIPTOR.extensions_by_name["field_behavior"] 

52 

53if _descriptor._USE_C_DESCRIPTORS == False: 

54 google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension( 

55 field_behavior 

56 ) 

57 

58 DESCRIPTOR._options = None 

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

60 _FIELDBEHAVIOR._serialized_start = 82 

61 _FIELDBEHAVIOR._serialized_end = 248 

62# @@protoc_insertion_point(module_scope)