// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1beta1/table_spec.proto

package automl

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

// A specification of a relational table.
// The table's schema is represented via its child column specs. It is
// pre-populated as part of ImportData by schema inference algorithm, the
// version of which is a required parameter of ImportData InputConfig.
// Note: While working with a table, at times the schema may be
// inconsistent with the data in the table (e.g. string in a FLOAT64 column).
// The consistency validation is done upon creation of a model.
// Used by:
//   *   Tables
type TableSpec struct {
	// Output only. The resource name of the table spec.
	// Form:
	//
	// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// column_spec_id of the time column. Only used if the parent dataset's
	// ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE
	// and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and
	// those in between to VALIDATE.
	// Required type: TIMESTAMP.
	// If both this column and ml_use_column are not set, then ML use of all rows
	// will be assigned by AutoML. NOTE: Updates of this field will instantly
	// affect any other users concurrently working with the dataset.
	TimeColumnSpecId string `protobuf:"bytes,2,opt,name=time_column_spec_id,json=timeColumnSpecId,proto3" json:"time_column_spec_id,omitempty"`
	// Output only. The number of rows (i.e. examples) in the table.
	RowCount int64 `protobuf:"varint,3,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	// Output only. The number of columns of the table. That is, the number of
	// child ColumnSpec-s.
	ColumnCount int64 `protobuf:"varint,7,opt,name=column_count,json=columnCount,proto3" json:"column_count,omitempty"`
	// Output only. Input configs via which data currently residing in the table
	// had been imported.
	InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"`
	// Used to perform consistent read-modify-write updates. If not set, a blind
	// "overwrite" update happens.
	Etag                 string   `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_TableSpec proto.InternalMessageInfo

func (m *TableSpec) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *TableSpec) GetTimeColumnSpecId() string {
	if m != nil {
		return m.TimeColumnSpecId
	}
	return ""
}

func (m *TableSpec) GetRowCount() int64 {
	if m != nil {
		return m.RowCount
	}
	return 0
}

func (m *TableSpec) GetColumnCount() int64 {
	if m != nil {
		return m.ColumnCount
	}
	return 0
}

func (m *TableSpec) GetInputConfigs() []*InputConfig {
	if m != nil {
		return m.InputConfigs
	}
	return nil
}

func (m *TableSpec) GetEtag() string {
	if m != nil {
		return m.Etag
	}
	return ""
}

func init() {
	proto.RegisterType((*TableSpec)(nil), "google.cloud.automl.v1beta1.TableSpec")
}

func init() {
	proto.RegisterFile("google/cloud/automl/v1beta1/table_spec.proto", fileDescriptor_67819f165062ce17)
}

var fileDescriptor_67819f165062ce17 = []byte{
	// 322 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x03, 0x31,
	0x10, 0x86, 0xd9, 0x56, 0xab, 0x4d, 0x2b, 0xc8, 0x7a, 0x59, 0x5a, 0xc1, 0x2a, 0x1e, 0xf6, 0xa0,
	0x09, 0xd5, 0xa3, 0xa7, 0xba, 0x07, 0xe9, 0xa1, 0x20, 0x55, 0x3c, 0x48, 0x61, 0x49, 0xd3, 0x18,
	0x02, 0xd9, 0x4c, 0xd8, 0x4d, 0xec, 0x0b, 0xf8, 0x74, 0xbe, 0x8d, 0x6f, 0x20, 0x49, 0x16, 0xbc,
	0xc8, 0xde, 0x66, 0xf2, 0x7f, 0xf3, 0x4f, 0xe6, 0x47, 0x37, 0x02, 0x40, 0x28, 0x4e, 0x98, 0x02,
	0xb7, 0x23, 0xd4, 0x59, 0xa8, 0x14, 0xf9, 0x9c, 0x6f, 0xb9, 0xa5, 0x73, 0x62, 0xe9, 0x56, 0xf1,
	0xb2, 0x31, 0x9c, 0x61, 0x53, 0x83, 0x85, 0x74, 0x1a, 0x69, 0x1c, 0x68, 0x1c, 0x69, 0xdc, 0xd2,
	0x93, 0xf3, 0xd6, 0x8a, 0x1a, 0x49, 0xa8, 0xd6, 0x60, 0xa9, 0x95, 0xa0, 0x9b, 0x38, 0x3a, 0xb9,
	0xee, 0x5a, 0x24, 0x21, 0x52, 0x57, 0x3f, 0x09, 0x1a, 0xbe, 0xfa, 0xad, 0x2f, 0x86, 0xb3, 0x34,
	0x45, 0x07, 0x9a, 0x56, 0x3c, 0x4b, 0x66, 0x49, 0x3e, 0x5c, 0x87, 0x3a, 0xbd, 0x45, 0x67, 0x56,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