Debian Codegraph @

automl/apiv1beta1/automlpb/data_types.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/automl/v1beta1/data_types.proto
20
21 package automlpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // `TypeCode` is used as a part of
38 // [DataType][google.cloud.automl.v1beta1.DataType].
39 type TypeCode int32
40
41 const (
42 // Not specified. Should not be used.
43 TypeCode_TYPE_CODE_UNSPECIFIED TypeCode = 0
44 // Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
45 // `"-Infinity"`.
46 TypeCode_FLOAT64 TypeCode = 3
47 // Must be between 0AD and 9999AD. Encoded as `string` according to
48 // [time_format][google.cloud.automl.v1beta1.DataType.time_format], or, if
49 // that format is not set, then in RFC 3339 `date-time` format, where
50 // `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z).
51 TypeCode_TIMESTAMP TypeCode = 4
52 // Encoded as `string`.
53 TypeCode_STRING TypeCode = 6
54 // Encoded as `list`, where the list elements are represented according to
55 //
56 // [list_element_type][google.cloud.automl.v1beta1.DataType.list_element_type].
57 TypeCode_ARRAY TypeCode = 8
58 // Encoded as `struct`, where field values are represented according to
59 // [struct_type][google.cloud.automl.v1beta1.DataType.struct_type].
60 TypeCode_STRUCT TypeCode = 9
61 // Values of this type are not further understood by AutoML,
62 // e.g. AutoML is unable to tell the order of values (as it could with
63 // FLOAT64), or is unable to say if one value contains another (as it
64 // could with STRING).
65 // Encoded as `string` (bytes should be base64-encoded, as described in RFC
66 // 4648, section 4).
67 TypeCode_CATEGORY TypeCode = 10
68 )
69
70 // Enum value maps for TypeCode.
71 var (
72 TypeCode_name = map[int32]string{
73 0: "TYPE_CODE_UNSPECIFIED",
74 3: "FLOAT64",
75 4: "TIMESTAMP",
76 6: "STRING",
77 8: "ARRAY",
78 9: "STRUCT",
79 10: "CATEGORY",
80 }
81 TypeCode_value = map[string]int32{
82 "TYPE_CODE_UNSPECIFIED": 0,
83 "FLOAT64": 3,
84 "TIMESTAMP": 4,
85 "STRING": 6,
86 "ARRAY": 8,
87 "STRUCT": 9,
88 "CATEGORY": 10,
89 }
90 )
91
92 func (x TypeCode) Enum() *TypeCode {
93 p := new(TypeCode)
94 *p = x
95 return p
96 }
97
98 func (x TypeCode) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (TypeCode) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_cloud_automl_v1beta1_data_types_proto_enumTypes[0].Descriptor()
104 }
105
106 func (TypeCode) Type() protoreflect.EnumType {
107 return &file_google_cloud_automl_v1beta1_data_types_proto_enumTypes[0]
108 }
109
110 func (x TypeCode) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114 // Deprecated: Use TypeCode.Descriptor instead.
115 func (TypeCode) EnumDescriptor() ([]byte, []int) {
116 return file_google_cloud_automl_v1beta1_data_types_proto_rawDescGZIP(), []int{0}
117 }
118
119 // Indicated the type of data that can be stored in a structured data entity
120 // (e.g. a table).
121 type DataType struct {
122 state protoimpl.MessageState
123 sizeCache protoimpl.SizeCache
124 unknownFields protoimpl.UnknownFields
125
126 // Details of DataType-s that need additional specification.
127 //
128 // Types that are assignable to Details:
129 //
130 // *DataType_ListElementType
131 // *DataType_StructType
132 // *DataType_TimeFormat
133 Details isDataType_Details `protobuf_oneof:"details"`
134 // Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
135 TypeCode TypeCode `protobuf:"varint,1,opt,name=type_code,json=typeCode,proto3,enum=google.cloud.automl.v1beta1.TypeCode" json:"type_code,omitempty"`
136 // If true, this DataType can also be `NULL`. In .CSV files `NULL` value is
137 // expressed as an empty string.
138 Nullable bool `protobuf:"varint,4,opt,name=nullable,proto3" json:"nullable,omitempty"`
139 }
140
141 func (x *DataType) Reset() {
142 *x = DataType{}
143 mi := &file_google_cloud_automl_v1beta1_data_types_proto_msgTypes[0]
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 ms.StoreMessageInfo(mi)
146 }
147
148 func (x *DataType) String() string {
149 return protoimpl.X.MessageStringOf(x)
150 }
151
152 func (*DataType) ProtoMessage() {}
153
154 func (x *DataType) ProtoReflect() protoreflect.Message {
155 mi := &file_google_cloud_automl_v1beta1_data_types_proto_msgTypes[0]
156 if x != nil {
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 if ms.LoadMessageInfo() == nil {
159 ms.StoreMessageInfo(mi)
160 }
161 return ms
162 }
163 return mi.MessageOf(x)
164 }
165
166 // Deprecated: Use DataType.ProtoReflect.Descriptor instead.
167 func (*DataType) Descriptor() ([]byte, []int) {
168 return file_google_cloud_automl_v1beta1_data_types_proto_rawDescGZIP(), []int{0}
169 }
170
171 func (m *DataType) GetDetails() isDataType_Details {
172 if m != nil {
173 return m.Details
174 }
175 return nil
176 }
177
178 func (x *DataType) GetListElementType() *DataType {
179 if x, ok := x.GetDetails().(*DataType_ListElementType); ok {
180 return x.ListElementType
181 }
182 return nil
183 }
184
185 func (x *DataType) GetStructType() *StructType {
186 if x, ok := x.GetDetails().(*DataType_StructType); ok {
187 return x.StructType
188 }
189 return nil
190 }
191
192 func (x *DataType) GetTimeFormat() string {
193 if x, ok := x.GetDetails().(*DataType_TimeFormat); ok {
194 return x.TimeFormat
195 }
196 return ""
197 }
198
199 func (x *DataType) GetTypeCode() TypeCode {
200 if x != nil {
201 return x.TypeCode
202 }
203 return TypeCode_TYPE_CODE_UNSPECIFIED
204 }
205
206 func (x *DataType) GetNullable() bool {
207 if x != nil {
208 return x.Nullable
209 }
210 return false
211 }
212
213 type isDataType_Details interface {
214 isDataType_Details()
215 }
216
217 type DataType_ListElementType struct {
218 // If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
219 // then `list_element_type` is the type of the elements.
220 ListElementType *DataType `protobuf:"bytes,2,opt,name=list_element_type,json=listElementType,proto3,oneof"`
221 }
222
223 type DataType_StructType struct {
224 // If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
225 // provides type information for the struct's fields.
226 StructType *StructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"`
227 }
228
229 type DataType_TimeFormat struct {
230 // If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
231 // then `time_format` provides the format in which that time field is
232 // expressed. The time_format must either be one of:
233 // * `UNIX_SECONDS`
234 // * `UNIX_MILLISECONDS`
235 // * `UNIX_MICROSECONDS`
236 // * `UNIX_NANOSECONDS`
237 // (for respectively number of seconds, milliseconds, microseconds and
238 // nanoseconds since start of the Unix epoch);
239 // or be written in `strftime` syntax. If time_format is not set, then the
240 // default format as described on the type_code is used.
241 TimeFormat string `protobuf:"bytes,5,opt,name=time_format,json=timeFormat,proto3,oneof"`
242 }
243
244 func (*DataType_ListElementType) isDataType_Details() {}
245
246 func (*DataType_StructType) isDataType_Details() {}
247
248 func (*DataType_TimeFormat) isDataType_Details() {}
249
250 // `StructType` defines the DataType-s of a [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT] type.
251 type StructType struct {
252 state protoimpl.MessageState
253 sizeCache protoimpl.SizeCache
254 unknownFields protoimpl.UnknownFields
255
256 // Unordered map of struct field names to their data types.
257 // Fields cannot be added or removed via Update. Their names and
258 // data types are still mutable.
259 Fields map[string]*DataType `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
260 }
261
262 func (x *StructType) Reset() {
263 *x = StructType{}
264 mi := &file_google_cloud_automl_v1beta1_data_types_proto_msgTypes[1]
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 ms.StoreMessageInfo(mi)
267 }
268
269 func (x *StructType) String() string {
270 return protoimpl.X.MessageStringOf(x)
271 }
272
273 func (*StructType) ProtoMessage() {}
274
275 func (x *StructType) ProtoReflect() protoreflect.Message {
276 mi := &file_google_cloud_automl_v1beta1_data_types_proto_msgTypes[1]
277 if x != nil {
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 if ms.LoadMessageInfo() == nil {
280 ms.StoreMessageInfo(mi)
281 }
282 return ms
283 }
284 return mi.MessageOf(x)
285 }
286
287 // Deprecated: Use StructType.ProtoReflect.Descriptor instead.
288 func (*StructType) Descriptor() ([]byte, []int) {
289 return file_google_cloud_automl_v1beta1_data_types_proto_rawDescGZIP(), []int{1}
290 }
291
292 func (x *StructType) GetFields() map[string]*DataType {
293 if x != nil {
294 return x.Fields
295 }
296 return nil
297 }
298
299 var File_google_cloud_automl_v1beta1_data_types_proto protoreflect.FileDescriptor
300
301 var file_google_cloud_automl_v1beta1_data_types_proto_rawDesc = []byte{
302 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
303 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x61,
304 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
305 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
306 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0xb9, 0x02, 0x0a, 0x08,
307 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74,
308 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
309 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
310 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
311 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x6c, 0x69,
312 0x73, 0x74, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a,
313 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
314 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
315 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
316 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x73,
317 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x74, 0x69, 0x6d,
318 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
319 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x42, 0x0a, 0x09,
320 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
321 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
322 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x79,
323 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65,
324 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01,
325 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07,
326 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75,
327 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73,
328 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
329 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62,
330 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e,
331 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65,
332 0x6c, 0x64, 0x73, 0x1a, 0x60, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74,
333 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
334 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
335 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
336 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
337 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
338 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x72, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64,
339 0x65, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55,
340 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
341 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d,
342 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49,
343 0x4e, 0x47, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x08, 0x12,
344 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x43,
345 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x10, 0x0a, 0x42, 0x9b, 0x01, 0x0a, 0x1f, 0x63, 0x6f,
346 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
347 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a,
348 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
349 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76,
350 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b,
351 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
352 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56,
353 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
354 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a,
355 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
356 }
357
358 var (
359 file_google_cloud_automl_v1beta1_data_types_proto_rawDescOnce sync.Once
360 file_google_cloud_automl_v1beta1_data_types_proto_rawDescData = file_google_cloud_automl_v1beta1_data_types_proto_rawDesc
361 )
362
363 func file_google_cloud_automl_v1beta1_data_types_proto_rawDescGZIP() []byte {
364 file_google_cloud_automl_v1beta1_data_types_proto_rawDescOnce.Do(func() {
365 file_google_cloud_automl_v1beta1_data_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_data_types_proto_rawDescData)
366 })
367 return file_google_cloud_automl_v1beta1_data_types_proto_rawDescData
368 }
369
370 var file_google_cloud_automl_v1beta1_data_types_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
371 var file_google_cloud_automl_v1beta1_data_types_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
372 var file_google_cloud_automl_v1beta1_data_types_proto_goTypes = []any{
373 (TypeCode)(0), // 0: google.cloud.automl.v1beta1.TypeCode
374 (*DataType)(nil), // 1: google.cloud.automl.v1beta1.DataType
375 (*StructType)(nil), // 2: google.cloud.automl.v1beta1.StructType
376 nil, // 3: google.cloud.automl.v1beta1.StructType.FieldsEntry
377 }
378 var file_google_cloud_automl_v1beta1_data_types_proto_depIdxs = []int32{
379 1, // 0: google.cloud.automl.v1beta1.DataType.list_element_type:type_name -> google.cloud.automl.v1beta1.DataType
380 2, // 1: google.cloud.automl.v1beta1.DataType.struct_type:type_name -> google.cloud.automl.v1beta1.StructType
381 0, // 2: google.cloud.automl.v1beta1.DataType.type_code:type_name -> google.cloud.automl.v1beta1.TypeCode
382 3, // 3: google.cloud.automl.v1beta1.StructType.fields:type_name -> google.cloud.automl.v1beta1.StructType.FieldsEntry
383 1, // 4: google.cloud.automl.v1beta1.StructType.FieldsEntry.value:type_name -> google.cloud.automl.v1beta1.DataType
384 5, // [5:5] is the sub-list for method output_type
385 5, // [5:5] is the sub-list for method input_type
386 5, // [5:5] is the sub-list for extension type_name
387 5, // [5:5] is the sub-list for extension extendee
388 0, // [0:5] is the sub-list for field type_name
389 }
390
391 func init() { file_google_cloud_automl_v1beta1_data_types_proto_init() }
392 func file_google_cloud_automl_v1beta1_data_types_proto_init() {
393 if File_google_cloud_automl_v1beta1_data_types_proto != nil {
394 return
395 }
396 file_google_cloud_automl_v1beta1_data_types_proto_msgTypes[0].OneofWrappers = []any{
397 (*DataType_ListElementType)(nil),
398 (*DataType_StructType)(nil),
399 (*DataType_TimeFormat)(nil),
400 }
401 type x struct{}
402 out := protoimpl.TypeBuilder{
403 File: protoimpl.DescBuilder{
404 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
405 RawDescriptor: file_google_cloud_automl_v1beta1_data_types_proto_rawDesc,
406 NumEnums: 1,
407 NumMessages: 3,
408 NumExtensions: 0,
409 NumServices: 0,
410 },
411 GoTypes: file_google_cloud_automl_v1beta1_data_types_proto_goTypes,
412 DependencyIndexes: file_google_cloud_automl_v1beta1_data_types_proto_depIdxs,
413 EnumInfos: file_google_cloud_automl_v1beta1_data_types_proto_enumTypes,
414 MessageInfos: file_google_cloud_automl_v1beta1_data_types_proto_msgTypes,
415 }.Build()
416 File_google_cloud_automl_v1beta1_data_types_proto = out.File
417 file_google_cloud_automl_v1beta1_data_types_proto_rawDesc = nil
418 file_google_cloud_automl_v1beta1_data_types_proto_goTypes = nil
419 file_google_cloud_automl_v1beta1_data_types_proto_depIdxs = nil
420 }