From b2b2dc5c0f35bacc325590b10ffe4cd942302b5e Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Wed, 12 Feb 2020 12:09:37 +0100 Subject: [PATCH] run protoc on address --- pkg/proto/v0/accounts.pb.go | 179 +++++++++++++++++++++++++++--------- 1 file changed, 136 insertions(+), 43 deletions(-) diff --git a/pkg/proto/v0/accounts.pb.go b/pkg/proto/v0/accounts.pb.go index 35f7b88c1..43cd34681 100644 --- a/pkg/proto/v0/accounts.pb.go +++ b/pkg/proto/v0/accounts.pb.go @@ -175,6 +175,7 @@ type StandardClaims struct { PhoneNumber string `protobuf:"bytes,17,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` PhoneNumberVerified bool `protobuf:"varint,18,opt,name=phone_number_verified,json=phoneNumberVerified,proto3" json:"phone_number_verified,omitempty"` UpdatedAt int32 `protobuf:"varint,19,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Address *Address `protobuf:"bytes,20,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -338,6 +339,92 @@ func (m *StandardClaims) GetUpdatedAt() int32 { return 0 } +func (m *StandardClaims) GetAddress() *Address { + if m != nil { + return m.Address + } + return nil +} + +type Address struct { + Formatted string `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + StreetAddress string `protobuf:"bytes,2,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + PostalCode string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` + Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Address) Reset() { *m = Address{} } +func (m *Address) String() string { return proto.CompactTextString(m) } +func (*Address) ProtoMessage() {} +func (*Address) Descriptor() ([]byte, []int) { + return fileDescriptor_e3c84319968a576b, []int{4} +} + +func (m *Address) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Address.Unmarshal(m, b) +} +func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Address.Marshal(b, m, deterministic) +} +func (m *Address) XXX_Merge(src proto.Message) { + xxx_messageInfo_Address.Merge(m, src) +} +func (m *Address) XXX_Size() int { + return xxx_messageInfo_Address.Size(m) +} +func (m *Address) XXX_DiscardUnknown() { + xxx_messageInfo_Address.DiscardUnknown(m) +} + +var xxx_messageInfo_Address proto.InternalMessageInfo + +func (m *Address) GetFormatted() string { + if m != nil { + return m.Formatted + } + return "" +} + +func (m *Address) GetStreetAddress() string { + if m != nil { + return m.StreetAddress + } + return "" +} + +func (m *Address) GetLocality() string { + if m != nil { + return m.Locality + } + return "" +} + +func (m *Address) GetRegion() string { + if m != nil { + return m.Region + } + return "" +} + +func (m *Address) GetPostalCode() string { + if m != nil { + return m.PostalCode + } + return "" +} + +func (m *Address) GetCountry() string { + if m != nil { + return m.Country + } + return "" +} + type Phoenix struct { Theme string `protobuf:"bytes,1,opt,name=theme,proto3" json:"theme,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -349,7 +436,7 @@ func (m *Phoenix) Reset() { *m = Phoenix{} } func (m *Phoenix) String() string { return proto.CompactTextString(m) } func (*Phoenix) ProtoMessage() {} func (*Phoenix) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{4} + return fileDescriptor_e3c84319968a576b, []int{5} } func (m *Phoenix) XXX_Unmarshal(b []byte) error { @@ -388,7 +475,7 @@ func (m *Query) Reset() { *m = Query{} } func (m *Query) String() string { return proto.CompactTextString(m) } func (*Query) ProtoMessage() {} func (*Query) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{5} + return fileDescriptor_e3c84319968a576b, []int{6} } func (m *Query) XXX_Unmarshal(b []byte) error { @@ -427,7 +514,7 @@ func (m *Records) Reset() { *m = Records{} } func (m *Records) String() string { return proto.CompactTextString(m) } func (*Records) ProtoMessage() {} func (*Records) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{6} + return fileDescriptor_e3c84319968a576b, []int{7} } func (m *Records) XXX_Unmarshal(b []byte) error { @@ -460,6 +547,7 @@ func init() { proto.RegisterType((*Payload)(nil), "settings.Payload") proto.RegisterType((*Account)(nil), "settings.Account") proto.RegisterType((*StandardClaims)(nil), "settings.StandardClaims") + proto.RegisterType((*Address)(nil), "settings.Address") proto.RegisterType((*Phoenix)(nil), "settings.Phoenix") proto.RegisterType((*Query)(nil), "settings.Query") proto.RegisterType((*Records)(nil), "settings.Records") @@ -468,44 +556,49 @@ func init() { func init() { proto.RegisterFile("pkg/proto/v0/accounts.proto", fileDescriptor_e3c84319968a576b) } var fileDescriptor_e3c84319968a576b = []byte{ - // 611 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x94, 0xed, 0x6e, 0x12, 0x4f, - 0x14, 0xc6, 0xb3, 0x7f, 0x5e, 0x16, 0x0e, 0x2d, 0x94, 0xe9, 0xdf, 0x66, 0xa4, 0x36, 0xc5, 0x4d, - 0x4c, 0x50, 0x23, 0x28, 0xc6, 0x0b, 0xa8, 0xc6, 0xf4, 0x4b, 0xd3, 0xe8, 0x12, 0xfd, 0xe0, 0x17, - 0xb2, 0xec, 0x1e, 0x60, 0xd2, 0x7d, 0xcb, 0xcc, 0x2c, 0x8a, 0x77, 0xe2, 0x45, 0x79, 0x4f, 0x66, - 0xcf, 0xcc, 0x42, 0x2b, 0x7e, 0x62, 0x9e, 0xe7, 0xf9, 0x9d, 0xd9, 0xc3, 0xc9, 0xcc, 0xc0, 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 0xb6, 0x8c, 0x2f, 0xa1, 0xb3, 0x0c, 0x12, 0x11, 0x6f, 0x4d, - 0x5e, 0xa7, 0x1c, 0x8c, 0x55, 0x01, 0x89, 0x88, 0xa2, 0x18, 0x0d, 0xd0, 0x30, 0x80, 0xb1, 0x08, - 0x18, 0x40, 0x2b, 0x15, 0xe1, 0x1d, 0xa5, 0x4d, 0x4a, 0x77, 0x9a, 0xbd, 0x02, 0x96, 0x4b, 0x5c, - 0xa2, 0x94, 0x18, 0xcd, 0x0b, 0x85, 0x92, 0x28, 0x97, 0xa8, 0xfe, 0x2e, 0xf9, 0x62, 0x03, 0xc6, - 0xc1, 0xcd, 0x65, 0xb6, 0x14, 0x31, 0xf2, 0x16, 0x31, 0x95, 0xa4, 0x44, 0x84, 0xba, 0x90, 0xc8, - 0xdb, 0x36, 0x31, 0xb2, 0x4c, 0xbe, 0xe3, 0x42, 0x09, 0x8d, 0x1c, 0x4c, 0x62, 0x25, 0xfb, 0x1f, - 0x1a, 0x98, 0x04, 0x22, 0xe6, 0x1d, 0xf2, 0x8d, 0x60, 0xcf, 0xa0, 0x4b, 0x8b, 0xf9, 0x06, 0xa5, - 0x58, 0x0a, 0x8c, 0xf8, 0xd1, 0xd0, 0x19, 0xb5, 0xfc, 0x63, 0x72, 0xbf, 0x5a, 0x93, 0x9d, 0x41, - 0x73, 0x85, 0x69, 0x84, 0x92, 0x1f, 0x53, 0xb5, 0x55, 0xec, 0x09, 0xb4, 0x17, 0x42, 0xea, 0x75, - 0x14, 0x68, 0xe4, 0x5d, 0x33, 0xcd, 0x9d, 0x51, 0xce, 0xe2, 0x67, 0x96, 0xa2, 0x48, 0x97, 0x19, - 0xef, 0x99, 0x59, 0x54, 0xba, 0xdc, 0x31, 0xce, 0xc2, 0x20, 0x46, 0x7e, 0x62, 0x76, 0x34, 0x8a, - 0x3d, 0x85, 0xa3, 0x7c, 0x9d, 0xa5, 0x38, 0x4f, 0x8b, 0x64, 0x81, 0x92, 0xf7, 0x29, 0xed, 0x90, - 0x77, 0x4b, 0x16, 0x9b, 0xc2, 0xa3, 0xfb, 0xc8, 0xbe, 0x75, 0x46, 0xad, 0x9f, 0xde, 0x63, 0x77, - 0x7f, 0xe0, 0x02, 0xa0, 0xc8, 0xcb, 0xa6, 0xa2, 0x79, 0xa0, 0xf9, 0xe9, 0xd0, 0x19, 0x35, 0xfc, - 0xb6, 0x75, 0xae, 0xb4, 0x77, 0x09, 0xae, 0x3d, 0xde, 0xe5, 0x9c, 0xf4, 0x1a, 0x13, 0xb4, 0x27, - 0xc9, 0x08, 0xef, 0x31, 0x34, 0x3e, 0x17, 0x28, 0xb7, 0x87, 0x77, 0xcd, 0x7b, 0x07, 0xae, 0xb9, - 0x87, 0x8a, 0xbd, 0x00, 0x57, 0x9a, 0x25, 0x77, 0x86, 0xb5, 0x51, 0x67, 0x7a, 0xb2, 0x3f, 0xd1, - 0x86, 0xf1, 0x2b, 0x60, 0xfa, 0xcb, 0x81, 0xde, 0xcc, 0x86, 0x33, 0x94, 0x1b, 0x11, 0x22, 0x7b, - 0x0e, 0xb5, 0x19, 0x6a, 0x76, 0x50, 0x35, 0x38, 0x70, 0xd8, 0x08, 0x6a, 0xd7, 0xa8, 0x59, 0x6f, - 0x1f, 0x50, 0x7f, 0xff, 0x20, 0xdf, 0x40, 0xfd, 0x46, 0x28, 0xcd, 0xce, 0xc6, 0xe6, 0x35, 0x19, - 0x57, 0xaf, 0xc9, 0xf8, 0x63, 0xf9, 0x9a, 0x0c, 0xfa, 0x7f, 0x57, 0xa8, 0xf7, 0xee, 0xb7, 0x86, - 0x81, 0x9a, 0xf4, 0xf3, 0xf6, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x77, 0xd8, 0xdb, 0xb0, - 0x04, 0x00, 0x00, + // 704 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdd, 0x6e, 0xdb,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