| 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/io_format.proto |
| 20 |
|
| 21 |
package schema |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
_ "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance" |
| 29 |
code "google.golang.org/genproto/googleapis/rpc/code" |
| 30 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 31 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 32 |
_ "google.golang.org/protobuf/types/known/durationpb" |
| 33 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// Represents a line of JSONL in the batch prediction output file. |
| 44 |
type PredictionResult struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// Some identifier from the input so that the prediction can be mapped back to |
| 50 |
// the input instance. |
| 51 |
// |
| 52 |
// Types that are assignable to Input: |
| 53 |
// *PredictionResult_Instance |
| 54 |
// *PredictionResult_Key |
| 55 |
Input isPredictionResult_Input `protobuf_oneof:"input"` |
| 56 |
// The prediction result. |
| 57 |
// Value is used here instead of Any so that JsonFormat does not append an |
| 58 |
// extra "@type" field when we convert the proto to JSON and so we can |
| 59 |
// represent array of objects. |
| 60 |
// Do not set error if this is set. |
| 61 |
Prediction *structpb.Value `protobuf:"bytes,3,opt,name=prediction,proto3" json:"prediction,omitempty"` |
| 62 |
// The error result. |
| 63 |
// Do not set prediction if this is set. |
| 64 |
Error *PredictionResult_Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` |
| 65 |
} |
| 66 |
|
| 67 |
func (x *PredictionResult) Reset() { |
| 68 |
*x = PredictionResult{} |
| 69 |
if protoimpl.UnsafeEnabled { |
| 70 |
mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[0] |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
func (x *PredictionResult) String() string { |
| 77 |
return protoimpl.X.MessageStringOf(x) |
| 78 |
} |
| 79 |
|
| 80 |
func (*PredictionResult) ProtoMessage() {} |
| 81 |
|
| 82 |
func (x *PredictionResult) ProtoReflect() protoreflect.Message { |
| 83 |
mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[0] |
| 84 |
if protoimpl.UnsafeEnabled && x != nil { |
| 85 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 86 |
if ms.LoadMessageInfo() == nil { |
| 87 |
ms.StoreMessageInfo(mi) |
| 88 |
} |
| 89 |
return ms |
| 90 |
} |
| 91 |
return mi.MessageOf(x) |
| 92 |
} |
| 93 |
|
| 94 |
// Deprecated: Use PredictionResult.ProtoReflect.Descriptor instead. |
| 95 |
func (*PredictionResult) Descriptor() ([]byte, []int) { |
| 96 |
return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{0} |
| 97 |
} |
| 98 |
|
| 99 |
func (m *PredictionResult) GetInput() isPredictionResult_Input { |
| 100 |
if m != nil { |
| 101 |
return m.Input |
| 102 |
} |
| 103 |
return nil |
| 104 |
} |
| 105 |
|
| 106 |
func (x *PredictionResult) GetInstance() *structpb.Struct { |
| 107 |
if x, ok := x.GetInput().(*PredictionResult_Instance); ok { |
| 108 |
return x.Instance |
| 109 |
} |
| 110 |
return nil |
| 111 |
} |
| 112 |
|
| 113 |
func (x *PredictionResult) GetKey() string { |
| 114 |
if x, ok := x.GetInput().(*PredictionResult_Key); ok { |
| 115 |
return x.Key |
| 116 |
} |
| 117 |
return "" |
| 118 |
} |
| 119 |
|
| 120 |
func (x *PredictionResult) GetPrediction() *structpb.Value { |
| 121 |
if x != nil { |
| 122 |
return x.Prediction |
| 123 |
} |
| 124 |
return nil |
| 125 |
} |
| 126 |
|
| 127 |
func (x *PredictionResult) GetError() *PredictionResult_Error { |
| 128 |
if x != nil { |
| 129 |
return x.Error |
| 130 |
} |
| 131 |
return nil |
| 132 |
} |
| 133 |
|
| 134 |
type isPredictionResult_Input interface { |
| 135 |
isPredictionResult_Input() |
| 136 |
} |
| 137 |
|
| 138 |
type PredictionResult_Instance struct { |
| 139 |
// User's input instance. |
| 140 |
// Struct is used here instead of Any so that JsonFormat does not append an |
| 141 |
// extra "@type" field when we convert the proto to JSON. |
| 142 |
Instance *structpb.Struct `protobuf:"bytes,1,opt,name=instance,proto3,oneof"` |
| 143 |
} |
| 144 |
|
| 145 |
type PredictionResult_Key struct { |
| 146 |
// Optional user-provided key from the input instance. |
| 147 |
Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"` |
| 148 |
} |
| 149 |
|
| 150 |
func (*PredictionResult_Instance) isPredictionResult_Input() {} |
| 151 |
|
| 152 |
func (*PredictionResult_Key) isPredictionResult_Input() {} |
| 153 |
|
| 154 |
type PredictionResult_Error struct { |
| 155 |
state protoimpl.MessageState |
| 156 |
sizeCache protoimpl.SizeCache |
| 157 |
unknownFields protoimpl.UnknownFields |
| 158 |
|
| 159 |
// Error status. This will be serialized into the enum name e.g. |
| 160 |
// "NOT_FOUND". |
| 161 |
Status code.Code `protobuf:"varint,1,opt,name=status,proto3,enum=google.rpc.Code" json:"status,omitempty"` |
| 162 |
// Error message with additional details. |
| 163 |
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 164 |
} |
| 165 |
|
| 166 |
func (x *PredictionResult_Error) Reset() { |
| 167 |
*x = PredictionResult_Error{} |
| 168 |
if protoimpl.UnsafeEnabled { |
| 169 |
mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[1] |
| 170 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 171 |
ms.StoreMessageInfo(mi) |
| 172 |
} |
| 173 |
} |
| 174 |
|
| 175 |
func (x *PredictionResult_Error) String() string { |
| 176 |
return protoimpl.X.MessageStringOf(x) |
| 177 |
} |
| 178 |
|
| 179 |
func (*PredictionResult_Error) ProtoMessage() {} |
| 180 |
|
| 181 |
func (x *PredictionResult_Error) ProtoReflect() protoreflect.Message { |
| 182 |
mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[1] |
| 183 |
if protoimpl.UnsafeEnabled && x != nil { |
| 184 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 185 |
if ms.LoadMessageInfo() == nil { |
| 186 |
ms.StoreMessageInfo(mi) |
| 187 |
} |
| 188 |
return ms |
| 189 |
} |
| 190 |
return mi.MessageOf(x) |
| 191 |
} |
| 192 |
|
| 193 |
// Deprecated: Use PredictionResult_Error.ProtoReflect.Descriptor instead. |
| 194 |
func (*PredictionResult_Error) Descriptor() ([]byte, []int) { |
| 195 |
return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{0, 0} |
| 196 |
} |
| 197 |
|
| 198 |
func (x *PredictionResult_Error) GetStatus() code.Code { |
| 199 |
if x != nil { |
| 200 |
return x.Status |
| 201 |
} |
| 202 |
return code.Code_OK |
| 203 |
} |
| 204 |
|
| 205 |
func (x *PredictionResult_Error) GetMessage() string { |
| 206 |
if x != nil { |
| 207 |
return x.Message |
| 208 |
} |
| 209 |
return "" |
| 210 |
} |
| 211 |
|
| 212 |
var File_google_cloud_aiplatform_v1beta1_schema_io_format_proto protoreflect.FileDescriptor |
| 213 |
|
| 214 |
var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc = []byte{ |
| 215 |
0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 216 |
0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 217 |
0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x69, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6d, |
| 218 |
0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 219 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
| 220 |
0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 221 |
0x1a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 222 |
0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 223 |
0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, |
| 224 |
0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, |
| 225 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, |
| 226 |
0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, |
| 227 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6f, |
| 228 |
0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x4c, 0x67, 0x6f, 0x6f, |
| 229 |
0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, |
| 230 |
0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, |
| 231 |
0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, |
| 232 |
0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, |
| 233 |
0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 234 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, |
| 235 |
0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 236 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, |
| 237 |
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 238 |
0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, |
| 239 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, |
| 240 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x02, 0x0a, |
| 241 |
0x10, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, |
| 242 |
0x74, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, |
| 243 |
0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 244 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x08, |
| 245 |
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, |
| 246 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x0a, |
| 247 |
0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 248 |
0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 249 |
0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, |
| 250 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, |
| 251 |
0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 252 |
0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, |
| 253 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, |
| 254 |
0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x72, |
| 255 |
0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x4b, 0x0a, 0x05, 0x45, 0x72, |
| 256 |
0x72, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, |
| 257 |
0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, |
| 258 |
0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, |
| 259 |
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 260 |
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 261 |
0x42, 0x8a, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 262 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, |
| 263 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, |
| 264 |
0x0d, 0x49, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 265 |
0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 266 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 267 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, |
| 268 |
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 269 |
0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xaa, 0x02, |
| 270 |
0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, |
| 271 |
0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, |
| 272 |
0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 273 |
0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, |
| 274 |
0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 275 |
0xea, 0x02, 0x2a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 276 |
0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, |
| 277 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, |
| 278 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 279 |
} |
| 280 |
|
| 281 |
var ( |
| 282 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescOnce sync.Once |
| 283 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc |
| 284 |
) |
| 285 |
|
| 286 |
func file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP() []byte { |
| 287 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescOnce.Do(func() { |
| 288 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData) |
| 289 |
}) |
| 290 |
return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData |
| 291 |
} |
| 292 |
|
| 293 |
var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 294 |
var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes = []interface{}{ |
| 295 |
(*PredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.PredictionResult |
| 296 |
(*PredictionResult_Error)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.PredictionResult.Error |
| 297 |
(*structpb.Struct)(nil), // 2: google.protobuf.Struct |
| 298 |
(*structpb.Value)(nil), // 3: google.protobuf.Value |
| 299 |
(code.Code)(0), // 4: google.rpc.Code |
| 300 |
} |
| 301 |
var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs = []int32{ |
| 302 |
2, // 0: google.cloud.aiplatform.v1beta1.schema.PredictionResult.instance:type_name -> google.protobuf.Struct |
| 303 |
3, // 1: google.cloud.aiplatform.v1beta1.schema.PredictionResult.prediction:type_name -> google.protobuf.Value |
| 304 |
1, // 2: google.cloud.aiplatform.v1beta1.schema.PredictionResult.error:type_name -> google.cloud.aiplatform.v1beta1.schema.PredictionResult.Error |
| 305 |
4, // 3: google.cloud.aiplatform.v1beta1.schema.PredictionResult.Error.status:type_name -> google.rpc.Code |
| 306 |
4, // [4:4] is the sub-list for method output_type |
| 307 |
4, // [4:4] is the sub-list for method input_type |
| 308 |
4, // [4:4] is the sub-list for extension type_name |
| 309 |
4, // [4:4] is the sub-list for extension extendee |
| 310 |
0, // [0:4] is the sub-list for field type_name |
| 311 |
} |
| 312 |
|
| 313 |
func init() { file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_init() } |
| 314 |
func file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_init() { |
| 315 |
if File_google_cloud_aiplatform_v1beta1_schema_io_format_proto != nil { |
| 316 |
return |
| 317 |
} |
| 318 |
file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_init() |
| 319 |
file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() |
| 320 |
if !protoimpl.UnsafeEnabled { |
| 321 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 322 |
switch v := v.(*PredictionResult); 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 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 334 |
switch v := v.(*PredictionResult_Error); i { |
| 335 |
case 0: |
| 336 |
return &v.state |
| 337 |
case 1: |
| 338 |
return &v.sizeCache |
| 339 |
case 2: |
| 340 |
return &v.unknownFields |
| 341 |
default: |
| 342 |
return nil |
| 343 |
} |
| 344 |
} |
| 345 |
} |
| 346 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 347 |
(*PredictionResult_Instance)(nil), |
| 348 |
(*PredictionResult_Key)(nil), |
| 349 |
} |
| 350 |
type x struct{} |
| 351 |
out := protoimpl.TypeBuilder{ |
| 352 |
File: protoimpl.DescBuilder{ |
| 353 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 354 |
RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc, |
| 355 |
NumEnums: 0, |
| 356 |
NumMessages: 2, |
| 357 |
NumExtensions: 0, |
| 358 |
NumServices: 0, |
| 359 |
}, |
| 360 |
GoTypes: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes, |
| 361 |
DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs, |
| 362 |
MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes, |
| 363 |
}.Build() |
| 364 |
File_google_cloud_aiplatform_v1beta1_schema_io_format_proto = out.File |
| 365 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc = nil |
| 366 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes = nil |
| 367 |
file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs = nil |
| 368 |
} |