1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type ImageClassificationPredictionInstance struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
46
47
48
49
50
51
52
53
54
55 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
56 }
57
58 func (x *ImageClassificationPredictionInstance) Reset() {
59 *x = ImageClassificationPredictionInstance{}
60 if protoimpl.UnsafeEnabled {
61 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65 }
66
67 func (x *ImageClassificationPredictionInstance) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*ImageClassificationPredictionInstance) ProtoMessage() {}
72
73 func (x *ImageClassificationPredictionInstance) ProtoReflect() protoreflect.Message {
74 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_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
86 func (*ImageClassificationPredictionInstance) Descriptor() ([]byte, []int) {
87 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *ImageClassificationPredictionInstance) GetContent() string {
91 if x != nil {
92 return x.Content
93 }
94 return ""
95 }
96
97 func (x *ImageClassificationPredictionInstance) 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_classification_proto protoreflect.FileDescriptor
105
106 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc = []byte{
107 0x0a, 0x52, 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 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
112 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
113 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31,
114 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65,
115 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5e, 0x0a,
116 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
117 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
118 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
119 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
120 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
121 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x80, 0x03,
122 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
123 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31,
124 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65,
125 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x49,
126 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
127 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74,
128 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5f, 0x67, 0x6f, 0x6f,
129 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
130 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
131 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
132 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65,
133 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61,
134 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x37, 0x47,
135 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c,
136 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53,
137 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e,
138 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
139 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
140 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c,
141 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
142 0xea, 0x02, 0x3d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
143 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31,
144 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50,
145 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
146 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
147 }
148
149 var (
150 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescOnce sync.Once
151 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc
152 )
153
154 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescGZIP() []byte {
155 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescOnce.Do(func() {
156 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData)
157 })
158 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData
159 }
160
161 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
162 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_goTypes = []interface{}{
163 (*ImageClassificationPredictionInstance)(nil),
164 }
165 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_depIdxs = []int32{
166 0,
167 0,
168 0,
169 0,
170 0,
171 }
172
173 func init() {
174 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_init()
175 }
176 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_init() {
177 if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto != nil {
178 return
179 }
180 if !protoimpl.UnsafeEnabled {
181 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
182 switch v := v.(*ImageClassificationPredictionInstance); 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_classification_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_classification_proto_goTypes,
205 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_depIdxs,
206 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes,
207 }.Build()
208 File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto = out.File
209 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc = nil
210 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_goTypes = nil
211 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_depIdxs = nil
212 }
213
View as plain text