// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/bigquery/v2/model_reference.proto

package bigquery

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

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

// Id path of a model.
type ModelReference struct {
	// Required. The ID of the project containing this model.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. The ID of the dataset containing this model.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// Required. The ID of the model. The ID must contain only
	// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
	// length is 1,024 characters.
	ModelId              string   `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ModelReference) Reset()         { *m = ModelReference{} }
func (m *ModelReference) String() string { return proto.CompactTextString(m) }
func (*ModelReference) ProtoMessage()    {}
func (*ModelReference) Descriptor() ([]byte, []int) {
	return fileDescriptor_4c8f9aced577e06a, []int{0}
}

func (m *ModelReference) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ModelReference.Unmarshal(m, b)
}
func (m *ModelReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ModelReference.Marshal(b, m, deterministic)
}
func (m *ModelReference) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ModelReference.Merge(m, src)
}
func (m *ModelReference) XXX_Size() int {
	return xxx_messageInfo_ModelReference.Size(m)
}
func (m *ModelReference) XXX_DiscardUnknown() {
	xxx_messageInfo_ModelReference.DiscardUnknown(m)
}

var xxx_messageInfo_ModelReference proto.InternalMessageInfo

func (m *ModelReference) GetProjectId() string {
	if m != nil {
		return m.ProjectId
	}
	return ""
}

func (m *ModelReference) GetDatasetId() string {
	if m != nil {
		return m.DatasetId
	}
	return ""
}

func (m *ModelReference) GetModelId() string {
	if m != nil {
		return m.ModelId
	}
	return ""
}

func init() {
	proto.RegisterType((*ModelReference)(nil), "google.cloud.bigquery.v2.ModelReference")
}

func init() {
	proto.RegisterFile("google/cloud/bigquery/v2/model_reference.proto", fileDescriptor_4c8f9aced577e06a)
}

var fileDescriptor_4c8f9aced577e06a = []byte{
	// 249 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xb1, 0x4e, 0xc3, 0x30,
	0x10, 0x06, 0x60, 0xb5, 0x95, 0x80, 0x7a, 0x60, 0x08, 0x4b, 0x54, 0x55, 0x80, 0x3a, 0x31, 0xd9,
	0x52, 0x19, 0x59, 0x20, 0x5b, 0x06, 0x24, 0xd4, 0x91, 0x25, 0x72, 0x72, 0x57, 0x63, 0xe4, 0xfa,
	0x82, 0xe3, 0x44, 0xf0, 0xb6, 0x3c, 0x0a, 0x8a, 0xed, 0x88, 0x22, 0xd4, 0xcd, 0xba, 0xfb, 0xec,
	0xbb, 0xdf, 0x8c, 0x2b, 0x22, 0x65, 0x50, 0x34, 0x86, 0x7a, 0x10, 0xb5, 0x56, 0x1f, 0x3d, 0xba,
	0x2f, 0x31, 0x6c, 0xc5, 0x81, 0x00, 0x4d, 0xe5, 0x70, 0x8f, 0x0e, 0x6d, 0x83, 0xbc, 0x75, 0xe4,
	0x29, 0xcb, 0xa3, 0xe7, 0xc1, 0xf3, 0xc9, 0xf3, 0x61, 0xbb, 0xba, 0x49, 0x2f, 0xc9, 0x56, 0x8b,
	0xbd, 0x46, 0x03, 0x55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