Debian Codegraph @

googleapis/cloud/aiplatform/v1beta1/schema/data_item_payload.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto
20
21 package schema
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Payload of Image DataItem.
40 type ImageDataItem struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Required. Google Cloud Storage URI points to the original image in user's bucket.
46 // The image is up to 30MB in size.
47 GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
48 // Output only. The mime type of the content of the image. Only the images in below listed
49 // mime types are supported.
50 // - image/jpeg
51 // - image/gif
52 // - image/png
53 // - image/webp
54 // - image/bmp
55 // - image/tiff
56 // - image/vnd.microsoft.icon
57 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
58 }
59
60 func (x *ImageDataItem) Reset() {
61 *x = ImageDataItem{}
62 if protoimpl.UnsafeEnabled {
63 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67 }
68
69 func (x *ImageDataItem) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*ImageDataItem) ProtoMessage() {}
74
75 func (x *ImageDataItem) ProtoReflect() protoreflect.Message {
76 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[0]
77 if protoimpl.UnsafeEnabled && x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use ImageDataItem.ProtoReflect.Descriptor instead.
88 func (*ImageDataItem) Descriptor() ([]byte, []int) {
89 return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *ImageDataItem) GetGcsUri() string {
93 if x != nil {
94 return x.GcsUri
95 }
96 return ""
97 }
98
99 func (x *ImageDataItem) GetMimeType() string {
100 if x != nil {
101 return x.MimeType
102 }
103 return ""
104 }
105
106 // Payload of Video DataItem.
107 type VideoDataItem struct {
108 state protoimpl.MessageState
109 sizeCache protoimpl.SizeCache
110 unknownFields protoimpl.UnknownFields
111
112 // Required. Google Cloud Storage URI points to the original video in user's bucket.
113 // The video is up to 50 GB in size and up to 3 hour in duration.
114 GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
115 // Output only. The mime type of the content of the video. Only the videos in below listed
116 // mime types are supported.
117 // Supported mime_type:
118 // - video/mp4
119 // - video/avi
120 // - video/quicktime
121 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
122 }
123
124 func (x *VideoDataItem) Reset() {
125 *x = VideoDataItem{}
126 if protoimpl.UnsafeEnabled {
127 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[1]
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 ms.StoreMessageInfo(mi)
130 }
131 }
132
133 func (x *VideoDataItem) String() string {
134 return protoimpl.X.MessageStringOf(x)
135 }
136
137 func (*VideoDataItem) ProtoMessage() {}
138
139 func (x *VideoDataItem) ProtoReflect() protoreflect.Message {
140 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[1]
141 if protoimpl.UnsafeEnabled && x != nil {
142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
143 if ms.LoadMessageInfo() == nil {
144 ms.StoreMessageInfo(mi)
145 }
146 return ms
147 }
148 return mi.MessageOf(x)
149 }
150
151 // Deprecated: Use VideoDataItem.ProtoReflect.Descriptor instead.
152 func (*VideoDataItem) Descriptor() ([]byte, []int) {
153 return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{1}
154 }
155
156 func (x *VideoDataItem) GetGcsUri() string {
157 if x != nil {
158 return x.GcsUri
159 }
160 return ""
161 }
162
163 func (x *VideoDataItem) GetMimeType() string {
164 if x != nil {
165 return x.MimeType
166 }
167 return ""
168 }
169
170 // Payload of Text DataItem.
171 type TextDataItem struct {
172 state protoimpl.MessageState
173 sizeCache protoimpl.SizeCache
174 unknownFields protoimpl.UnknownFields
175
176 // Output only. Google Cloud Storage URI points to the original text in user's bucket.
177 // The text file is up to 10MB in size.
178 GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`
179 }
180
181 func (x *TextDataItem) Reset() {
182 *x = TextDataItem{}
183 if protoimpl.UnsafeEnabled {
184 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[2]
185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186 ms.StoreMessageInfo(mi)
187 }
188 }
189
190 func (x *TextDataItem) String() string {
191 return protoimpl.X.MessageStringOf(x)
192 }
193
194 func (*TextDataItem) ProtoMessage() {}
195
196 func (x *TextDataItem) ProtoReflect() protoreflect.Message {
197 mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[2]
198 if protoimpl.UnsafeEnabled && x != nil {
199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200 if ms.LoadMessageInfo() == nil {
201 ms.StoreMessageInfo(mi)
202 }
203 return ms
204 }
205 return mi.MessageOf(x)
206 }
207
208 // Deprecated: Use TextDataItem.ProtoReflect.Descriptor instead.
209 func (*TextDataItem) Descriptor() ([]byte, []int) {
210 return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{2}
211 }
212
213 func (x *TextDataItem) GetGcsUri() string {
214 if x != nil {
215 return x.GcsUri
216 }
217 return ""
218 }
219
220 var File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto protoreflect.FileDescriptor
221
222 var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc = []byte{
223 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
224 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
225 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74,
226 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
227 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
228 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
229 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
230 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
231 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0d, 0x49, 0x6d, 0x61,
232 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67, 0x63,
233 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
234 0x52, 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65,
235 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
236 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x0d, 0x56, 0x69,
237 0x64, 0x65, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67,
238 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
239 0x02, 0x52, 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d,
240 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
241 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x0c, 0x54,
242 0x65, 0x78, 0x74, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67,
243 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
244 0x03, 0x52, 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x42, 0x91, 0x02, 0x0a, 0x2a, 0x63, 0x6f,
245 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
246 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
247 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x14, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74,
248 0x65, 0x6d, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
249 0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
250 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
251 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69,
252 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
253 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xaa, 0x02,
254 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49,
255 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31,
256 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
257 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
258 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
259 0xea, 0x02, 0x2a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
260 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31,
261 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70,
262 0x72, 0x6f, 0x74, 0x6f, 0x33,
263 }
264
265 var (
266 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescOnce sync.Once
267 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc
268 )
269
270 func file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP() []byte {
271 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescOnce.Do(func() {
272 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData)
273 })
274 return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData
275 }
276
277 var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
278 var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes = []interface{}{
279 (*ImageDataItem)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.ImageDataItem
280 (*VideoDataItem)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.VideoDataItem
281 (*TextDataItem)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.TextDataItem
282 }
283 var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_depIdxs = []int32{
284 0, // [0:0] is the sub-list for method output_type
285 0, // [0:0] is the sub-list for method input_type
286 0, // [0:0] is the sub-list for extension type_name
287 0, // [0:0] is the sub-list for extension extendee
288 0, // [0:0] is the sub-list for field type_name
289 }
290
291 func init() { file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_init() }
292 func file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_init() {
293 if File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto != nil {
294 return
295 }
296 if !protoimpl.UnsafeEnabled {
297 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
298 switch v := v.(*ImageDataItem); i {
299 case 0:
300 return &v.state
301 case 1:
302 return &v.sizeCache
303 case 2:
304 return &v.unknownFields
305 default:
306 return nil
307 }
308 }
309 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
310 switch v := v.(*VideoDataItem); i {
311 case 0:
312 return &v.state
313 case 1:
314 return &v.sizeCache
315 case 2:
316 return &v.unknownFields
317 default:
318 return nil
319 }
320 }
321 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
322 switch v := v.(*TextDataItem); i {
323 case 0:
324 return &v.state
325 case 1:
326 return &v.sizeCache
327 case 2:
328 return &v.unknownFields
329 default:
330 return nil
331 }
332 }
333 }
334 type x struct{}
335 out := protoimpl.TypeBuilder{
336 File: protoimpl.DescBuilder{
337 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
338 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc,
339 NumEnums: 0,
340 NumMessages: 3,
341 NumExtensions: 0,
342 NumServices: 0,
343 },
344 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes,
345 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_depIdxs,
346 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes,
347 }.Build()
348 File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto = out.File
349 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc = nil
350 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes = nil
351 file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_depIdxs = nil
352 }