1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/aiplatform/v1/prediction_service.proto 18 19 package com.google.cloud.aiplatform.v1; 20 21 public final class PredictionServiceProto { PredictionServiceProto()22 private PredictionServiceProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_aiplatform_v1_PredictRequest_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_aiplatform_v1_PredictResponse_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_aiplatform_v1_PredictResponse_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_aiplatform_v1_RawPredictRequest_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_aiplatform_v1_RawPredictRequest_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_aiplatform_v1_ExplainRequest_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_aiplatform_v1_ExplainRequest_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_aiplatform_v1_ExplainResponse_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_aiplatform_v1_ExplainResponse_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n3google/cloud/aiplatform/v1/prediction_" 60 + "service.proto\022\032google.cloud.aiplatform.v" 61 + "1\032\034google/api/annotations.proto\032\027google/" 62 + "api/client.proto\032\037google/api/field_behav" 63 + "ior.proto\032\031google/api/httpbody.proto\032\031go" 64 + "ogle/api/resource.proto\032,google/cloud/ai" 65 + "platform/v1/explanation.proto\032\034google/pr" 66 + "otobuf/struct.proto\"\252\001\n\016PredictRequest\022<" 67 + "\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.goo" 68 + "gleapis.com/Endpoint\022.\n\tinstances\030\002 \003(\0132" 69 + "\026.google.protobuf.ValueB\003\340A\002\022*\n\nparamete" 70 + "rs\030\003 \001(\0132\026.google.protobuf.Value\"\321\001\n\017Pre" 71 + "dictResponse\022+\n\013predictions\030\001 \003(\0132\026.goog" 72 + "le.protobuf.Value\022\031\n\021deployed_model_id\030\002" 73 + " \001(\t\0226\n\005model\030\003 \001(\tB\'\340A\003\372A!\n\037aiplatform." 74 + "googleapis.com/Model\022\035\n\020model_version_id" 75 + "\030\005 \001(\tB\003\340A\003\022\037\n\022model_display_name\030\004 \001(\tB" 76 + "\003\340A\003\"z\n\021RawPredictRequest\022<\n\010endpoint\030\001 " 77 + "\001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/E" 78 + "ndpoint\022\'\n\thttp_body\030\002 \001(\0132\024.google.api." 79 + "HttpBody\"\235\002\n\016ExplainRequest\022<\n\010endpoint\030" 80 + "\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com" 81 + "/Endpoint\022.\n\tinstances\030\002 \003(\0132\026.google.pr" 82 + "otobuf.ValueB\003\340A\002\022*\n\nparameters\030\004 \001(\0132\026." 83 + "google.protobuf.Value\022V\n\031explanation_spe" 84 + "c_override\030\005 \001(\01323.google.cloud.aiplatfo" 85 + "rm.v1.ExplanationSpecOverride\022\031\n\021deploye" 86 + "d_model_id\030\003 \001(\t\"\230\001\n\017ExplainResponse\022=\n\014" 87 + "explanations\030\001 \003(\0132\'.google.cloud.aiplat" 88 + "form.v1.Explanation\022\031\n\021deployed_model_id" 89 + "\030\002 \001(\t\022+\n\013predictions\030\003 \003(\0132\026.google.pro" 90 + "tobuf.Value2\327\006\n\021PredictionService\022\224\002\n\007Pr" 91 + "edict\022*.google.cloud.aiplatform.v1.Predi" 92 + "ctRequest\032+.google.cloud.aiplatform.v1.P" 93 + "redictResponse\"\257\001\202\323\344\223\002\210\001\"9/v1/{endpoint=" 94 + "projects/*/locations/*/endpoints/*}:pred" 95 + "ict:\001*ZH\"C/v1/{endpoint=projects/*/locat" 96 + "ions/*/publishers/*/models/*}:predict:\001*" 97 + "\332A\035endpoint,instances,parameters\022\376\001\n\nRaw" 98 + "Predict\022-.google.cloud.aiplatform.v1.Raw" 99 + "PredictRequest\032\024.google.api.HttpBody\"\252\001\202" 100 + "\323\344\223\002\216\001\"</v1/{endpoint=projects/*/locatio" 101 + "ns/*/endpoints/*}:rawPredict:\001*ZK\"F/v1/{" 102 + "endpoint=projects/*/locations/*/publishe" 103 + "rs/*/models/*}:rawPredict:\001*\332A\022endpoint," 104 + "http_body\022\332\001\n\007Explain\022*.google.cloud.aip" 105 + "latform.v1.ExplainRequest\032+.google.cloud" 106 + ".aiplatform.v1.ExplainResponse\"v\202\323\344\223\002>\"9" 107 + "/v1/{endpoint=projects/*/locations/*/end" 108 + "points/*}:explain:\001*\332A/endpoint,instance" 109 + "s,parameters,deployed_model_id\032M\312A\031aipla" 110 + "tform.googleapis.com\322A.https://www.googl" 111 + "eapis.com/auth/cloud-platformB\324\001\n\036com.go" 112 + "ogle.cloud.aiplatform.v1B\026PredictionServ" 113 + "iceProtoP\001Z>cloud.google.com/go/aiplatfo" 114 + "rm/apiv1/aiplatformpb;aiplatformpb\252\002\032Goo" 115 + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" 116 + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" 117 + "::V1b\006proto3" 118 }; 119 descriptor = 120 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 121 descriptorData, 122 new com.google.protobuf.Descriptors.FileDescriptor[] { 123 com.google.api.AnnotationsProto.getDescriptor(), 124 com.google.api.ClientProto.getDescriptor(), 125 com.google.api.FieldBehaviorProto.getDescriptor(), 126 com.google.api.HttpBodyProto.getDescriptor(), 127 com.google.api.ResourceProto.getDescriptor(), 128 com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(), 129 com.google.protobuf.StructProto.getDescriptor(), 130 }); 131 internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor = 132 getDescriptor().getMessageTypes().get(0); 133 internal_static_google_cloud_aiplatform_v1_PredictRequest_fieldAccessorTable = 134 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 135 internal_static_google_cloud_aiplatform_v1_PredictRequest_descriptor, 136 new java.lang.String[] { 137 "Endpoint", "Instances", "Parameters", 138 }); 139 internal_static_google_cloud_aiplatform_v1_PredictResponse_descriptor = 140 getDescriptor().getMessageTypes().get(1); 141 internal_static_google_cloud_aiplatform_v1_PredictResponse_fieldAccessorTable = 142 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 143 internal_static_google_cloud_aiplatform_v1_PredictResponse_descriptor, 144 new java.lang.String[] { 145 "Predictions", "DeployedModelId", "Model", "ModelVersionId", "ModelDisplayName", 146 }); 147 internal_static_google_cloud_aiplatform_v1_RawPredictRequest_descriptor = 148 getDescriptor().getMessageTypes().get(2); 149 internal_static_google_cloud_aiplatform_v1_RawPredictRequest_fieldAccessorTable = 150 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 151 internal_static_google_cloud_aiplatform_v1_RawPredictRequest_descriptor, 152 new java.lang.String[] { 153 "Endpoint", "HttpBody", 154 }); 155 internal_static_google_cloud_aiplatform_v1_ExplainRequest_descriptor = 156 getDescriptor().getMessageTypes().get(3); 157 internal_static_google_cloud_aiplatform_v1_ExplainRequest_fieldAccessorTable = 158 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 159 internal_static_google_cloud_aiplatform_v1_ExplainRequest_descriptor, 160 new java.lang.String[] { 161 "Endpoint", "Instances", "Parameters", "ExplanationSpecOverride", "DeployedModelId", 162 }); 163 internal_static_google_cloud_aiplatform_v1_ExplainResponse_descriptor = 164 getDescriptor().getMessageTypes().get(4); 165 internal_static_google_cloud_aiplatform_v1_ExplainResponse_fieldAccessorTable = 166 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 167 internal_static_google_cloud_aiplatform_v1_ExplainResponse_descriptor, 168 new java.lang.String[] { 169 "Explanations", "DeployedModelId", "Predictions", 170 }); 171 com.google.protobuf.ExtensionRegistry registry = 172 com.google.protobuf.ExtensionRegistry.newInstance(); 173 registry.add(com.google.api.ClientProto.defaultHost); 174 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 175 registry.add(com.google.api.AnnotationsProto.http); 176 registry.add(com.google.api.ClientProto.methodSignature); 177 registry.add(com.google.api.ClientProto.oauthScopes); 178 registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)179 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 180 descriptor, registry); com.google.api.AnnotationsProto.getDescriptor()181 com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor()182 com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor()183 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.HttpBodyProto.getDescriptor()184 com.google.api.HttpBodyProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()185 com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor()186 com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor()187 com.google.protobuf.StructProto.getDescriptor(); 188 } 189 190 // @@protoc_insertion_point(outer_class_scope) 191 } 192