Debian Codegraph @

googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.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/predict/instance/image_object_detection.proto
20
21 package instance
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Prediction input format for Image Object Detection.
39 type ImageObjectDetectionPredictionInstance struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The image bytes or Cloud Storage URI to make the prediction on.
45 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
46 // The MIME type of the content of the image. Only the images in below listed
47 // MIME types are supported.
48 // - image/jpeg
49 // - image/gif
50 // - image/png
51 // - image/webp
52 // - image/bmp
53 // - image/tiff
54 // - image/vnd.microsoft.icon
55 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
56 }
57
58 func (x *ImageObjectDetectionPredictionInstance) Reset() {
59 *x = ImageObjectDetectionPredictionInstance{}
60 if protoimpl.UnsafeEnabled {
61 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65 }
66
67 func (x *ImageObjectDetectionPredictionInstance) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*ImageObjectDetectionPredictionInstance) ProtoMessage() {}
72
73 func (x *ImageObjectDetectionPredictionInstance) ProtoReflect() protoreflect.Message {
74 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes[0]
75 if protoimpl.UnsafeEnabled && x != nil {
76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77 if ms.LoadMessageInfo() == nil {
78 ms.StoreMessageInfo(mi)
79 }
80 return ms
81 }
82 return mi.MessageOf(x)
83 }
84
85 // Deprecated: Use ImageObjectDetectionPredictionInstance.ProtoReflect.Descriptor instead.
86 func (*ImageObjectDetectionPredictionInstance) Descriptor() ([]byte, []int) {
87 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *ImageObjectDetectionPredictionInstance) GetContent() string {
91 if x != nil {
92 return x.Content
93 }
94 return ""
95 }
96
97 func (x *ImageObjectDetectionPredictionInstance) GetMimeType() string {
98 if x != nil {
99 return x.MimeType
100 }
101 return ""
102 }
103
104 var File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto protoreflect.FileDescriptor
105
106 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc = []byte{
107 0x0a, 0x54, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
108 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
109 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
110 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
111 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
112 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
113 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
114 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
115 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22,
116 0x5f, 0x0a, 0x26, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65,
117 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
118 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
119 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
120 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
121 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65,
122 0x42, 0x81, 0x03, 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
123 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
124 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e,
125 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
126 0x42, 0x2b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74,
127 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
128 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
129 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
130 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
131 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70,
132 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
133 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69,
134 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
135 0xaa, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
136 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74,
137 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
138 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x37, 0x47, 0x6f, 0x6f,
139 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74,
140 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68,
141 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74,
142 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02, 0x3d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
143 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
144 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d,
145 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74,
146 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
147 }
148
149 var (
150 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescOnce sync.Once
151 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc
152 )
153
154 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescGZIP() []byte {
155 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescOnce.Do(func() {
156 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData)
157 })
158 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData
159 }
160
161 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
162 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes = []interface{}{
163 (*ImageObjectDetectionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageObjectDetectionPredictionInstance
164 }
165 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_depIdxs = []int32{
166 0, // [0:0] is the sub-list for method output_type
167 0, // [0:0] is the sub-list for method input_type
168 0, // [0:0] is the sub-list for extension type_name
169 0, // [0:0] is the sub-list for extension extendee
170 0, // [0:0] is the sub-list for field type_name
171 }
172
173 func init() {
174 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_init()
175 }
176 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_init() {
177 if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto != nil {
178 return
179 }
180 if !protoimpl.UnsafeEnabled {
181 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
182 switch v := v.(*ImageObjectDetectionPredictionInstance); i {
183 case 0:
184 return &v.state
185 case 1:
186 return &v.sizeCache
187 case 2:
188 return &v.unknownFields
189 default:
190 return nil
191 }
192 }
193 }
194 type x struct{}
195 out := protoimpl.TypeBuilder{
196 File: protoimpl.DescBuilder{
197 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
198 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc,
199 NumEnums: 0,
200 NumMessages: 1,
201 NumExtensions: 0,
202 NumServices: 0,
203 },
204 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes,
205 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_depIdxs,
206 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes,
207 }.Build()
208 File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto = out.File
209 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc = nil
210 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes = nil
211 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_depIdxs = nil
212 }