github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/graveler/settings/test_settings.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc (unknown) 5 // source: graveler/settings/test_settings.proto 6 7 package settings 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type ExampleSettings struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 ExampleInt int32 `protobuf:"varint,1,opt,name=example_int,json=exampleInt,proto3" json:"example_int,omitempty"` 29 ExampleStr string `protobuf:"bytes,2,opt,name=example_str,json=exampleStr,proto3" json:"example_str,omitempty"` 30 ExampleMap map[string]int32 `protobuf:"bytes,3,rep,name=example_map,json=exampleMap,proto3" json:"example_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 31 } 32 33 func (x *ExampleSettings) Reset() { 34 *x = ExampleSettings{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_graveler_settings_test_settings_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *ExampleSettings) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*ExampleSettings) ProtoMessage() {} 47 48 func (x *ExampleSettings) ProtoReflect() protoreflect.Message { 49 mi := &file_graveler_settings_test_settings_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use ExampleSettings.ProtoReflect.Descriptor instead. 61 func (*ExampleSettings) Descriptor() ([]byte, []int) { 62 return file_graveler_settings_test_settings_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *ExampleSettings) GetExampleInt() int32 { 66 if x != nil { 67 return x.ExampleInt 68 } 69 return 0 70 } 71 72 func (x *ExampleSettings) GetExampleStr() string { 73 if x != nil { 74 return x.ExampleStr 75 } 76 return "" 77 } 78 79 func (x *ExampleSettings) GetExampleMap() map[string]int32 { 80 if x != nil { 81 return x.ExampleMap 82 } 83 return nil 84 } 85 86 var File_graveler_settings_test_settings_proto protoreflect.FileDescriptor 87 88 var file_graveler_settings_test_settings_proto_rawDesc = []byte{ 89 0x0a, 0x25, 0x67, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x72, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 90 0x6e, 0x67, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 91 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x61, 0x6d, 92 0x70, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 93 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 94 0x52, 0x0a, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 95 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 96 0x09, 0x52, 0x0a, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x12, 0x41, 0x0a, 97 0x0b, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 98 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 99 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x45, 100 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x70, 101 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 102 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 103 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 104 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 105 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 106 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2f, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2f, 0x67, 107 0x72, 0x61, 0x76, 0x65, 0x6c, 0x65, 0x72, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 108 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 109 } 110 111 var ( 112 file_graveler_settings_test_settings_proto_rawDescOnce sync.Once 113 file_graveler_settings_test_settings_proto_rawDescData = file_graveler_settings_test_settings_proto_rawDesc 114 ) 115 116 func file_graveler_settings_test_settings_proto_rawDescGZIP() []byte { 117 file_graveler_settings_test_settings_proto_rawDescOnce.Do(func() { 118 file_graveler_settings_test_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_graveler_settings_test_settings_proto_rawDescData) 119 }) 120 return file_graveler_settings_test_settings_proto_rawDescData 121 } 122 123 var file_graveler_settings_test_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 124 var file_graveler_settings_test_settings_proto_goTypes = []interface{}{ 125 (*ExampleSettings)(nil), // 0: ExampleSettings 126 nil, // 1: ExampleSettings.ExampleMapEntry 127 } 128 var file_graveler_settings_test_settings_proto_depIdxs = []int32{ 129 1, // 0: ExampleSettings.example_map:type_name -> ExampleSettings.ExampleMapEntry 130 1, // [1:1] is the sub-list for method output_type 131 1, // [1:1] is the sub-list for method input_type 132 1, // [1:1] is the sub-list for extension type_name 133 1, // [1:1] is the sub-list for extension extendee 134 0, // [0:1] is the sub-list for field type_name 135 } 136 137 func init() { file_graveler_settings_test_settings_proto_init() } 138 func file_graveler_settings_test_settings_proto_init() { 139 if File_graveler_settings_test_settings_proto != nil { 140 return 141 } 142 if !protoimpl.UnsafeEnabled { 143 file_graveler_settings_test_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 144 switch v := v.(*ExampleSettings); i { 145 case 0: 146 return &v.state 147 case 1: 148 return &v.sizeCache 149 case 2: 150 return &v.unknownFields 151 default: 152 return nil 153 } 154 } 155 } 156 type x struct{} 157 out := protoimpl.TypeBuilder{ 158 File: protoimpl.DescBuilder{ 159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 160 RawDescriptor: file_graveler_settings_test_settings_proto_rawDesc, 161 NumEnums: 0, 162 NumMessages: 2, 163 NumExtensions: 0, 164 NumServices: 0, 165 }, 166 GoTypes: file_graveler_settings_test_settings_proto_goTypes, 167 DependencyIndexes: file_graveler_settings_test_settings_proto_depIdxs, 168 MessageInfos: file_graveler_settings_test_settings_proto_msgTypes, 169 }.Build() 170 File_graveler_settings_test_settings_proto = out.File 171 file_graveler_settings_test_settings_proto_rawDesc = nil 172 file_graveler_settings_test_settings_proto_goTypes = nil 173 file_graveler_settings_test_settings_proto_depIdxs = nil 174 }