lbry.go/pb/stream.pb.go

104 lines
3.5 KiB
Go
Raw Normal View History

2017-09-06 16:31:28 +02:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: pb/stream.proto
package pb
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
type Stream_Version int32
const (
Stream_UNKNOWN_VERSION Stream_Version = 0
Stream__0_0_1 Stream_Version = 1
)
var Stream_Version_name = map[int32]string{
0: "UNKNOWN_VERSION",
1: "_0_0_1",
}
var Stream_Version_value = map[string]int32{
"UNKNOWN_VERSION": 0,
"_0_0_1": 1,
}
func (x Stream_Version) Enum() *Stream_Version {
p := new(Stream_Version)
*p = x
return p
}
func (x Stream_Version) String() string {
return proto.EnumName(Stream_Version_name, int32(x))
}
func (x *Stream_Version) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(Stream_Version_value, data, "Stream_Version")
if err != nil {
return err
}
*x = Stream_Version(value)
return nil
}
func (Stream_Version) EnumDescriptor() ([]byte, []int) { return fileDescriptor6, []int{0, 0} }
type Stream struct {
Version *Stream_Version `protobuf:"varint,1,req,name=version,enum=pb.Stream_Version" json:"version,omitempty"`
Metadata *Metadata `protobuf:"bytes,2,req,name=metadata" json:"metadata,omitempty"`
Source *Source `protobuf:"bytes,3,req,name=source" json:"source,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Stream) Reset() { *m = Stream{} }
func (m *Stream) String() string { return proto.CompactTextString(m) }
func (*Stream) ProtoMessage() {}
func (*Stream) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
func (m *Stream) GetVersion() Stream_Version {
if m != nil && m.Version != nil {
return *m.Version
}
return Stream_UNKNOWN_VERSION
}
func (m *Stream) GetMetadata() *Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Stream) GetSource() *Source {
if m != nil {
return m.Source
}
return nil
}
func init() {
proto.RegisterType((*Stream)(nil), "pb.Stream")
proto.RegisterEnum("pb.Stream_Version", Stream_Version_name, Stream_Version_value)
}
func init() { proto.RegisterFile("pb/stream.proto", fileDescriptor6) }
var fileDescriptor6 = []byte{
// 189 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0x48, 0xd2, 0x2f,
0x2e, 0x29, 0x4a, 0x4d, 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x48, 0x92,
0x12, 0x2c, 0x48, 0xd2, 0xcf, 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0x84, 0x08, 0x4b, 0x81,
0xd5, 0xe5, 0x97, 0x16, 0x25, 0xa7, 0x42, 0x04, 0x94, 0x36, 0x30, 0x72, 0xb1, 0x05, 0x83, 0x35,
0x0a, 0xe9, 0x70, 0xb1, 0x97, 0xa5, 0x16, 0x15, 0x67, 0xe6, 0xe7, 0x49, 0x30, 0x2a, 0x30, 0x69,
0xf0, 0x19, 0x09, 0xe9, 0x15, 0x24, 0xe9, 0x41, 0x24, 0xf5, 0xc2, 0x20, 0x32, 0x41, 0x30, 0x25,
0x42, 0x1a, 0x5c, 0x1c, 0x30, 0xb3, 0x25, 0x98, 0x14, 0x98, 0x34, 0xb8, 0x8d, 0x78, 0x40, 0xca,
0x7d, 0xa1, 0x62, 0x41, 0x70, 0x59, 0x21, 0x25, 0x2e, 0x36, 0x88, 0x95, 0x12, 0xcc, 0x60, 0x75,
0x5c, 0x60, 0x63, 0xc1, 0x22, 0x41, 0x50, 0x19, 0x25, 0x2d, 0x2e, 0x76, 0xa8, 0x0d, 0x42, 0xc2,
0x5c, 0xfc, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0xf1, 0x61, 0xae, 0x41, 0xc1, 0x9e, 0xfe,
0x7e, 0x02, 0x0c, 0x42, 0x5c, 0x5c, 0x6c, 0xf1, 0x06, 0xf1, 0x06, 0xf1, 0x86, 0x02, 0x8c, 0x80,
0x00, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x88, 0x90, 0xd2, 0xec, 0x00, 0x00, 0x00,
}