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-10-03 14:05:40 +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"`
|
|
|
|
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
|
|
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"`
|
|
|
|
LastSegmentEncryptionKey []byte `protobuf:"bytes,7,opt,name=last_segment_encryption_key,json=lastSegmentEncryptionKey,proto3" json:"last_segment_encryption_key,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-08-24 04:56:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MetaStreamInfo) Reset() { *m = MetaStreamInfo{} }
|
|
|
|
func (m *MetaStreamInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MetaStreamInfo) ProtoMessage() {}
|
|
|
|
func (*MetaStreamInfo) Descriptor() ([]byte, []int) {
|
2018-10-03 14:05:40 +01:00
|
|
|
return fileDescriptor_meta_026f5a060e38d7ef, []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-10-03 14:05:40 +01:00
|
|
|
func (m *MetaStreamInfo) GetLastSegmentEncryptionKey() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastSegmentEncryptionKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-24 04:56:38 +01:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*MetaStreamInfo)(nil), "streams.MetaStreamInfo")
|
|
|
|
}
|
|
|
|
|
2018-10-03 14:05:40 +01:00
|
|
|
func init() { proto.RegisterFile("meta.proto", fileDescriptor_meta_026f5a060e38d7ef) }
|
|
|
|
|
|
|
|
var fileDescriptor_meta_026f5a060e38d7ef = []byte{
|
|
|
|
// 250 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4f, 0x4b, 0xc3, 0x40,
|
|
|
|
0x10, 0xc5, 0x49, 0xfa, 0x4f,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