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/deployed_model_ref.proto 20 21package aiplatform 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// Points to a DeployedModel. 40type DeployedModelRef struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // Immutable. A resource name of an Endpoint. 46 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 47 // Immutable. An ID of a DeployedModel in the above Endpoint. 48 DeployedModelId string `protobuf:"bytes,2,opt,name=deployed_model_id,json=deployedModelId,proto3" json:"deployed_model_id,omitempty"` 49} 50 51func (x *DeployedModelRef) Reset() { 52 *x = DeployedModelRef{} 53 if protoimpl.UnsafeEnabled { 54 mi := &file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_msgTypes[0] 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 ms.StoreMessageInfo(mi) 57 } 58} 59 60func (x *DeployedModelRef) String() string { 61 return protoimpl.X.MessageStringOf(x) 62} 63 64func (*DeployedModelRef) ProtoMessage() {} 65 66func (x *DeployedModelRef) ProtoReflect() protoreflect.Message { 67 mi := &file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_msgTypes[0] 68 if protoimpl.UnsafeEnabled && x != nil { 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 if ms.LoadMessageInfo() == nil { 71 ms.StoreMessageInfo(mi) 72 } 73 return ms 74 } 75 return mi.MessageOf(x) 76} 77 78// Deprecated: Use DeployedModelRef.ProtoReflect.Descriptor instead. 79func (*DeployedModelRef) Descriptor() ([]byte, []int) { 80 return file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescGZIP(), []int{0} 81} 82 83func (x *DeployedModelRef) GetEndpoint() string { 84 if x != nil { 85 return x.Endpoint 86 } 87 return "" 88} 89 90func (x *DeployedModelRef) GetDeployedModelId() string { 91 if x != nil { 92 return x.DeployedModelId 93 } 94 return "" 95} 96 97var File_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto protoreflect.FileDescriptor 98 99var file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDesc = []byte{ 100 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 101 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 102 0x31, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 103 0x5f, 0x72, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 104 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 105 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 106 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 107 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 108 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 109 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 110 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 111 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 112 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x66, 0x12, 0x46, 0x0a, 0x08, 0x65, 0x6e, 113 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 114 0x05, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 115 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 116 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 117 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x5f, 0x6d, 118 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 119 0x41, 0x05, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, 120 0x6c, 0x49, 0x64, 0x42, 0xf3, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 121 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 122 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x16, 0x44, 0x65, 0x70, 123 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 124 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 125 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 126 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 127 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 128 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 129 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 130 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 131 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 132 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 133 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 134 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 135 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 136 0x33, 137} 138 139var ( 140 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescOnce sync.Once 141 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDesc 142) 143 144func file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescGZIP() []byte { 145 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescOnce.Do(func() { 146 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescData) 147 }) 148 return file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDescData 149} 150 151var file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 152var file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_goTypes = []interface{}{ 153 (*DeployedModelRef)(nil), // 0: google.cloud.aiplatform.v1beta1.DeployedModelRef 154} 155var file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_depIdxs = []int32{ 156 0, // [0:0] is the sub-list for method output_type 157 0, // [0:0] is the sub-list for method input_type 158 0, // [0:0] is the sub-list for extension type_name 159 0, // [0:0] is the sub-list for extension extendee 160 0, // [0:0] is the sub-list for field type_name 161} 162 163func init() { file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_init() } 164func file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_init() { 165 if File_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto != nil { 166 return 167 } 168 if !protoimpl.UnsafeEnabled { 169 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 170 switch v := v.(*DeployedModelRef); i { 171 case 0: 172 return &v.state 173 case 1: 174 return &v.sizeCache 175 case 2: 176 return &v.unknownFields 177 default: 178 return nil 179 } 180 } 181 } 182 type x struct{} 183 out := protoimpl.TypeBuilder{ 184 File: protoimpl.DescBuilder{ 185 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 186 RawDescriptor: file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDesc, 187 NumEnums: 0, 188 NumMessages: 1, 189 NumExtensions: 0, 190 NumServices: 0, 191 }, 192 GoTypes: file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_goTypes, 193 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_depIdxs, 194 MessageInfos: file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_msgTypes, 195 }.Build() 196 File_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto = out.File 197 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_rawDesc = nil 198 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_goTypes = nil 199 file_google_cloud_aiplatform_v1beta1_deployed_model_ref_proto_depIdxs = nil 200} 201