6d443ba042
closes #24
139 lines
4.5 KiB
Go
139 lines
4.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: stream.proto
|
|
|
|
package legacy_pb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
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.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
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 fileDescriptor_bb17ef3f514bfe54, []int{0, 0}
|
|
}
|
|
|
|
type Stream struct {
|
|
Version *Stream_Version `protobuf:"varint,1,req,name=version,enum=legacy_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_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `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 fileDescriptor_bb17ef3f514bfe54, []int{0}
|
|
}
|
|
|
|
func (m *Stream) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Stream.Unmarshal(m, b)
|
|
}
|
|
func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Stream.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Stream) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Stream.Merge(m, src)
|
|
}
|
|
func (m *Stream) XXX_Size() int {
|
|
return xxx_messageInfo_Stream.Size(m)
|
|
}
|
|
func (m *Stream) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Stream.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Stream proto.InternalMessageInfo
|
|
|
|
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.RegisterEnum("legacy_pb.Stream_Version", Stream_Version_name, Stream_Version_value)
|
|
proto.RegisterType((*Stream)(nil), "legacy_pb.Stream")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("stream.proto", fileDescriptor_bb17ef3f514bfe54) }
|
|
|
|
var fileDescriptor_bb17ef3f514bfe54 = []byte{
|
|
// 191 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x2e, 0x29, 0x4a,
|
|
0x4d, 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0xcc, 0x49, 0x4d, 0x4f, 0x4c, 0xae,
|
|
0x8c, 0x2f, 0x48, 0x92, 0xe2, 0xcb, 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0x84, 0x48, 0x49,
|
|
0xf1, 0x14, 0xe7, 0x97, 0x16, 0x25, 0xa7, 0x42, 0x78, 0x4a, 0x47, 0x19, 0xb9, 0xd8, 0x82, 0xc1,
|
|
0x3a, 0x85, 0x8c, 0xb9, 0xd8, 0xcb, 0x52, 0x8b, 0x8a, 0x33, 0xf3, 0xf3, 0x24, 0x18, 0x15, 0x98,
|
|
0x34, 0xf8, 0x8c, 0x24, 0xf5, 0xe0, 0xa6, 0xe8, 0x41, 0xd4, 0xe8, 0x85, 0x41, 0x14, 0x04, 0xc1,
|
|
0x54, 0x0a, 0xe9, 0x73, 0x71, 0xc0, 0xcc, 0x97, 0x60, 0x52, 0x60, 0xd2, 0xe0, 0x36, 0x12, 0x46,
|
|
0xd2, 0xe5, 0x0b, 0x95, 0x0a, 0x82, 0x2b, 0x12, 0xd2, 0xe4, 0x62, 0x83, 0x38, 0x40, 0x82, 0x19,
|
|
0xac, 0x5c, 0x10, 0xd9, 0x12, 0xb0, 0x44, 0x10, 0x54, 0x81, 0x92, 0x16, 0x17, 0x3b, 0xd4, 0x3e,
|
|
0x21, 0x61, 0x2e, 0xfe, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0xbf, 0xf8, 0x30, 0xd7, 0xa0, 0x60,
|
|
0x4f, 0x7f, 0x3f, 0x01, 0x06, 0x21, 0x2e, 0x2e, 0xb6, 0x78, 0x83, 0x78, 0x83, 0x78, 0x43, 0x01,
|
|
0x46, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xe9, 0x51, 0x8e, 0xff, 0x00, 0x00, 0x00,
|
|
}
|