1// Code generated by protoc-gen-gogo. DO NOT EDIT.
2// source: streams.proto
3
4package pb
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/gogo/protobuf/proto"
11)
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
23
24type SegmentMeta struct {
25	EncryptedKey         []byte   `protobuf:"bytes,1,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
26	KeyNonce             []byte   `protobuf:"bytes,2,opt,name=key_nonce,json=keyNonce,proto3" json:"key_nonce,omitempty"`
27	XXX_NoUnkeyedLiteral struct{} `json:"-"`
28	XXX_unrecognized     []byte   `json:"-"`
29	XXX_sizecache        int32    `json:"-"`
30}
31
32func (m *SegmentMeta) Reset()         { *m = SegmentMeta{} }
33func (m *SegmentMeta) String() string { return proto.CompactTextString(m) }
34func (*SegmentMeta) ProtoMessage()    {}
35func (*SegmentMeta) Descriptor() ([]byte, []int) {
36	return fileDescriptor_c6bbf8af0ec331d6, []int{0}
37}
38func (m *SegmentMeta) XXX_Unmarshal(b []byte) error {
39	return xxx_messageInfo_SegmentMeta.Unmarshal(m, b)
40}
41func (m *SegmentMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
42	return xxx_messageInfo_SegmentMeta.Marshal(b, m, deterministic)
43}
44func (m *SegmentMeta) XXX_Merge(src proto.Message) {
45	xxx_messageInfo_SegmentMeta.Merge(m, src)
46}
47func (m *SegmentMeta) XXX_Size() int {
48	return xxx_messageInfo_SegmentMeta.Size(m)
49}
50func (m *SegmentMeta) XXX_DiscardUnknown() {
51	xxx_messageInfo_SegmentMeta.DiscardUnknown(m)
52}
53
54var xxx_messageInfo_SegmentMeta proto.InternalMessageInfo
55
56func (m *SegmentMeta) GetEncryptedKey() []byte {
57	if m != nil {
58		return m.EncryptedKey
59	}
60	return nil
61}
62
63func (m *SegmentMeta) GetKeyNonce() []byte {
64	if m != nil {
65		return m.KeyNonce
66	}
67	return nil
68}
69
70type StreamInfo struct {
71	DeprecatedNumberOfSegments int64    `protobuf:"varint,1,opt,name=deprecated_number_of_segments,json=deprecatedNumberOfSegments,proto3" json:"deprecated_number_of_segments,omitempty"`
72	SegmentsSize               int64    `protobuf:"varint,2,opt,name=segments_size,json=segmentsSize,proto3" json:"segments_size,omitempty"`
73	LastSegmentSize            int64    `protobuf:"varint,3,opt,name=last_segment_size,json=lastSegmentSize,proto3" json:"last_segment_size,omitempty"`
74	Metadata                   []byte   `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
75	XXX_NoUnkeyedLiteral       struct{} `json:"-"`
76	XXX_unrecognized           []byte   `json:"-"`
77	XXX_sizecache              int32    `json:"-"`
78}
79
80func (m *StreamInfo) Reset()         { *m = StreamInfo{} }
81func (m *StreamInfo) String() string { return proto.CompactTextString(m) }
82func (*StreamInfo) ProtoMessage()    {}
83func (*StreamInfo) Descriptor() ([]byte, []int) {
84	return fileDescriptor_c6bbf8af0ec331d6, []int{1}
85}
86func (m *StreamInfo) XXX_Unmarshal(b []byte) error {
87	return xxx_messageInfo_StreamInfo.Unmarshal(m, b)
88}
89func (m *StreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
90	return xxx_messageInfo_StreamInfo.Marshal(b, m, deterministic)
91}
92func (m *StreamInfo) XXX_Merge(src proto.Message) {
93	xxx_messageInfo_StreamInfo.Merge(m, src)
94}
95func (m *StreamInfo) XXX_Size() int {
96	return xxx_messageInfo_StreamInfo.Size(m)
97}
98func (m *StreamInfo) XXX_DiscardUnknown() {
99	xxx_messageInfo_StreamInfo.DiscardUnknown(m)
100}
101
102var xxx_messageInfo_StreamInfo proto.InternalMessageInfo
103
104func (m *StreamInfo) GetDeprecatedNumberOfSegments() int64 {
105	if m != nil {
106		return m.DeprecatedNumberOfSegments
107	}
108	return 0
109}
110
111func (m *StreamInfo) GetSegmentsSize() int64 {
112	if m != nil {
113		return m.SegmentsSize
114	}
115	return 0
116}
117
118func (m *StreamInfo) GetLastSegmentSize() int64 {
119	if m != nil {
120		return m.LastSegmentSize
121	}
122	return 0
123}
124
125func (m *StreamInfo) GetMetadata() []byte {
126	if m != nil {
127		return m.Metadata
128	}
129	return nil
130}
131
132type StreamMeta struct {
133	EncryptedStreamInfo  []byte       `protobuf:"bytes,1,opt,name=encrypted_stream_info,json=encryptedStreamInfo,proto3" json:"encrypted_stream_info,omitempty"`
134	EncryptionType       int32        `protobuf:"varint,2,opt,name=encryption_type,json=encryptionType,proto3" json:"encryption_type,omitempty"`
135	EncryptionBlockSize  int32        `protobuf:"varint,3,opt,name=encryption_block_size,json=encryptionBlockSize,proto3" json:"encryption_block_size,omitempty"`
136	LastSegmentMeta      *SegmentMeta `protobuf:"bytes,4,opt,name=last_segment_meta,json=lastSegmentMeta,proto3" json:"last_segment_meta,omitempty"`
137	NumberOfSegments     int64        `protobuf:"varint,5,opt,name=number_of_segments,json=numberOfSegments,proto3" json:"number_of_segments,omitempty"`
138	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
139	XXX_unrecognized     []byte       `json:"-"`
140	XXX_sizecache        int32        `json:"-"`
141}
142
143func (m *StreamMeta) Reset()         { *m = StreamMeta{} }
144func (m *StreamMeta) String() string { return proto.CompactTextString(m) }
145func (*StreamMeta) ProtoMessage()    {}
146func (*StreamMeta) Descriptor() ([]byte, []int) {
147	return fileDescriptor_c6bbf8af0ec331d6, []int{2}
148}
149func (m *StreamMeta) XXX_Unmarshal(b []byte) error {
150	return xxx_messageInfo_StreamMeta.Unmarshal(m, b)
151}
152func (m *StreamMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
153	return xxx_messageInfo_StreamMeta.Marshal(b, m, deterministic)
154}
155func (m *StreamMeta) XXX_Merge(src proto.Message) {
156	xxx_messageInfo_StreamMeta.Merge(m, src)
157}
158func (m *StreamMeta) XXX_Size() int {
159	return xxx_messageInfo_StreamMeta.Size(m)
160}
161func (m *StreamMeta) XXX_DiscardUnknown() {
162	xxx_messageInfo_StreamMeta.DiscardUnknown(m)
163}
164
165var xxx_messageInfo_StreamMeta proto.InternalMessageInfo
166
167func (m *StreamMeta) GetEncryptedStreamInfo() []byte {
168	if m != nil {
169		return m.EncryptedStreamInfo
170	}
171	return nil
172}
173
174func (m *StreamMeta) GetEncryptionType() int32 {
175	if m != nil {
176		return m.EncryptionType
177	}
178	return 0
179}
180
181func (m *StreamMeta) GetEncryptionBlockSize() int32 {
182	if m != nil {
183		return m.EncryptionBlockSize
184	}
185	return 0
186}
187
188func (m *StreamMeta) GetLastSegmentMeta() *SegmentMeta {
189	if m != nil {
190		return m.LastSegmentMeta
191	}
192	return nil
193}
194
195func (m *StreamMeta) GetNumberOfSegments() int64 {
196	if m != nil {
197		return m.NumberOfSegments
198	}
199	return 0
200}
201
202func init() {
203	proto.RegisterType((*SegmentMeta)(nil), "streams.SegmentMeta")
204	proto.RegisterType((*StreamInfo)(nil), "streams.StreamInfo")
205	proto.RegisterType((*StreamMeta)(nil), "streams.StreamMeta")
206}
207
208func init() { proto.RegisterFile("streams.proto", fileDescriptor_c6bbf8af0ec331d6) }
209
210var fileDescriptor_c6bbf8af0ec331d6 = []byte{
211	// 343 bytes of a gzipped FileDescriptorProto
212	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x41, 0x4f, 0xf2, 0x40,
213	0x10, 0x0d, 0xf0, 0xf1, 0x89, 0x0b, 0x88, 0xae, 0x98, 0x10, 0x8c, 0x89, 0xc1, 0x83, 0xc6, 0x18,
214	0x48, 0xf0, 0x0f, 0x28, 0x37, 0x63, 0x84, 0xa4, 0x78, 0xf2, 0xb2, 0xd9, 0x96, 0xa9, 0xa9, 0xa5,
215	0x3b, 0x4d, 0x77, 0x3d, 0x2c, 0xff, 0xc1, 0x7f, 0xe4, 0x8f, 0x33, 0x3b, 0x6d, 0x29, 0x12, 0x8f,
216	0xfb, 0xe6, 0xe5, 0xcd, 0x7b, 0x6f, 0x96, 0x75, 0xb5, 0xc9, 0x40, 0x26, 0x7a, 0x9c, 0x66, 0x68,
217	0x90, 0x1f, 0x14, 0xcf, 0xd1, 0x82, 0xb5, 0x97, 0xf0, 0x9e, 0x80, 0x32, 0x2f, 0x60, 0x24, 0xbf,
218	0x62, 0x5d, 0x50, 0x41, 0x66, 0x53, 0x03, 0x2b, 0x11, 0x83, 0x1d, 0xd4, 0x2e, 0x6b, 0x37, 0x1d,
219	0xaf, 0xb3, 0x05, 0x9f, 0xc1, 0xf2, 0x73, 0x76, 0x18, 0x83, 0x15, 0x0a, 0x55, 0x00, 0x83, 0x3a,
220	0x11, 0x5a, 0x31, 0xd8, 0xb9, 0x7b, 0x8f, 0xbe, 0x6b, 0x8c, 0x2d, 0x49, 0xfc, 0x49, 0x85, 0xc8,
221	0x1f, 0xd9, 0xc5, 0x0a, 0xd2, 0x0c, 0x02, 0xe9, 0x14, 0xd5, 0x67, 0xe2, 0x43, 0x26, 0x30, 0x14,
222	0x3a, 0x5f, 0xaa, 0x69, 0x41, 0xc3, 0x1b, 0x56, 0xa4, 0x39, 0x71, 0x16, 0x61, 0x61, 0x4b, 0x3b,
223	0x4f, 0x25, 0x5b, 0xe8, 0x68, 0x93, 0xaf, 0x6c, 0x78, 0x9d, 0x12, 0x5c, 0x46, 0x1b, 0xe0, 0xb7,
224	0xec, 0x64, 0x2d, 0xb5, 0x29, 0x75, 0x73, 0x62, 0x83, 0x88, 0x3d, 0x37, 0x28, 0xd4, 0x88, 0x3b,
225	0x64, 0xad, 0x04, 0x8c, 0x5c, 0x49, 0x23, 0x07, 0xff, 0x72, 0xfb, 0xe5, 0x7b, 0xf4, 0x55, 0x2f,
226	0xed, 0x53, 0x1f, 0x53, 0x76, 0x56, 0xf5, 0x91, 0x77, 0x26, 0x22, 0x15, 0x62, 0xd1, 0xcb, 0xe9,
227	0x76, 0xb8, 0x13, 0xf9, 0x9a, 0xf5, 0x0a, 0x38, 0x42, 0x25, 0x8c, 0x4d, 0x73, 0xc7, 0x4d, 0xef,
228	0xa8, 0x82, 0x5f, 0x6d, 0x0a, 0x3b, 0xe2, 0x8e, 0xe8, 0xaf, 0x31, 0x88, 0x2b, 0xdf, 0xcd, 0xad,
229	0x78, 0x84, 0x6a, 0xe6, 0x66, 0xe4, 0xfd, 0x61, 0x2f, 0xa7, 0x33, 0x4e, 0x21, 0xda, 0xd3, 0xfe,
230	0xb8, 0xbc, 0xf1, 0xce, 0x45, 0x7f, 0xa5, 0xa7, 0x48, 0x77, 0x8c, 0xff, 0x71, 0x86, 0x26, 0x55,
231	0x75, 0xac, 0xf6, 0xca, 0x9f, 0xf5, 0xdf, 0xb8, 0x36, 0x98, 0x7d, 0x8c, 0x23, 0x9c, 0x04, 0x98,
232	0x24, 0xa8, 0x26, 0xa9, 0xef, 0xff, 0xa7, 0x5f, 0x74, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0d,
233	0x06, 0x13, 0x61, 0x56, 0x02, 0x00, 0x00,
234}
235