forked from googleapis/java-spanner
/
dataset.pb.go
212 lines (187 loc) · 8.6 KB
/
dataset.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1/dataset.proto
package automl
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "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 workspace for solving a single, particular machine learning (ML) problem.
// A workspace contains examples that may be annotated.
type Dataset struct {
// Required.
// The dataset metadata that is specific to the problem type.
//
// Types that are valid to be assigned to DatasetMetadata:
// *Dataset_TranslationDatasetMetadata
DatasetMetadata isDataset_DatasetMetadata `protobuf_oneof:"dataset_metadata"`
// Output only. The resource name of the dataset.
// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The name of the dataset to show in the interface. The name can be
// up to 32 characters long and can consist only of ASCII Latin letters A-Z
// and a-z, underscores
// (_), and ASCII digits 0-9.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// User-provided description of the dataset. The description can be up to
// 25000 characters long.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The number of examples in the dataset.
ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"`
// Output only. Timestamp when this dataset was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Used to perform consistent read-modify-write updates. If not set, a blind
// "overwrite" update happens.
Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. The labels with user-defined metadata to organize your dataset.
//
// Label keys and values can be no longer than 64 characters
// (Unicode codepoints), can only contain lowercase letters, numeric
// characters, underscores and dashes. International characters are allowed.
// Label values are optional. Label keys must start with a letter.
//
// See https://goo.gl/xmQnxf for more information on and examples of labels.
Labels map[string]string `protobuf:"bytes,39,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Dataset) Reset() { *m = Dataset{} }
func (m *Dataset) String() string { return proto.CompactTextString(m) }
func (*Dataset) ProtoMessage() {}
func (*Dataset) Descriptor() ([]byte, []int) {
return fileDescriptor_78541757d26dc96c, []int{0}
}
func (m *Dataset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Dataset.Unmarshal(m, b)
}
func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Dataset.Marshal(b, m, deterministic)
}
func (m *Dataset) XXX_Merge(src proto.Message) {
xxx_messageInfo_Dataset.Merge(m, src)
}
func (m *Dataset) XXX_Size() int {
return xxx_messageInfo_Dataset.Size(m)
}
func (m *Dataset) XXX_DiscardUnknown() {
xxx_messageInfo_Dataset.DiscardUnknown(m)
}
var xxx_messageInfo_Dataset proto.InternalMessageInfo
type isDataset_DatasetMetadata interface {
isDataset_DatasetMetadata()
}
type Dataset_TranslationDatasetMetadata struct {
TranslationDatasetMetadata *TranslationDatasetMetadata `protobuf:"bytes,23,opt,name=translation_dataset_metadata,json=translationDatasetMetadata,proto3,oneof"`
}
func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {}
func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata {
if m != nil {
return m.DatasetMetadata
}
return nil
}
func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata {
if x, ok := m.GetDatasetMetadata().(*Dataset_TranslationDatasetMetadata); ok {
return x.TranslationDatasetMetadata
}
return nil
}
func (m *Dataset) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Dataset) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *Dataset) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Dataset) GetExampleCount() int32 {
if m != nil {
return m.ExampleCount
}
return 0
}
func (m *Dataset) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Dataset) GetEtag() string {
if m != nil {
return m.Etag
}
return ""
}
func (m *Dataset) GetLabels() map[string]string {
if m != nil {
return m.Labels
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Dataset) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Dataset_TranslationDatasetMetadata)(nil),
}
}
func init() {
proto.RegisterType((*Dataset)(nil), "google.cloud.automl.v1.Dataset")
proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.Dataset.LabelsEntry")
}
func init() {
proto.RegisterFile("google/cloud/automl/v1/dataset.proto", fileDescriptor_78541757d26dc96c)
}
var fileDescriptor_78541757d26dc96c = []byte{
// 455 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0x6a, 0xd4, 0x40,
0x14, 0xc6, 0xcd, 0xae, 0xad, 0x38, 0xa9, 0x52, 0x07, 0xad, 0x31, 0x14, 0x8c, 0x7f, 0xc0, 0x80,
0x30, 0x21, 0xeb, 0x8d, 0xa6, 0xde, 0xd8, 0x55, 0xf4, 0xa2, 0x15, 0x09, 0x65, 0x2f, 0x64, 0x21,
0x9c, 0xcd, 0x8e, 0x21, 0x38, 0x99, 0x09, 0xc9, 0xc9, 0xe2, 0xbe, 0x52, 0x1f, 0xc5, 0xe7, 0xf0,
0xca, 0xa7, 0x90, 0xf9, 0x13, 0x5a, 0x8a, 0x7b, 0x77, 0xe6, 0xfc, 0xbe, 0x73, 0xf6, 0x3b, 0xdf,
0x86, 0xbc, 0xac, 0x94, 0xaa, 0x04, 0x4f, 0x4a, 0xa1, 0x86, 0x75, 0x02, 0x03, 0xaa, 0x46, 0x24,
0x9b, 0x34, 0x59, 0x03, 0x42, 0xcf, 0x91, 0xb5, 0x9d, 0x42, 0x45, 0x8f, 0xac, 0x8a, 0x19, 0x15,
0xb3, 0x2a, 0xb6, 0x49, 0xc3, 0x78, 0xc7, 0x34, 0x76, 0x20, 0x7b, 0x01, 0x58, 0x2b, 0x69, 0x37,
0x84, 0x4f, 0x9d, 0xd2, 0xbc, 0x56, 0xc3, 0x8f, 0x04, 0xeb, 0x86, 0xf7, 0x08, 0x4d, 0xeb, 0x04,
0xc7, 0x4e, 0x00, 0x6d, 0x9d, 0x80, 0x94, 0x0a, 0xcd, 0x74, 0x6f, 0xe9, 0xf3, 0x3f, 0x53, 0x72,
0xe7, 0xa3, 0xb5, 0x44, 0x37, 0xe4, 0xf8, 0xda, 0xfe, 0xc2, 0x39, 0x2d, 0x1a, 0x8e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