forked from a8m/kinesis-producer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages.pb.go
152 lines (129 loc) · 5.13 KB
/
messages.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// Code generated by protoc-gen-go.
// source: messages.proto
// DO NOT EDIT!
/*
Package producer is a generated protocol buffer package.
It is generated from these files:
messages.proto
It has these top-level messages:
AggregatedRecord
Tag
Record
*/
package producer
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
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
const _ = proto.ProtoPackageIsVersion1
type AggregatedRecord struct {
PartitionKeyTable []string `protobuf:"bytes,1,rep,name=partition_key_table" json:"partition_key_table,omitempty"`
ExplicitHashKeyTable []string `protobuf:"bytes,2,rep,name=explicit_hash_key_table" json:"explicit_hash_key_table,omitempty"`
Records []*Record `protobuf:"bytes,3,rep,name=records" json:"records,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *AggregatedRecord) Reset() { *m = AggregatedRecord{} }
func (m *AggregatedRecord) String() string { return proto.CompactTextString(m) }
func (*AggregatedRecord) ProtoMessage() {}
func (*AggregatedRecord) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *AggregatedRecord) GetPartitionKeyTable() []string {
if m != nil {
return m.PartitionKeyTable
}
return nil
}
func (m *AggregatedRecord) GetExplicitHashKeyTable() []string {
if m != nil {
return m.ExplicitHashKeyTable
}
return nil
}
func (m *AggregatedRecord) GetRecords() []*Record {
if m != nil {
return m.Records
}
return nil
}
type Tag struct {
Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Tag) Reset() { *m = Tag{} }
func (m *Tag) String() string { return proto.CompactTextString(m) }
func (*Tag) ProtoMessage() {}
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Tag) GetKey() string {
if m != nil && m.Key != nil {
return *m.Key
}
return ""
}
func (m *Tag) GetValue() string {
if m != nil && m.Value != nil {
return *m.Value
}
return ""
}
type Record struct {
PartitionKeyIndex *uint64 `protobuf:"varint,1,req,name=partition_key_index" json:"partition_key_index,omitempty"`
ExplicitHashKeyIndex *uint64 `protobuf:"varint,2,opt,name=explicit_hash_key_index" json:"explicit_hash_key_index,omitempty"`
Data []byte `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
Tags []*Tag `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Record) Reset() { *m = Record{} }
func (m *Record) String() string { return proto.CompactTextString(m) }
func (*Record) ProtoMessage() {}
func (*Record) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Record) GetPartitionKeyIndex() uint64 {
if m != nil && m.PartitionKeyIndex != nil {
return *m.PartitionKeyIndex
}
return 0
}
func (m *Record) GetExplicitHashKeyIndex() uint64 {
if m != nil && m.ExplicitHashKeyIndex != nil {
return *m.ExplicitHashKeyIndex
}
return 0
}
func (m *Record) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *Record) GetTags() []*Tag {
if m != nil {
return m.Tags
}
return nil
}
func init() {
proto.RegisterType((*AggregatedRecord)(nil), "producer.AggregatedRecord")
proto.RegisterType((*Tag)(nil), "producer.Tag")
proto.RegisterType((*Record)(nil), "producer.Record")
}
var fileDescriptor0 = []byte{
// 216 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x8e, 0x4d, 0x4e, 0xc3, 0x30,
0x10, 0x85, 0xd5, 0xd8, 0xfc, 0x74, 0xda, 0xa2, 0xca, 0x2c, 0x88, 0xc4, 0x02, 0x9a, 0x55, 0x56,
0x59, 0x70, 0x03, 0xae, 0x80, 0xd8, 0x47, 0x43, 0x3c, 0x72, 0x2d, 0x42, 0x1d, 0xec, 0x09, 0x0a,
0xb7, 0x67, 0xe2, 0x08, 0xc1, 0x02, 0x56, 0x23, 0x8d, 0xde, 0xfb, 0xde, 0x07, 0x57, 0x6f, 0x94,
0x12, 0x3a, 0x4a, 0xcd, 0x10, 0x03, 0x07, 0x73, 0x29, 0xc7, 0x8e, 0x1d, 0xc5, 0x2a, 0xc1, 0xfe,
0xd1, 0xb9, 0x48, 0x0e, 0x99, 0xec, 0x13, 0x75, 0x21, 0x5a, 0x73, 0x0b, 0xd7, 0x03, 0x46, 0xf6,
0xec, 0xc3, 0xa9, 0x7d, 0xa5, 0xcf, 0x96, 0xf1, 0xa5, 0xa7, 0x72, 0x75, 0xaf, 0xea, 0xb5, 0xb9,
0x83, 0x1b, 0x9a, 0x86, 0xde, 0x77, 0x9e, 0xdb, 0x23, 0xa6, 0xe3, 0xaf, 0x40, 0x91, 0x03, 0x07,
0xb8, 0x88, 0x99, 0x93, 0x4a, 0x25, 0x8f, 0xcd, 0xc3, 0xbe, 0xf9, 0x5e, 0x6b, 0x96, 0x81, 0xea,
0x00, 0xea, 0x19, 0x9d, 0xd9, 0x80, 0x92, 0xb2, 0x70, 0x0b, 0xa9, 0xed, 0xe0, 0xec, 0x03, 0xfb,
0x71, 0xa6, 0xac, 0xea, 0x75, 0xf5, 0x0e, 0xe7, 0xff, 0xd9, 0xf8, 0x93, 0xa5, 0x29, 0xb7, 0xf4,
0xdf, 0x36, 0x4b, 0x60, 0xe6, 0x68, 0xb3, 0x05, 0x6d, 0x91, 0x51, 0x54, 0x8a, 0x7a, 0x2b, 0x2c,
0xcd, 0xe8, 0x52, 0xa9, 0xb3, 0xd8, 0xee, 0x47, 0x4c, 0x74, 0xbe, 0x02, 0x00, 0x00, 0xff, 0xff,
0x0c, 0x0d, 0x0e, 0xd0, 0x25, 0x01, 0x00, 0x00,
}