-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpubsub.pb.go
106 lines (92 loc) · 4.41 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: pubsub.proto
package pubsub
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
math "math"
)
// 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
// Msg is a wrapper message that alllows us to keep metadata and other
// different and useful information across all providers
type MessageWrapper struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
PublishTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageWrapper) Reset() { *m = MessageWrapper{} }
func (m *MessageWrapper) String() string { return proto.CompactTextString(m) }
func (*MessageWrapper) ProtoMessage() {}
func (*MessageWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_91df006b05e20cf7, []int{0}
}
func (m *MessageWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageWrapper.Unmarshal(m, b)
}
func (m *MessageWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageWrapper.Marshal(b, m, deterministic)
}
func (m *MessageWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageWrapper.Merge(m, src)
}
func (m *MessageWrapper) XXX_Size() int {
return xxx_messageInfo_MessageWrapper.Size(m)
}
func (m *MessageWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_MessageWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_MessageWrapper proto.InternalMessageInfo
func (m *MessageWrapper) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *MessageWrapper) GetMetadata() map[string]string {
if m != nil {
return m.Metadata
}
return nil
}
func (m *MessageWrapper) GetPublishTime() *timestamp.Timestamp {
if m != nil {
return m.PublishTime
}
return nil
}
func init() {
proto.RegisterType((*MessageWrapper)(nil), "pubsub.MessageWrapper")
proto.RegisterMapType((map[string]string)(nil), "pubsub.MessageWrapper.MetadataEntry")
}
func init() { proto.RegisterFile("pubsub.proto", fileDescriptor_91df006b05e20cf7) }
var fileDescriptor_91df006b05e20cf7 = []byte{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8e, 0x4f, 0x4b, 0x03, 0x31,
0x14, 0xc4, 0x49, 0xb7, 0x16, 0x9b, 0xad, 0x22, 0xc1, 0xc3, 0xb2, 0x17, 0x17, 0xf1, 0xb0, 0xa7,
0x2c, 0xd4, 0x8b, 0x28, 0x82, 0x08, 0x1e, 0x7b, 0x09, 0x82, 0xe0, 0x45, 0x12, 0x7d, 0xa6, 0xc1,
0xc4, 0x84, 0xfc, 0x11, 0xfa, 0x75, 0xfd, 0x24, 0xb2, 0xc9, 0x56, 0xe8, 0xed, 0xcd, 0x30, 0xf3,
0xe6, 0x87, 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