go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/quota/quotapb/request_entry.pb.go (about) 1 // Copyright 2022 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/server/quota/quotapb/request_entry.proto 10 11 package quotapb 12 13 import ( 14 _ "github.com/envoyproxy/protoc-gen-validate/validate" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // An RequestDedupEntry represents the data used for a unique request 29 // deduplication entry key. 30 type RequestDedupKey struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // The luci auth Identity which issued this request. 36 Ident string `protobuf:"bytes,1,opt,name=ident,proto3" json:"ident,omitempty"` 37 // The user-supplied request id. 38 RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 39 } 40 41 func (x *RequestDedupKey) Reset() { 42 *x = RequestDedupKey{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *RequestDedupKey) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*RequestDedupKey) ProtoMessage() {} 55 56 func (x *RequestDedupKey) ProtoReflect() protoreflect.Message { 57 mi := &file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use RequestDedupKey.ProtoReflect.Descriptor instead. 69 func (*RequestDedupKey) Descriptor() ([]byte, []int) { 70 return file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *RequestDedupKey) GetIdent() string { 74 if x != nil { 75 return x.Ident 76 } 77 return "" 78 } 79 80 func (x *RequestDedupKey) GetRequestId() string { 81 if x != nil { 82 return x.RequestId 83 } 84 return "" 85 } 86 87 var File_go_chromium_org_luci_server_quota_quotapb_request_entry_proto protoreflect.FileDescriptor 88 89 var file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDesc = []byte{ 90 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 91 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x71, 0x75, 92 0x6f, 0x74, 0x61, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 93 0x65, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 94 0x29, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 95 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x71, 0x75, 0x6f, 96 0x74, 0x61, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 97 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 98 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 99 0x64, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x18, 100 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x72, 0x04, 0xba, 0x01, 0x01, 0x7e, 101 0x52, 0x05, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 102 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xfa, 0x42, 0x06, 103 0x72, 0x04, 0xba, 0x01, 0x01, 0x7e, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 104 0x64, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 105 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 106 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x62, 0x06, 107 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 108 } 109 110 var ( 111 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescOnce sync.Once 112 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescData = file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDesc 113 ) 114 115 func file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescGZIP() []byte { 116 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescOnce.Do(func() { 117 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescData) 118 }) 119 return file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDescData 120 } 121 122 var file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 123 var file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_goTypes = []interface{}{ 124 (*RequestDedupKey)(nil), // 0: go.chromium.org.luci.server.quota.quotapb.RequestDedupKey 125 } 126 var file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_depIdxs = []int32{ 127 0, // [0:0] is the sub-list for method output_type 128 0, // [0:0] is the sub-list for method input_type 129 0, // [0:0] is the sub-list for extension type_name 130 0, // [0:0] is the sub-list for extension extendee 131 0, // [0:0] is the sub-list for field type_name 132 } 133 134 func init() { file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_init() } 135 func file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_init() { 136 if File_go_chromium_org_luci_server_quota_quotapb_request_entry_proto != nil { 137 return 138 } 139 if !protoimpl.UnsafeEnabled { 140 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 141 switch v := v.(*RequestDedupKey); i { 142 case 0: 143 return &v.state 144 case 1: 145 return &v.sizeCache 146 case 2: 147 return &v.unknownFields 148 default: 149 return nil 150 } 151 } 152 } 153 type x struct{} 154 out := protoimpl.TypeBuilder{ 155 File: protoimpl.DescBuilder{ 156 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 157 RawDescriptor: file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDesc, 158 NumEnums: 0, 159 NumMessages: 1, 160 NumExtensions: 0, 161 NumServices: 0, 162 }, 163 GoTypes: file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_goTypes, 164 DependencyIndexes: file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_depIdxs, 165 MessageInfos: file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_msgTypes, 166 }.Build() 167 File_go_chromium_org_luci_server_quota_quotapb_request_entry_proto = out.File 168 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_rawDesc = nil 169 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_goTypes = nil 170 file_go_chromium_org_luci_server_quota_quotapb_request_entry_proto_depIdxs = nil 171 }