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