// Code generated by protoc-gen-go. DO NOT EDIT.
// source: code.justin.tv/video/usherapi/rpc/usher/channel.proto

package usher // import "code.justin.tv/video/usherapi/rpc/usher"

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

// Based on the get_api_channel_livecheck API in Usher
// https://git-aws.internal.justin.tv/video/usher/blob/e1878d583825e7202707838e8f856c7f1fcef730/api/get_hls.py#L50
type ChannelLiveCheckRequest struct {
	ChannelId            string   `protobuf:"bytes,1,opt,name=channel_id,proto3" json:"channel_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_ChannelLiveCheckRequest proto.InternalMessageInfo

func (m *ChannelLiveCheckRequest) GetChannelId() string {
	if m != nil {
		return m.ChannelId
	}
	return ""
}

type ChannelLiveCheckResponse struct {
	// channel_id is the identifier for a channel in the Twitch users database
	ChannelId int64 `protobuf:"varint,1,opt,name=channel_id,proto3" json:"channel_id,omitempty"`
	// video_height_pixels is the height of the output video for this rendition in
	// pixels.
	VideoHeightPixels int32 `protobuf:"varint,2,opt,name=video_height_pixels,json=video_height,proto3" json:"video_height_pixels,omitempty"`
	// session_id is a unique Session ID for the broadcast.
	SessionId string `protobuf:"bytes,3,opt,name=session_id,proto3" json:"session_id,omitempty"`
	// start_time_seconds is the time at which the broadcast started. Unix time in seconds.
	StartTimeSeconds int64 `protobuf:"varint,4,opt,name=start_time_seconds,json=started_on,proto3" json:"start_time_seconds,omitempty"`
	// stream_id is a key used in queries for streams.
	StreamId int64 `protobuf:"varint,5,opt,name=stream_id,proto3" json:"stream_id,omitempty"`
	// broadcaster is read from the broadcast_tag typically, and is used to indicate
	// when special broadcast integrations are in use (rebroadcasts, delay, etc)
	Broadcaster string `protobuf:"bytes,6,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
	// average_fps is the average framerate of this stream
	AverageFps float64 `protobuf:"fixed64,7,opt,name=average_fps,proto3" json:"average_fps,omitempty"`
	// update_time_seconds is the most recent timestamp, in Unix seconds, that any
	// field of this object was changed.
	UpdateTimeSeconds int64 `protobuf:"varint,8,opt,name=update_time_seconds,json=updated_on,proto3" json:"update_time_seconds,omitempty"`
	// channel is the twitch channel name. this field should not be used for any
	// purpose other than display, channel_id should be used instead to identify
	// channels
	Channel              string   `protobuf:"bytes,9,opt,name=channel,proto3" json:"channel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_ChannelLiveCheckResponse proto.InternalMessageInfo

func (m *ChannelLiveCheckResponse) GetChannelId() int64 {
	if m != nil {
		return m.ChannelId
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetVideoHeightPixels() int32 {
	if m != nil {
		return m.VideoHeightPixels
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetSessionId() string {
	if m != nil {
		return m.SessionId
	}
	return ""
}

func (m *ChannelLiveCheckResponse) GetStartTimeSeconds() int64 {
	if m != nil {
		return m.StartTimeSeconds
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetStreamId() int64 {
	if m != nil {
		return m.StreamId
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetBroadcaster() string {
	if m != nil {
		return m.Broadcaster
	}
	return ""
}

func (m *ChannelLiveCheckResponse) GetAverageFps() float64 {
	if m != nil {
		return m.AverageFps
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetUpdateTimeSeconds() int64 {
	if m != nil {
		return m.UpdateTimeSeconds
	}
	return 0
}

func (m *ChannelLiveCheckResponse) GetChannel() string {
	if m != nil {
		return m.Channel
	}
	return ""
}

func init() {
	proto.RegisterType((*ChannelLiveCheckRequest)(nil), "twitch.video.usher.ChannelLiveCheckRequest")
	proto.RegisterType((*ChannelLiveCheckResponse)(nil), "twitch.video.usher.ChannelLiveCheckResponse")
}

func init() {
	proto.RegisterFile("code.justin.tv/video/usherapi/rpc/usher/channel.proto", fileDescriptor_channel_4eff356a67f79725)
}

var fileDescriptor_channel_4eff356a67f79725 = []byte{
	// 301 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x3f, 0x4f, 0xe3, 0x30,
	0x14, 0x57, 0xda, 0x6b, 0x7b, 0xf5, 0xdd, 0xe4, 0x0e, 0xe7, 0xe1, 0x84, 0xa2, 0x0e, 0xb4, 0x5d,
	0x92, 0x01, 0x31, 0xb0, 0xd2, 0x95, 0x29, 0x23, 0x8b, 0xe5, 0xda, 0x8f, 0xc6, 0xd0, 0xda, 0xc6,
	0xef, 0x25, 0xf0, 0x39, 0xf9, 0x44, 0x28, 0x4e, 0x51, 0x83, 0x60, 0x60, 0xf4, 0xef, 0xbf, 0xfc,
	0xd8, 0xb5, 0xf6, 0x06, 0x8a, 0xc7, 0x06, 0xc9, 0xba, 0x82, 0xda, 0xb2, 0xb5, 0x06, 0x7c, 0xd9,
	0x60, 0x0d, 0x51, 0x05, 0x5b, 0xc6, 0xa0, 0xfb, 0x47, 0xa9, 0x6b, 0xe5, 0x1c, 0x1c, 0x8a, 0x10,
	0x3d, 0x79, 0xce, 0xe9, 0xc5, 0x92, 0xae, 0x8b, 0x24, 0x2f, 0x92, 0x62, 0x79, 0xc3, 0xfe, 0x6d,
	0x7b, 0xd1, 0x9d, 0x6d, 0x61, 0x5b, 0x83, 0x7e, 0xaa, 0xe0, 0xb9, 0x01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