// 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"`
	// Deprecated.
	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{
	// 494 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdd, 0x6a, 0x13, 0x41,
	0x18, 0x65, 0xd3, 0x1f, 0xec, 0xa4, 0x48, 0x5d, 0x44, 0xd6, 0x54, 0x34, 0x8a, 0x4a, 0x2e, 0xec,
	0x0e, 0xad, 0x37, 0xb2, 0x5e, 0xa5, 0x51, 0x44, 0x50, 0x91, 0x54, 0xbc, 0x28, 0x81, 0x65, 0x32,
	0x3b, 0x2c, 0x2b, 0xb3, 0xf3, 0x0d, 0x3b, 0xdf, 0x0a, 0x21, 0x2c, 0xf8, 0x08, 0x5e, 0xf4, 0x15,
	0x7c, 0x19, 0x1f, 0xa5, 0x4f, 0x21, 0x3b, 0x33, 0xf9, 0x21, 0x48, 0xda, 0xbb, 0x93, 0xf9, 0xce,
	0x9c, 0x33, 0xe7, 0xe4, 0x5b, 0x72, 0x92, 0x03, 0xe4, 0x52, 0x50, 0x2e, 0xa1, 0xce, 0x28, 0xab,
	0x11, 0x4a, 0x49, 0x7f, 0x9e, 0x4e, 0x05, 0xb2, 0x53, 0xca, 0x41, 0xd6, 0xa5, 0x4a, 0x8d, 0x16,
	0x3c, 0xd6, 0x15, 0x20, 0x84, 0xc7, 0x8e, 0x1e, 0x5b, 0x7a, 0xec, 0xe8, 0xb1, 0xa7, 0xf7, 0x1e,
	0x7a, 0x2d, 0xa6, 0x0b, 0x5a, 0x09, 0x03, 0x75, 0xc5, 0x85, 0xbb, 0xd7, 0x7b, 0xb5, 0xcd, 0x26,
	0x63, 0xc8, 0x52, 0x83, 0x0c, 0x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