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

package igdb_game

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
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

// IgdbGameUpdate triggers whenever a game is updated.
//
// Game and API information can be found at https://www.igdb.com
// NOTE this can occur whenever a direct or indirect piece of data changes.
// Adding a release date to a game would trigger one IgdbGameUpdate, where
// altering the description of a genre would trigger an IgdbGameUpdate for
// every game that has that genre.
type IgdbGameUpdate struct {
	// The IGDB Game ID
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// The timestamp of the database write that triggered this event
	ModifiedAt           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_IgdbGameUpdate proto.InternalMessageInfo

func (m *IgdbGameUpdate) GetGameId() string {
	if m != nil {
		return m.GameId
	}
	return ""
}

func (m *IgdbGameUpdate) GetModifiedAt() *timestamp.Timestamp {
	if m != nil {
		return m.ModifiedAt
	}
	return nil
}

func init() {
	proto.RegisterType((*IgdbGameUpdate)(nil), "igdb_game.IgdbGameUpdate")
}

func init() { proto.RegisterFile("igdb_game/update.proto", fileDescriptor_update_9fa8c4509dfeba3d) }

var fileDescriptor_update_9fa8c4509dfeba3d = []byte{
	// 163 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcb, 0x4c, 0x4f, 0x49,
	0x8a, 0x4f, 0x4f, 0xcc, 0x4d, 0xd5, 0x2f, 0x2d, 0x48, 0x49, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca,
	0x2f, 0xc9, 0x17, 0xe2, 0x84, 0x8b, 0x4b, 0xc9, 0xa7, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83,
	0x25, 0x92, 0x4a, 0xd3, 0xf4, 0x4b, 0x32, 0x73, 0x53, 0x8b, 0x4b, 0x12, 0x73, 0x0b, 0x20, 0x6a,
	0x95, 0xd2, 0xb8, 0xf8, 0x3c, 0xd3, 0x53, 0x92, 0xdc, 0x13, 0x73, 0x53, 0x43, 0xc1, 0x66, 0x08,
	0x89, 0x73, 0xb1, 0x83, 0xb4, 0xc6, 0x67, 0xa6, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0xb1,
	0x81, 0xb8, 0x9e, 0x29, 0x42, 0xd6, 0x5c, 0xdc, 0xb9, 0xf9, 0x29, 0x99, 0x69, 0x99, 0xa9, 0x29,
	0xf1, 0x89, 0x25, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x52, 0x7a, 0x10, 0x1b, 0xf4, 0x60,
	0x36, 0xe8, 0x85, 0xc0, 0x6c, 0x08, 0xe2, 0x82, 0x29, 0x77, 0x2c, 0x71, 0xe2, 0x8e, 0x42, 0xb8,
	0x2a, 0x89, 0x0d, 0xac, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x46, 0xbf, 0x6e, 0xe3, 0xc1,
	0x00, 0x00, 0x00,
}
