github.com/s7techlab/cckit@v0.10.5/examples/cpaper_extended/schema/payload.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: cpaper_extended/schema/payload.proto 6 7 package schema 8 9 import ( 10 _ "github.com/mwitkow/go-proto-validators" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 14 reflect "reflect" 15 sync "sync" 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 // IssueCommercialPaper event 26 type IssueCommercialPaper struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` 32 PaperNumber string `protobuf:"bytes,2,opt,name=paper_number,json=paperNumber,proto3" json:"paper_number,omitempty"` 33 IssueDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issue_date,json=issueDate,proto3" json:"issue_date,omitempty"` 34 MaturityDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=maturity_date,json=maturityDate,proto3" json:"maturity_date,omitempty"` 35 FaceValue int32 `protobuf:"varint,5,opt,name=face_value,json=faceValue,proto3" json:"face_value,omitempty"` 36 // external_id - another unique constraint 37 ExternalId string `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 38 } 39 40 func (x *IssueCommercialPaper) Reset() { 41 *x = IssueCommercialPaper{} 42 if protoimpl.UnsafeEnabled { 43 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[0] 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 ms.StoreMessageInfo(mi) 46 } 47 } 48 49 func (x *IssueCommercialPaper) String() string { 50 return protoimpl.X.MessageStringOf(x) 51 } 52 53 func (*IssueCommercialPaper) ProtoMessage() {} 54 55 func (x *IssueCommercialPaper) ProtoReflect() protoreflect.Message { 56 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[0] 57 if protoimpl.UnsafeEnabled && x != nil { 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 if ms.LoadMessageInfo() == nil { 60 ms.StoreMessageInfo(mi) 61 } 62 return ms 63 } 64 return mi.MessageOf(x) 65 } 66 67 // Deprecated: Use IssueCommercialPaper.ProtoReflect.Descriptor instead. 68 func (*IssueCommercialPaper) Descriptor() ([]byte, []int) { 69 return file_cpaper_extended_schema_payload_proto_rawDescGZIP(), []int{0} 70 } 71 72 func (x *IssueCommercialPaper) GetIssuer() string { 73 if x != nil { 74 return x.Issuer 75 } 76 return "" 77 } 78 79 func (x *IssueCommercialPaper) GetPaperNumber() string { 80 if x != nil { 81 return x.PaperNumber 82 } 83 return "" 84 } 85 86 func (x *IssueCommercialPaper) GetIssueDate() *timestamppb.Timestamp { 87 if x != nil { 88 return x.IssueDate 89 } 90 return nil 91 } 92 93 func (x *IssueCommercialPaper) GetMaturityDate() *timestamppb.Timestamp { 94 if x != nil { 95 return x.MaturityDate 96 } 97 return nil 98 } 99 100 func (x *IssueCommercialPaper) GetFaceValue() int32 { 101 if x != nil { 102 return x.FaceValue 103 } 104 return 0 105 } 106 107 func (x *IssueCommercialPaper) GetExternalId() string { 108 if x != nil { 109 return x.ExternalId 110 } 111 return "" 112 } 113 114 // BuyCommercialPaper event 115 type BuyCommercialPaper struct { 116 state protoimpl.MessageState 117 sizeCache protoimpl.SizeCache 118 unknownFields protoimpl.UnknownFields 119 120 Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` 121 PaperNumber string `protobuf:"bytes,2,opt,name=paper_number,json=paperNumber,proto3" json:"paper_number,omitempty"` 122 CurrentOwner string `protobuf:"bytes,3,opt,name=current_owner,json=currentOwner,proto3" json:"current_owner,omitempty"` 123 NewOwner string `protobuf:"bytes,4,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` 124 Price int32 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` 125 PurchaseDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=purchase_date,json=purchaseDate,proto3" json:"purchase_date,omitempty"` 126 } 127 128 func (x *BuyCommercialPaper) Reset() { 129 *x = BuyCommercialPaper{} 130 if protoimpl.UnsafeEnabled { 131 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[1] 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 ms.StoreMessageInfo(mi) 134 } 135 } 136 137 func (x *BuyCommercialPaper) String() string { 138 return protoimpl.X.MessageStringOf(x) 139 } 140 141 func (*BuyCommercialPaper) ProtoMessage() {} 142 143 func (x *BuyCommercialPaper) ProtoReflect() protoreflect.Message { 144 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[1] 145 if protoimpl.UnsafeEnabled && x != nil { 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 if ms.LoadMessageInfo() == nil { 148 ms.StoreMessageInfo(mi) 149 } 150 return ms 151 } 152 return mi.MessageOf(x) 153 } 154 155 // Deprecated: Use BuyCommercialPaper.ProtoReflect.Descriptor instead. 156 func (*BuyCommercialPaper) Descriptor() ([]byte, []int) { 157 return file_cpaper_extended_schema_payload_proto_rawDescGZIP(), []int{1} 158 } 159 160 func (x *BuyCommercialPaper) GetIssuer() string { 161 if x != nil { 162 return x.Issuer 163 } 164 return "" 165 } 166 167 func (x *BuyCommercialPaper) GetPaperNumber() string { 168 if x != nil { 169 return x.PaperNumber 170 } 171 return "" 172 } 173 174 func (x *BuyCommercialPaper) GetCurrentOwner() string { 175 if x != nil { 176 return x.CurrentOwner 177 } 178 return "" 179 } 180 181 func (x *BuyCommercialPaper) GetNewOwner() string { 182 if x != nil { 183 return x.NewOwner 184 } 185 return "" 186 } 187 188 func (x *BuyCommercialPaper) GetPrice() int32 { 189 if x != nil { 190 return x.Price 191 } 192 return 0 193 } 194 195 func (x *BuyCommercialPaper) GetPurchaseDate() *timestamppb.Timestamp { 196 if x != nil { 197 return x.PurchaseDate 198 } 199 return nil 200 } 201 202 // RedeemCommercialPaper event 203 type RedeemCommercialPaper struct { 204 state protoimpl.MessageState 205 sizeCache protoimpl.SizeCache 206 unknownFields protoimpl.UnknownFields 207 208 Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` 209 PaperNumber string `protobuf:"bytes,2,opt,name=paper_number,json=paperNumber,proto3" json:"paper_number,omitempty"` 210 RedeemingOwner string `protobuf:"bytes,3,opt,name=redeeming_owner,json=redeemingOwner,proto3" json:"redeeming_owner,omitempty"` 211 RedeemDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=redeem_date,json=redeemDate,proto3" json:"redeem_date,omitempty"` 212 } 213 214 func (x *RedeemCommercialPaper) Reset() { 215 *x = RedeemCommercialPaper{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[2] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221 } 222 223 func (x *RedeemCommercialPaper) String() string { 224 return protoimpl.X.MessageStringOf(x) 225 } 226 227 func (*RedeemCommercialPaper) ProtoMessage() {} 228 229 func (x *RedeemCommercialPaper) ProtoReflect() protoreflect.Message { 230 mi := &file_cpaper_extended_schema_payload_proto_msgTypes[2] 231 if protoimpl.UnsafeEnabled && x != nil { 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 if ms.LoadMessageInfo() == nil { 234 ms.StoreMessageInfo(mi) 235 } 236 return ms 237 } 238 return mi.MessageOf(x) 239 } 240 241 // Deprecated: Use RedeemCommercialPaper.ProtoReflect.Descriptor instead. 242 func (*RedeemCommercialPaper) Descriptor() ([]byte, []int) { 243 return file_cpaper_extended_schema_payload_proto_rawDescGZIP(), []int{2} 244 } 245 246 func (x *RedeemCommercialPaper) GetIssuer() string { 247 if x != nil { 248 return x.Issuer 249 } 250 return "" 251 } 252 253 func (x *RedeemCommercialPaper) GetPaperNumber() string { 254 if x != nil { 255 return x.PaperNumber 256 } 257 return "" 258 } 259 260 func (x *RedeemCommercialPaper) GetRedeemingOwner() string { 261 if x != nil { 262 return x.RedeemingOwner 263 } 264 return "" 265 } 266 267 func (x *RedeemCommercialPaper) GetRedeemDate() *timestamppb.Timestamp { 268 if x != nil { 269 return x.RedeemDate 270 } 271 return nil 272 } 273 274 var File_cpaper_extended_schema_payload_proto protoreflect.FileDescriptor 275 276 var file_cpaper_extended_schema_payload_proto_rawDesc = []byte{ 277 0x0a, 0x24, 0x63, 0x70, 0x61, 0x70, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 278 0x64, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 279 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 280 0x2e, 0x63, 0x70, 0x61, 0x70, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 281 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 282 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 283 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 284 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, 285 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 286 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x02, 0x0a, 0x14, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 287 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x70, 0x65, 0x72, 0x12, 0x1e, 288 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 289 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x29, 290 0x0a, 0x0c, 0x70, 0x61, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 291 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0b, 0x70, 0x61, 292 0x70, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0a, 0x69, 0x73, 0x73, 293 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 294 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 295 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 296 0x01, 0x52, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0d, 297 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 298 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 299 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 300 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 301 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x0a, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x76, 0x61, 302 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x10, 303 0x00, 0x52, 0x09, 0x66, 0x61, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0b, 304 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 305 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 306 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x43, 0x6f, 0x6d, 307 0x6d, 0x65, 0x72, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x70, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x06, 308 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 309 0x1f, 0x02, 0x58, 0x01, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0c, 310 0x70, 0x61, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 311 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x70, 0x65, 312 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 313 0x6e, 0x74, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 314 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4f, 315 0x77, 0x6e, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 316 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 317 0x08, 0x6e, 0x65, 0x77, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x05, 0x70, 0x72, 0x69, 318 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x10, 0x00, 319 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x70, 0x75, 0x72, 0x63, 0x68, 320 0x61, 0x73, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 321 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 322 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 323 0x20, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x65, 324 0x22, 0xd8, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 325 0x72, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x61, 0x70, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x06, 0x69, 0x73, 326 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 327 0x58, 0x01, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0c, 0x70, 0x61, 328 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 329 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x70, 0x65, 0x72, 0x4e, 330 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x0f, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x69, 331 0x6e, 0x67, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 332 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x69, 0x6e, 333 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0b, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 334 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 335 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 336 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 337 0x0a, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x65, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 338 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x37, 0x74, 0x65, 0x63, 0x68, 339 0x6c, 0x61, 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69, 0x74, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 340 0x65, 0x73, 0x2f, 0x63, 0x70, 0x61, 0x70, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 341 0x65, 0x64, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 342 0x33, 343 } 344 345 var ( 346 file_cpaper_extended_schema_payload_proto_rawDescOnce sync.Once 347 file_cpaper_extended_schema_payload_proto_rawDescData = file_cpaper_extended_schema_payload_proto_rawDesc 348 ) 349 350 func file_cpaper_extended_schema_payload_proto_rawDescGZIP() []byte { 351 file_cpaper_extended_schema_payload_proto_rawDescOnce.Do(func() { 352 file_cpaper_extended_schema_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_cpaper_extended_schema_payload_proto_rawDescData) 353 }) 354 return file_cpaper_extended_schema_payload_proto_rawDescData 355 } 356 357 var file_cpaper_extended_schema_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 358 var file_cpaper_extended_schema_payload_proto_goTypes = []interface{}{ 359 (*IssueCommercialPaper)(nil), // 0: examples.cpaper_extended.schema.IssueCommercialPaper 360 (*BuyCommercialPaper)(nil), // 1: examples.cpaper_extended.schema.BuyCommercialPaper 361 (*RedeemCommercialPaper)(nil), // 2: examples.cpaper_extended.schema.RedeemCommercialPaper 362 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 363 } 364 var file_cpaper_extended_schema_payload_proto_depIdxs = []int32{ 365 3, // 0: examples.cpaper_extended.schema.IssueCommercialPaper.issue_date:type_name -> google.protobuf.Timestamp 366 3, // 1: examples.cpaper_extended.schema.IssueCommercialPaper.maturity_date:type_name -> google.protobuf.Timestamp 367 3, // 2: examples.cpaper_extended.schema.BuyCommercialPaper.purchase_date:type_name -> google.protobuf.Timestamp 368 3, // 3: examples.cpaper_extended.schema.RedeemCommercialPaper.redeem_date:type_name -> google.protobuf.Timestamp 369 4, // [4:4] is the sub-list for method output_type 370 4, // [4:4] is the sub-list for method input_type 371 4, // [4:4] is the sub-list for extension type_name 372 4, // [4:4] is the sub-list for extension extendee 373 0, // [0:4] is the sub-list for field type_name 374 } 375 376 func init() { file_cpaper_extended_schema_payload_proto_init() } 377 func file_cpaper_extended_schema_payload_proto_init() { 378 if File_cpaper_extended_schema_payload_proto != nil { 379 return 380 } 381 if !protoimpl.UnsafeEnabled { 382 file_cpaper_extended_schema_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 383 switch v := v.(*IssueCommercialPaper); i { 384 case 0: 385 return &v.state 386 case 1: 387 return &v.sizeCache 388 case 2: 389 return &v.unknownFields 390 default: 391 return nil 392 } 393 } 394 file_cpaper_extended_schema_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 395 switch v := v.(*BuyCommercialPaper); i { 396 case 0: 397 return &v.state 398 case 1: 399 return &v.sizeCache 400 case 2: 401 return &v.unknownFields 402 default: 403 return nil 404 } 405 } 406 file_cpaper_extended_schema_payload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 407 switch v := v.(*RedeemCommercialPaper); i { 408 case 0: 409 return &v.state 410 case 1: 411 return &v.sizeCache 412 case 2: 413 return &v.unknownFields 414 default: 415 return nil 416 } 417 } 418 } 419 type x struct{} 420 out := protoimpl.TypeBuilder{ 421 File: protoimpl.DescBuilder{ 422 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 423 RawDescriptor: file_cpaper_extended_schema_payload_proto_rawDesc, 424 NumEnums: 0, 425 NumMessages: 3, 426 NumExtensions: 0, 427 NumServices: 0, 428 }, 429 GoTypes: file_cpaper_extended_schema_payload_proto_goTypes, 430 DependencyIndexes: file_cpaper_extended_schema_payload_proto_depIdxs, 431 MessageInfos: file_cpaper_extended_schema_payload_proto_msgTypes, 432 }.Build() 433 File_cpaper_extended_schema_payload_proto = out.File 434 file_cpaper_extended_schema_payload_proto_rawDesc = nil 435 file_cpaper_extended_schema_payload_proto_goTypes = nil 436 file_cpaper_extended_schema_payload_proto_depIdxs = nil 437 }