// Code generated by protoc-gen-go. DO NOT EDIT.
// source: stream/create.proto

package stream

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "code.justin.tv/eventbus/schema/pkg/eventbus/owner"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"

// 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

// StreamCreate is triggered when a stream is started.
type StreamCreate struct {
	// Stream ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Channel ID of the broadcaster.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Type of stream that is being created
	StreamType StreamType `protobuf:"varint,3,opt,name=stream_type,json=streamType,proto3,enum=stream.StreamType" json:"stream_type,omitempty"`
	// Time that the stream went online
	StartedAt            *timestamp.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *StreamCreate) Reset()         { *m = StreamCreate{} }
func (m *StreamCreate) String() string { return proto.CompactTextString(m) }
func (*StreamCreate) ProtoMessage()    {}
func (*StreamCreate) Descriptor() ([]byte, []int) {
	return fileDescriptor_create_562f575584d0969f, []int{0}
}
func (m *StreamCreate) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StreamCreate.Unmarshal(m, b)
}
func (m *StreamCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StreamCreate.Marshal(b, m, deterministic)
}
func (dst *StreamCreate) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StreamCreate.Merge(dst, src)
}
func (m *StreamCreate) XXX_Size() int {
	return xxx_messageInfo_StreamCreate.Size(m)
}
func (m *StreamCreate) XXX_DiscardUnknown() {
	xxx_messageInfo_StreamCreate.DiscardUnknown(m)
}

var xxx_messageInfo_StreamCreate proto.InternalMessageInfo

func (m *StreamCreate) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *StreamCreate) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *StreamCreate) GetStreamType() StreamType {
	if m != nil {
		return m.StreamType
	}
	return StreamType_STREAM_TYPE_INVALID
}

func (m *StreamCreate) GetStartedAt() *timestamp.Timestamp {
	if m != nil {
		return m.StartedAt
	}
	return nil
}

func init() {
	proto.RegisterType((*StreamCreate)(nil), "stream.StreamCreate")
}

func init() { proto.RegisterFile("stream/create.proto", fileDescriptor_create_562f575584d0969f) }

var fileDescriptor_create_562f575584d0969f = []byte{
	// 248 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x90, 0xb1, 0x4e, 0xeb, 0x30,
	0x18, 0x85, 0xe5, 0xdc, 0xab, 0x40, 0x5d, 0xd4, 0xc1, 0x20, 0xb0, 0xb2, 0x10, 0x31, 0x65, 0x89,
	0x23, 0xb5, 0x13, 0x6c, 0xc0, 0xc4, 0x1a, 0x3a, 0xb1, 0x44, 0x0e, 0xfe, 0x5b, 0x59, 0x6a, 0x62,
	0xcb, 0xfe, 0x13, 0xe8, 0xab, 0xf0, 0x1e, 0xcc, 0xbc, 0x1a, 0xc2, 0x4e, 0xba, 0xf9, 0x7c, 0x3e,
	0xfa, 0x7c, 0x64, 0x7a, 0xe9, 0xd1, 0x81, 0xec, 0xaa, 0x77, 0x07, 0x12, 0x41, 0x58, 0x67, 0xd0,
	0xb0, 0x34, 0xc2, 0xec, 0x0a, 0x46, 0xe8, 0xb1, 0x1d, 0x7c, 0x65, 0x3e, 0x7a, 0x70, 0xf1, 0x36,
	0xbb, 0x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