| // 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{ |
| // 360 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd1, 0xd1, 0x4a, 0xeb, 0x30, |
| 0x18, 0x07, 0x70, 0xda, 0xed, 0xec, 0x9c, 0x65, 0x1b, 0x47, 0xea, 0x4d, 0xd9, 0x44, 0xa7, 0x88, |
| 0xf4, 0x42, 0x5b, 0xa6, 0x77, 0xf5, 0x6a, 0xf6, 0x42, 0x06, 0x0e, 0xa4, 0x8a, 0x17, 0x32, 0x28, |
| 0x59, 0x1a, 0x43, 0x20, 0xcd, 0x57, 0xda, 0x74, 0x7b, 0x16, 0x1f, 0xc0, 0x97, 0xf1, 0x51, 0x7c, |
| 0x0a, 0x49, 0x52, 0xd9, 0x8d, 0xec, 0x2e, 0x5f, 0xfe, 0xbf, 0x7c, 0x5f, 0x93, 0xa2, 0x4b, 0x06, |
| 0xc0, 0x04, 0x8d, 0x88, 0x80, 0x26, 0x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