2018-08-24 04:56:38 +01:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: meta.proto
|
|
|
|
|
2018-09-18 05:39:06 +01:00
|
|
|
package pb
|
2018-08-24 04:56:38 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
|
|
|
type MetaStreamInfo struct {
|
2018-09-21 19:48:54 +01:00
|
|
|
NumberOfSegments int64 `protobuf:"varint,1,opt,name=number_of_segments,json=numberOfSegments,proto3" json:"number_of_segments,omitempty"`
|
|
|
|
SegmentsSize int64 `protobuf:"varint,2,opt,name=segments_size,json=segmentsSize,proto3" json:"segments_size,omitempty"`
|
|
|
|
LastSegmentSize int64 `protobuf:"varint,3,opt,name=last_segment_size,json=lastSegmentSize,proto3" json:"last_segment_size,omitempty"`
|
2018-08-24 04:56:38 +01:00
|
|
|
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
2018-09-26 14:32:23 +01:00
|
|
|
EncryptionType int32 `protobuf:"varint,5,opt,name=encryption_type,json=encryptionType,proto3" json:"encryption_type,omitempty"`
|
|
|
|
EncryptionBlockSize int32 `protobuf:"varint,6,opt,name=encryption_block_size,json=encryptionBlockSize,proto3" json:"encryption_block_size,omitempty"`
|
2018-08-24 04:56:38 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) Reset() { *m = MetaStreamInfo{} }
|
|
|
|
func (m *MetaStreamInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MetaStreamInfo) ProtoMessage() {}
|
|
|
|
func (*MetaStreamInfo) Descriptor() ([]byte, []int) {
|
2018-09-26 14:32:23 +01:00
|
|
|
return fileDescriptor_meta_20ddc39f331d9ae2, []int{0}
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
|
|
|
func (m *MetaStreamInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MetaStreamInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *MetaStreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MetaStreamInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *MetaStreamInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MetaStreamInfo.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *MetaStreamInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MetaStreamInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MetaStreamInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MetaStreamInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_MetaStreamInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) GetNumberOfSegments() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumberOfSegments
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) GetSegmentsSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentsSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) GetLastSegmentSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastSegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) GetMetadata() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Metadata
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-09-26 14:32:23 +01:00
|
|
|
func (m *MetaStreamInfo) GetEncryptionType() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.EncryptionType
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) GetEncryptionBlockSize() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.EncryptionBlockSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-24 04:56:38 +01:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*MetaStreamInfo)(nil), "streams.MetaStreamInfo")
|
|
|
|
}
|
|
|
|
|
2018-09-26 14:32:23 +01:00
|
|
|
func init() { proto.RegisterFile("meta.proto", fileDescriptor_meta_20ddc39f331d9ae2) }
|
|
|
|
|
|
|
|
var fileDescriptor_meta_20ddc39f331d9ae2 = []byte{
|
|
|
|
// 228 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcd, 0x4a, 0x03, 0x31,
|
|
|
|
0x14, 0x85, 0xc9, 0xf4, 0x47, 0xb9, 0xd4, 0x56, 0x23, 0x42, 0x70, 0x35, 0xe8, 0xc2, 0x41, 0xc4,
|
|
|
|
0x85, 0xbe, 0x41, 0x77, 0x2e, 0x44, 0x98, 0x71, 0xe5, 0x26, 0x24, 0xf5, 0x8e, 0x0c, 0x36, 0x3f,
|
|
|
|
0x24, 0xd7, 0xc5, 0xf4, 0x09, 0x7c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