-
Notifications
You must be signed in to change notification settings - Fork 14
/
cards.pb.go
80 lines (67 loc) · 2.43 KB
/
cards.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cards.proto
package cardspb
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Card is a credit or debit card.
type Card struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Card) Reset() { *m = Card{} }
func (m *Card) String() string { return proto.CompactTextString(m) }
func (*Card) ProtoMessage() {}
func (*Card) Descriptor() ([]byte, []int) {
return fileDescriptor_ff70710668610ef7, []int{0}
}
func (m *Card) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Card.Unmarshal(m, b)
}
func (m *Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Card.Marshal(b, m, deterministic)
}
func (m *Card) XXX_Merge(src proto.Message) {
xxx_messageInfo_Card.Merge(m, src)
}
func (m *Card) XXX_Size() int {
return xxx_messageInfo_Card.Size(m)
}
func (m *Card) XXX_DiscardUnknown() {
xxx_messageInfo_Card.DiscardUnknown(m)
}
var xxx_messageInfo_Card proto.InternalMessageInfo
func (m *Card) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() {
proto.RegisterType((*Card)(nil), "cards.v1.Card")
}
func init() {
proto.RegisterFile("cards.proto", fileDescriptor_ff70710668610ef7)
}
var fileDescriptor_ff70710668610ef7 = []byte{
// 81 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0x4e, 0x2c, 0x4a,
0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x80, 0x70, 0xca, 0x0c, 0x95, 0xa4, 0xb8,
0x58, 0x9c, 0x13, 0x8b, 0x52, 0x84, 0x84, 0xb8, 0x58, 0xf2, 0x12, 0x73, 0x53, 0x25, 0x18, 0x15,
0x18, 0x35, 0x38, 0x83, 0xc0, 0x6c, 0x27, 0xce, 0x28, 0x76, 0xb0, 0xba, 0x82, 0xa4, 0x24, 0x36,
0xb0, 0x3e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0x69, 0xc7, 0x22, 0x46, 0x00, 0x00,
0x00,
}