// Code generated by protoc-gen-go. DO NOT EDIT.
// source: clock/update.proto

package clock

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import authorization "code.justin.tv/eventbus/schema/pkg/eventbus/authorization"
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

// ClockUpdate triggers when the time has changed by a second.
type ClockUpdate struct {
	// The new time.
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// The new time, in RFC3339 format. This field requires authorization to access.
	SecretTime           *authorization.String `protobuf:"bytes,2,opt,name=secret_time,json=secretTime,proto3" json:"secret_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

var xxx_messageInfo_ClockUpdate proto.InternalMessageInfo

func (m *ClockUpdate) GetTime() *timestamp.Timestamp {
	if m != nil {
		return m.Time
	}
	return nil
}

func (m *ClockUpdate) GetSecretTime() *authorization.String {
	if m != nil {
		return m.SecretTime
	}
	return nil
}

func init() {
	proto.RegisterType((*ClockUpdate)(nil), "clock.ClockUpdate")
}

func init() { proto.RegisterFile("clock/update.proto", fileDescriptor_update_aef3ad4d2e49ef1c) }

var fileDescriptor_update_aef3ad4d2e49ef1c = []byte{
	// 200 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0xce, 0xc9, 0x4f,
	0xce, 0xd6, 0x2f, 0x2d, 0x48, 0x49, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,
	0x05, 0x8b, 0x49, 0xc9, 0xa4, 0x96, 0xa5, 0xe6, 0x95, 0x24, 0x95, 0x16, 0xeb, 0x27, 0x96, 0x96,
	0x64, 0xe4, 0x17, 0x65, 0x56, 0x25, 0x96, 0x64, 0xe6, 0xe7, 0x41, 0x14, 0x49, 0xc9, 0xa7, 0xe7,
	0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0x79, 0x49, 0xa5, 0x69, 0xfa, 0x25, 0x99, 0xb9, 0xa9, 0xc5,
	0x25, 0x89, 0xb9, 0x05, 0x10, 0x05, 0x4a, 0x7d, 0x8c, 0x5c, 0xdc, 0xce, 0x20, 0x83, 0x42, 0xc1,
	0x66, 0x0b, 0xe9, 0x71, 0xb1, 0x80, 0x94, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x49, 0xe9,
	0x41, 0xf4, 0xeb, 0xc1, 0xf4, 0xeb, 0x85, 0xc0, 0xf4, 0x07, 0x81, 0xd5, 0x09, 0xf9, 0x73, 0x71,
	0x17, 0xa7, 0x26, 0x17, 0xa5, 0x96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