cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/user_action_reference.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/user_action_reference.proto 20 21 package aiplatformpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // References an API call. It contains more information about long running 38 // operation and Jobs that are triggered by the API call. 39 type UserActionReference struct { 40 state protoimpl.MessageState 41 sizeCache protoimpl.SizeCache 42 unknownFields protoimpl.UnknownFields 43 44 // Types that are assignable to Reference: 45 // 46 // *UserActionReference_Operation 47 // *UserActionReference_DataLabelingJob 48 Reference isUserActionReference_Reference `protobuf_oneof:"reference"` 49 // The method name of the API RPC call. For example, 50 // "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" 51 Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` 52 } 53 54 func (x *UserActionReference) Reset() { 55 *x = UserActionReference{} 56 mi := &file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_msgTypes[0] 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 ms.StoreMessageInfo(mi) 59 } 60 61 func (x *UserActionReference) String() string { 62 return protoimpl.X.MessageStringOf(x) 63 } 64 65 func (*UserActionReference) ProtoMessage() {} 66 67 func (x *UserActionReference) ProtoReflect() protoreflect.Message { 68 mi := &file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_msgTypes[0] 69 if x != nil { 70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 71 if ms.LoadMessageInfo() == nil { 72 ms.StoreMessageInfo(mi) 73 } 74 return ms 75 } 76 return mi.MessageOf(x) 77 } 78 79 // Deprecated: Use UserActionReference.ProtoReflect.Descriptor instead. 80 func (*UserActionReference) Descriptor() ([]byte, []int) { 81 return file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescGZIP(), []int{0} 82 } 83 84 func (m *UserActionReference) GetReference() isUserActionReference_Reference { 85 if m != nil { 86 return m.Reference 87 } 88 return nil 89 } 90 91 func (x *UserActionReference) GetOperation() string { 92 if x, ok := x.GetReference().(*UserActionReference_Operation); ok { 93 return x.Operation 94 } 95 return "" 96 } 97 98 func (x *UserActionReference) GetDataLabelingJob() string { 99 if x, ok := x.GetReference().(*UserActionReference_DataLabelingJob); ok { 100 return x.DataLabelingJob 101 } 102 return "" 103 } 104 105 func (x *UserActionReference) GetMethod() string { 106 if x != nil { 107 return x.Method 108 } 109 return "" 110 } 111 112 type isUserActionReference_Reference interface { 113 isUserActionReference_Reference() 114 } 115 116 type UserActionReference_Operation struct { 117 // For API calls that return a long running operation. 118 // Resource name of the long running operation. 119 // Format: 120 // `projects/{project}/locations/{location}/operations/{operation}` 121 Operation string `protobuf:"bytes,1,opt,name=operation,proto3,oneof"` 122 } 123 124 type UserActionReference_DataLabelingJob struct { 125 // For API calls that start a LabelingJob. 126 // Resource name of the LabelingJob. 127 // Format: 128 // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` 129 DataLabelingJob string `protobuf:"bytes,2,opt,name=data_labeling_job,json=dataLabelingJob,proto3,oneof"` 130 } 131 132 func (*UserActionReference_Operation) isUserActionReference_Reference() {} 133 134 func (*UserActionReference_DataLabelingJob) isUserActionReference_Reference() {} 135 136 var File_google_cloud_aiplatform_v1beta1_user_action_reference_proto protoreflect.FileDescriptor 137 138 var file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDesc = []byte{ 139 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 140 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 141 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 142 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 143 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 144 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x88, 145 0x01, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 146 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 147 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x70, 0x65, 148 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 149 0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 150 0x09, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 151 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 152 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x0b, 0x0a, 0x09, 153 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0xef, 0x01, 0x0a, 0x23, 0x63, 0x6f, 154 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 155 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 156 0x31, 0x42, 0x18, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 157 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 158 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 159 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 160 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 161 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 162 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 163 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 164 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 165 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 166 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 167 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 168 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 169 0x74, 0x6f, 0x33, 170 } 171 172 var ( 173 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescOnce sync.Once 174 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDesc 175 ) 176 177 func file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescGZIP() []byte { 178 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescOnce.Do(func() { 179 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescData) 180 }) 181 return file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDescData 182 } 183 184 var file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 185 var file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_goTypes = []any{ 186 (*UserActionReference)(nil), // 0: google.cloud.aiplatform.v1beta1.UserActionReference 187 } 188 var file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_depIdxs = []int32{ 189 0, // [0:0] is the sub-list for method output_type 190 0, // [0:0] is the sub-list for method input_type 191 0, // [0:0] is the sub-list for extension type_name 192 0, // [0:0] is the sub-list for extension extendee 193 0, // [0:0] is the sub-list for field type_name 194 } 195 196 func init() { file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_init() } 197 func file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_init() { 198 if File_google_cloud_aiplatform_v1beta1_user_action_reference_proto != nil { 199 return 200 } 201 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_msgTypes[0].OneofWrappers = []any{ 202 (*UserActionReference_Operation)(nil), 203 (*UserActionReference_DataLabelingJob)(nil), 204 } 205 type x struct{} 206 out := protoimpl.TypeBuilder{ 207 File: protoimpl.DescBuilder{ 208 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 209 RawDescriptor: file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDesc, 210 NumEnums: 0, 211 NumMessages: 1, 212 NumExtensions: 0, 213 NumServices: 0, 214 }, 215 GoTypes: file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_goTypes, 216 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_depIdxs, 217 MessageInfos: file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_msgTypes, 218 }.Build() 219 File_google_cloud_aiplatform_v1beta1_user_action_reference_proto = out.File 220 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_rawDesc = nil 221 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_goTypes = nil 222 file_google_cloud_aiplatform_v1beta1_user_action_reference_proto_depIdxs = nil 223 }