github.com/letsencrypt/boulder@v0.20251208.0/email/proto/exporter.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.36.5 4 // protoc v3.20.1 5 // source: exporter.proto 6 7 package proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 unsafe "unsafe" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type SendContactsRequest struct { 26 state protoimpl.MessageState `protogen:"open.v1"` 27 Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` 28 unknownFields protoimpl.UnknownFields 29 sizeCache protoimpl.SizeCache 30 } 31 32 func (x *SendContactsRequest) Reset() { 33 *x = SendContactsRequest{} 34 mi := &file_exporter_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 39 func (x *SendContactsRequest) String() string { 40 return protoimpl.X.MessageStringOf(x) 41 } 42 43 func (*SendContactsRequest) ProtoMessage() {} 44 45 func (x *SendContactsRequest) ProtoReflect() protoreflect.Message { 46 mi := &file_exporter_proto_msgTypes[0] 47 if x != nil { 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 if ms.LoadMessageInfo() == nil { 50 ms.StoreMessageInfo(mi) 51 } 52 return ms 53 } 54 return mi.MessageOf(x) 55 } 56 57 // Deprecated: Use SendContactsRequest.ProtoReflect.Descriptor instead. 58 func (*SendContactsRequest) Descriptor() ([]byte, []int) { 59 return file_exporter_proto_rawDescGZIP(), []int{0} 60 } 61 62 func (x *SendContactsRequest) GetEmails() []string { 63 if x != nil { 64 return x.Emails 65 } 66 return nil 67 } 68 69 type SendCaseRequest struct { 70 state protoimpl.MessageState `protogen:"open.v1"` 71 Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` 72 Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` 73 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 74 ContactEmail string `protobuf:"bytes,4,opt,name=contactEmail,proto3" json:"contactEmail,omitempty"` 75 Organization string `protobuf:"bytes,5,opt,name=organization,proto3" json:"organization,omitempty"` 76 AccountId string `protobuf:"bytes,6,opt,name=accountId,proto3" json:"accountId,omitempty"` 77 RateLimitName string `protobuf:"bytes,7,opt,name=rateLimitName,proto3" json:"rateLimitName,omitempty"` 78 RateLimitTier string `protobuf:"bytes,8,opt,name=rateLimitTier,proto3" json:"rateLimitTier,omitempty"` 79 UseCase string `protobuf:"bytes,9,opt,name=useCase,proto3" json:"useCase,omitempty"` 80 unknownFields protoimpl.UnknownFields 81 sizeCache protoimpl.SizeCache 82 } 83 84 func (x *SendCaseRequest) Reset() { 85 *x = SendCaseRequest{} 86 mi := &file_exporter_proto_msgTypes[1] 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 ms.StoreMessageInfo(mi) 89 } 90 91 func (x *SendCaseRequest) String() string { 92 return protoimpl.X.MessageStringOf(x) 93 } 94 95 func (*SendCaseRequest) ProtoMessage() {} 96 97 func (x *SendCaseRequest) ProtoReflect() protoreflect.Message { 98 mi := &file_exporter_proto_msgTypes[1] 99 if x != nil { 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 101 if ms.LoadMessageInfo() == nil { 102 ms.StoreMessageInfo(mi) 103 } 104 return ms 105 } 106 return mi.MessageOf(x) 107 } 108 109 // Deprecated: Use SendCaseRequest.ProtoReflect.Descriptor instead. 110 func (*SendCaseRequest) Descriptor() ([]byte, []int) { 111 return file_exporter_proto_rawDescGZIP(), []int{1} 112 } 113 114 func (x *SendCaseRequest) GetOrigin() string { 115 if x != nil { 116 return x.Origin 117 } 118 return "" 119 } 120 121 func (x *SendCaseRequest) GetSubject() string { 122 if x != nil { 123 return x.Subject 124 } 125 return "" 126 } 127 128 func (x *SendCaseRequest) GetDescription() string { 129 if x != nil { 130 return x.Description 131 } 132 return "" 133 } 134 135 func (x *SendCaseRequest) GetContactEmail() string { 136 if x != nil { 137 return x.ContactEmail 138 } 139 return "" 140 } 141 142 func (x *SendCaseRequest) GetOrganization() string { 143 if x != nil { 144 return x.Organization 145 } 146 return "" 147 } 148 149 func (x *SendCaseRequest) GetAccountId() string { 150 if x != nil { 151 return x.AccountId 152 } 153 return "" 154 } 155 156 func (x *SendCaseRequest) GetRateLimitName() string { 157 if x != nil { 158 return x.RateLimitName 159 } 160 return "" 161 } 162 163 func (x *SendCaseRequest) GetRateLimitTier() string { 164 if x != nil { 165 return x.RateLimitTier 166 } 167 return "" 168 } 169 170 func (x *SendCaseRequest) GetUseCase() string { 171 if x != nil { 172 return x.UseCase 173 } 174 return "" 175 } 176 177 var File_exporter_proto protoreflect.FileDescriptor 178 179 var file_exporter_proto_rawDesc = string([]byte{ 180 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 181 0x12, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 182 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 183 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x74, 184 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 185 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6d, 0x61, 186 0x69, 0x6c, 0x73, 0x22, 0xb1, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x61, 0x73, 0x65, 187 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 188 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 189 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 190 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 191 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 192 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x63, 193 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 194 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 195 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 196 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 197 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 198 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 199 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x61, 200 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 201 0x6d, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x61, 0x74, 0x65, 0x4c, 202 0x69, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 203 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 204 0x07, 0x75, 0x73, 0x65, 0x43, 0x61, 0x73, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 205 0x75, 0x73, 0x65, 0x43, 0x61, 0x73, 0x65, 0x32, 0x8a, 0x01, 0x0a, 0x08, 0x45, 0x78, 0x70, 0x6f, 206 0x72, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x74, 207 0x61, 0x63, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 208 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 209 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 210 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x64, 211 0x43, 0x61, 0x73, 0x65, 0x12, 0x16, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x53, 0x65, 0x6e, 212 0x64, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 213 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 214 0x6d, 0x70, 0x74, 0x79, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 215 0x6f, 0x6d, 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 216 0x6f, 0x75, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 217 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 218 }) 219 220 var ( 221 file_exporter_proto_rawDescOnce sync.Once 222 file_exporter_proto_rawDescData []byte 223 ) 224 225 func file_exporter_proto_rawDescGZIP() []byte { 226 file_exporter_proto_rawDescOnce.Do(func() { 227 file_exporter_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_exporter_proto_rawDesc), len(file_exporter_proto_rawDesc))) 228 }) 229 return file_exporter_proto_rawDescData 230 } 231 232 var file_exporter_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 233 var file_exporter_proto_goTypes = []any{ 234 (*SendContactsRequest)(nil), // 0: email.SendContactsRequest 235 (*SendCaseRequest)(nil), // 1: email.SendCaseRequest 236 (*emptypb.Empty)(nil), // 2: google.protobuf.Empty 237 } 238 var file_exporter_proto_depIdxs = []int32{ 239 0, // 0: email.Exporter.SendContacts:input_type -> email.SendContactsRequest 240 1, // 1: email.Exporter.SendCase:input_type -> email.SendCaseRequest 241 2, // 2: email.Exporter.SendContacts:output_type -> google.protobuf.Empty 242 2, // 3: email.Exporter.SendCase:output_type -> google.protobuf.Empty 243 2, // [2:4] is the sub-list for method output_type 244 0, // [0:2] is the sub-list for method input_type 245 0, // [0:0] is the sub-list for extension type_name 246 0, // [0:0] is the sub-list for extension extendee 247 0, // [0:0] is the sub-list for field type_name 248 } 249 250 func init() { file_exporter_proto_init() } 251 func file_exporter_proto_init() { 252 if File_exporter_proto != nil { 253 return 254 } 255 type x struct{} 256 out := protoimpl.TypeBuilder{ 257 File: protoimpl.DescBuilder{ 258 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 259 RawDescriptor: unsafe.Slice(unsafe.StringData(file_exporter_proto_rawDesc), len(file_exporter_proto_rawDesc)), 260 NumEnums: 0, 261 NumMessages: 2, 262 NumExtensions: 0, 263 NumServices: 1, 264 }, 265 GoTypes: file_exporter_proto_goTypes, 266 DependencyIndexes: file_exporter_proto_depIdxs, 267 MessageInfos: file_exporter_proto_msgTypes, 268 }.Build() 269 File_exporter_proto = out.File 270 file_exporter_proto_goTypes = nil 271 file_exporter_proto_depIdxs = nil 272 }