// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1beta1/column_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 representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were
// given on import .
// Used by:
//   *   Tables
type ColumnSpec struct {
	// Output only. The resource name of the column specs.
	// Form:
	//
	// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The data type of elements stored in the column.
	DataType *DataType `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	// Output only. The name of the column to show in the interface. The name can
	// be up to 100 characters long and can consist only of ASCII Latin letters
	// A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and
	// must start with a letter or a digit.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Stats of the series of values in the column.
	// This field may be stale, see the ancestor's
	// Dataset.tables_dataset_metadata.stats_update_time field
	// for the timestamp at which these stats were last updated.
	DataStats *DataStats `protobuf:"bytes,4,opt,name=data_stats,json=dataStats,proto3" json:"data_stats,omitempty"`
	// Output only. Top 10 most correlated with this column columns of the table,
	// ordered by
	// [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
	// This field may be stale, see the ancestor's
	// Dataset.tables_dataset_metadata.stats_update_time field
	// for the timestamp at which these stats were last updated.
	TopCorrelatedColumns []*ColumnSpec_CorrelatedColumn `protobuf:"bytes,5,rep,name=top_correlated_columns,json=topCorrelatedColumns,proto3" json:"top_correlated_columns,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 *ColumnSpec) Reset()         { *m = ColumnSpec{} }
func (m *ColumnSpec) String() string { return proto.CompactTextString(m) }
func (*ColumnSpec) ProtoMessage()    {}
func (*ColumnSpec) Descriptor() ([]byte, []int) {
	return fileDescriptor_828eac69e0599d60, []int{0}
}

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

var xxx_messageInfo_ColumnSpec proto.InternalMessageInfo

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

func (m *ColumnSpec) GetDataType() *DataType {
	if m != nil {
		return m.DataType
	}
	return nil
}

func (m *ColumnSpec) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *ColumnSpec) GetDataStats() *DataStats {
	if m != nil {
		return m.DataStats
	}
	return nil
}

func (m *ColumnSpec) GetTopCorrelatedColumns() []*ColumnSpec_CorrelatedColumn {
	if m != nil {
		return m.TopCorrelatedColumns
	}
	return nil
}

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

// Identifies the table's column, and its correlation with the column this
// ColumnSpec describes.
type ColumnSpec_CorrelatedColumn struct {
	// The column_spec_id of the correlated column, which belongs to the same
	// table as the in-context column.
	ColumnSpecId string `protobuf:"bytes,1,opt,name=column_spec_id,json=columnSpecId,proto3" json:"column_spec_id,omitempty"`
	// Correlation between this and the in-context column.
	CorrelationStats     *CorrelationStats `protobuf:"bytes,2,opt,name=correlation_stats,json=correlationStats,proto3" json:"correlation_stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

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

var xxx_messageInfo_ColumnSpec_CorrelatedColumn proto.InternalMessageInfo

func (m *ColumnSpec_CorrelatedColumn) GetColumnSpecId() string {
	if m != nil {
		return m.ColumnSpecId
	}
	return ""
}

func (m *ColumnSpec_CorrelatedColumn) GetCorrelationStats() *CorrelationStats {
	if m != nil {
		return m.CorrelationStats
	}
	return nil
}

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

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

var fileDescriptor_828eac69e0599d60 = []byte{
	// 397 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0xab, 0xd3, 0x40,
	0x10, 0xc7, 0xc9, 0xeb, 0xf3, 0xe1, 0xdb, 0x16, 0xa9, 0x8b, 0x48, 0x68, 0x05, 0xab, 0xa8, 0xf4,
	0x60, 0x37, 0xb4, 0x5e, 0x04, 0x4f, 0x6d, 0x15, 0xf1, 0xa0, 0x48, 0x2a, 0x1e, 0x4a, 0x21, 0x4c,
	0x37, 0x4b, 0x08, 0x6c, 0x76, 0x96, 0x64, 0x23, 0xf4, 0xee, 0x47, 0xf0, 0x53, 0xf9, 0x4d, 0xfc,
	0x16, 0x92, 0xdd, 0x6d, 0x2a, 0x45, 0xd2, 0x77, 0x9b, 0xcc, 0xfc, 0xf2, 0x9f, 0x99, 0xff, 0x0e,
	0x99, 0x65, 0x88, 0x99, 0x14, 0x11, 0x97, 0x58, 0xa7, 0x11, 0xd4, 0x06, 0x0b, 0x19, 0xfd, 0x98,
	0xef, 0x85, 0x81, 0x79, 0xc4, 0x51, 0xd6, 0x85, 0x4a, 0x2a, 0x2d, 0x38, 0xd3, 0x25, 0x1a, 0xa4,
	0x63, 0x87, 0x33, 0x8b, 0x33, 0x87, 0x33, 0x8f, 0x8f, 0x5e, 0x77, 0x69, 0xa5, 0x60, 0x20, 0xa9,
	0x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