// 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 valid rows (i.e. without values that don't match
	// DataType-s of their columns).
	ValidRowCount int64 `protobuf:"varint,4,opt,name=valid_row_count,json=validRowCount,proto3" json:"valid_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) GetValidRowCount() int64 {
	if m != nil {
		return m.ValidRowCount
	}
	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{
	// 429 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6a, 0x14, 0x31,
	0x14, 0xc7, 0x99, 0xdd, 0x5a, 0xdd, 0xb4, 0x45, 0x19, 0x6f, 0xc6, 0xae, 0xd8, 0x55, 0x44, 0xf6,
	0x42, 0x13, 0xaa, 0x77, 0xe3, 0xd5, 0xba, 0x17, 0x52, 0xb0, 0x20, 0xa3, 0x78, 0x21, 0x0b, 0x43,
	0x36, 0x13, 0x43, 0x24, 0x93, 0x33, 0x4c, 0x92, 0x56, 0x58, 0xe6, 0x29, 0x7c, 0x06, 0x5f, 0xc6,
	0x47, 0xe9, 0x53, 0x48, 0x3e, 0xca, 0x78, 0x51, 0xf6, 0xee, 0x64, 0xfe, 0xbf, 0xf3, 0x3f, 0x1f,
	0x73, 0xd0, 0x6b, 0x01, 0x20, 0x14, 0x27, 0x4c, 0x81, 0x6b, 0x08, 0x75, 0x16, 0x5a, 0x45, 0xae,
	0xce, 0xb7, 0xdc, 0xd2, 0x73, 0x62, 0xe9, 0x56, 0xf1, 0xda, 0x74, 0x9c, 0xe1, 0xae, 0x07, 0x0b,
	0xf9, 0x3c, 0xd2, 0x38, 0xd0, 0x38, 0xd2, 0x38, 0xd1, 0xa7, 0x4f, 0x92, 0x15, 0xed, 0x24, 0xe9,
	0xb9, 0x01, 0xd7, 0x33, 0x1e, 0xf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