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_v1_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_v1_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_v1_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_v1_schema_predict_instance_image_classification_proto protoreflect.FileDescriptor
105
106 var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc = []byte{
107 0x0a, 0x4d, 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, 0x2f, 0x73, 0x63, 0x68,
109 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74,
110 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
111 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
112 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69,
113 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65,
114 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
115 0x6e, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73,
116 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
117 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07,
118 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
119 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74,
120 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54,
121 0x79, 0x70, 0x65, 0x42, 0xe7, 0x02, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
122 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
123 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72,
124 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a,
125 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
126 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73,
127 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f,
128 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
129 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
130 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
131 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70,
132 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b,
133 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x32, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
134 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
135 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65,
136 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x32,
137 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50,
138 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d,
139 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
140 0x63, 0x65, 0xea, 0x02, 0x38, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
141 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a,
142 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64,
143 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70,
144 0x72, 0x6f, 0x74, 0x6f, 0x33,
145 }
146
147 var (
148 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescOnce sync.Once
149 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc
150 )
151
152 func file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescGZIP() []byte {
153 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescOnce.Do(func() {
154 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData)
155 })
156 return file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData
157 }
158
159 var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
160 var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes = []interface{}{
161 (*ImageClassificationPredictionInstance)(nil),
162 }
163 var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs = []int32{
164 0,
165 0,
166 0,
167 0,
168 0,
169 }
170
171 func init() {
172 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_init()
173 }
174 func file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_init() {
175 if File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto != nil {
176 return
177 }
178 if !protoimpl.UnsafeEnabled {
179 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
180 switch v := v.(*ImageClassificationPredictionInstance); i {
181 case 0:
182 return &v.state
183 case 1:
184 return &v.sizeCache
185 case 2:
186 return &v.unknownFields
187 default:
188 return nil
189 }
190 }
191 }
192 type x struct{}
193 out := protoimpl.TypeBuilder{
194 File: protoimpl.DescBuilder{
195 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
196 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc,
197 NumEnums: 0,
198 NumMessages: 1,
199 NumExtensions: 0,
200 NumServices: 0,
201 },
202 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes,
203 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs,
204 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes,
205 }.Build()
206 File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto = out.File
207 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc = nil
208 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes = nil
209 file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs = nil
210 }
211
View as plain text