-
Notifications
You must be signed in to change notification settings - Fork 38
/
pubsub.pb.go
64 lines (53 loc) · 2.23 KB
/
pubsub.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: pubsub.proto
package Spotify
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type Subscription struct {
Uri *string `protobuf:"bytes,1,opt,name=uri" json:"uri,omitempty"`
Expiry *int32 `protobuf:"varint,2,opt,name=expiry" json:"expiry,omitempty"`
StatusCode *int32 `protobuf:"varint,3,opt,name=status_code,json=statusCode" json:"status_code,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Subscription) Reset() { *m = Subscription{} }
func (m *Subscription) String() string { return proto.CompactTextString(m) }
func (*Subscription) ProtoMessage() {}
func (*Subscription) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *Subscription) GetUri() string {
if m != nil && m.Uri != nil {
return *m.Uri
}
return ""
}
func (m *Subscription) GetExpiry() int32 {
if m != nil && m.Expiry != nil {
return *m.Expiry
}
return 0
}
func (m *Subscription) GetStatusCode() int32 {
if m != nil && m.StatusCode != nil {
return *m.StatusCode
}
return 0
}
func init() {
proto.RegisterType((*Subscription)(nil), "Spotify.Subscription")
}
func init() { proto.RegisterFile("pubsub.proto", fileDescriptor14) }
var fileDescriptor14 = []byte{
// 123 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x28, 0x4d, 0x2a,
0x2e, 0x4d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x0f, 0x2e, 0xc8, 0x2f, 0xc9, 0x4c,
0xab, 0x54, 0x8a, 0xe4, 0xe2, 0x09, 0x2e, 0x4d, 0x2a, 0x4e, 0x2e, 0xca, 0x2c, 0x28, 0xc9, 0xcc,
0xcf, 0x13, 0x12, 0xe0, 0x62, 0x2e, 0x2d, 0xca, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02,
0x31, 0x85, 0xc4, 0xb8, 0xd8, 0x52, 0x2b, 0x0a, 0x32, 0x8b, 0x2a, 0x25, 0x98, 0x14, 0x18, 0x35,
0x58, 0x83, 0xa0, 0x3c, 0x21, 0x79, 0x2e, 0xee, 0xe2, 0x92, 0xc4, 0x92, 0xd2, 0xe2, 0xf8, 0xe4,
0xfc, 0x94, 0x54, 0x09, 0x66, 0xb0, 0x24, 0x17, 0x44, 0xc8, 0x39, 0x3f, 0x25, 0x15, 0x10, 0x00,
0x00, 0xff, 0xff, 0x03, 0x6d, 0x74, 0x33, 0x72, 0x00, 0x00, 0x00,
}