cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/operation.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/operation.proto 20 21 package aiplatformpb 22 23 import ( 24 _ "google.golang.org/genproto/googleapis/api/annotations" 25 status "google.golang.org/genproto/googleapis/rpc/status" 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 // Generic Metadata shared by all operations. 41 type GenericOperationMetadata struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 // Output only. Partial failures encountered. 47 // E.g. single files that couldn't be read. 48 // This field should never exceed 20 entries. 49 // Status details field will contain standard Google Cloud error details. 50 PartialFailures []*status.Status `protobuf:"bytes,1,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` 51 // Output only. Time when the operation was created. 52 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 53 // Output only. Time when the operation was updated for the last time. 54 // If the operation has finished (successfully or not), this is the finish 55 // time. 56 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 57 } 58 59 func (x *GenericOperationMetadata) Reset() { 60 *x = GenericOperationMetadata{} 61 mi := &file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes[0] 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 ms.StoreMessageInfo(mi) 64 } 65 66 func (x *GenericOperationMetadata) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*GenericOperationMetadata) ProtoMessage() {} 71 72 func (x *GenericOperationMetadata) ProtoReflect() protoreflect.Message { 73 mi := &file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes[0] 74 if x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82 } 83 84 // Deprecated: Use GenericOperationMetadata.ProtoReflect.Descriptor instead. 85 func (*GenericOperationMetadata) Descriptor() ([]byte, []int) { 86 return file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (x *GenericOperationMetadata) GetPartialFailures() []*status.Status { 90 if x != nil { 91 return x.PartialFailures 92 } 93 return nil 94 } 95 96 func (x *GenericOperationMetadata) GetCreateTime() *timestamppb.Timestamp { 97 if x != nil { 98 return x.CreateTime 99 } 100 return nil 101 } 102 103 func (x *GenericOperationMetadata) GetUpdateTime() *timestamppb.Timestamp { 104 if x != nil { 105 return x.UpdateTime 106 } 107 return nil 108 } 109 110 // Details of operations that perform deletes of any entities. 111 type DeleteOperationMetadata struct { 112 state protoimpl.MessageState 113 sizeCache protoimpl.SizeCache 114 unknownFields protoimpl.UnknownFields 115 116 // The common part of the operation metadata. 117 GenericMetadata *GenericOperationMetadata `protobuf:"bytes,1,opt,name=generic_metadata,json=genericMetadata,proto3" json:"generic_metadata,omitempty"` 118 } 119 120 func (x *DeleteOperationMetadata) Reset() { 121 *x = DeleteOperationMetadata{} 122 mi := &file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes[1] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 ms.StoreMessageInfo(mi) 125 } 126 127 func (x *DeleteOperationMetadata) String() string { 128 return protoimpl.X.MessageStringOf(x) 129 } 130 131 func (*DeleteOperationMetadata) ProtoMessage() {} 132 133 func (x *DeleteOperationMetadata) ProtoReflect() protoreflect.Message { 134 mi := &file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes[1] 135 if x != nil { 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 137 if ms.LoadMessageInfo() == nil { 138 ms.StoreMessageInfo(mi) 139 } 140 return ms 141 } 142 return mi.MessageOf(x) 143 } 144 145 // Deprecated: Use DeleteOperationMetadata.ProtoReflect.Descriptor instead. 146 func (*DeleteOperationMetadata) Descriptor() ([]byte, []int) { 147 return file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescGZIP(), []int{1} 148 } 149 150 func (x *DeleteOperationMetadata) GetGenericMetadata() *GenericOperationMetadata { 151 if x != nil { 152 return x.GenericMetadata 153 } 154 return nil 155 } 156 157 var File_google_cloud_aiplatform_v1beta1_operation_proto protoreflect.FileDescriptor 158 159 var file_google_cloud_aiplatform_v1beta1_operation_proto_rawDesc = []byte{ 160 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 161 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 162 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 163 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 164 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 165 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 166 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 167 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 168 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 169 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 170 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 171 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 172 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x10, 0x70, 0x61, 173 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 174 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 175 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x70, 176 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x40, 177 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 178 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 179 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 180 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 181 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 182 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 183 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 184 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 185 0x6d, 0x65, 0x22, 0x7f, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 186 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 187 0x10, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 188 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 189 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 190 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 191 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 192 0x74, 0x61, 0x52, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 193 0x61, 0x74, 0x61, 0x42, 0xe5, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 194 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 195 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x4f, 0x70, 0x65, 196 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 197 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 198 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 199 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 200 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 201 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 202 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 203 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 204 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 205 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 206 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 207 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 208 0x74, 0x6f, 0x33, 209 } 210 211 var ( 212 file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescOnce sync.Once 213 file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_operation_proto_rawDesc 214 ) 215 216 func file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescGZIP() []byte { 217 file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescOnce.Do(func() { 218 file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescData) 219 }) 220 return file_google_cloud_aiplatform_v1beta1_operation_proto_rawDescData 221 } 222 223 var file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 224 var file_google_cloud_aiplatform_v1beta1_operation_proto_goTypes = []any{ 225 (*GenericOperationMetadata)(nil), // 0: google.cloud.aiplatform.v1beta1.GenericOperationMetadata 226 (*DeleteOperationMetadata)(nil), // 1: google.cloud.aiplatform.v1beta1.DeleteOperationMetadata 227 (*status.Status)(nil), // 2: google.rpc.Status 228 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 229 } 230 var file_google_cloud_aiplatform_v1beta1_operation_proto_depIdxs = []int32{ 231 2, // 0: google.cloud.aiplatform.v1beta1.GenericOperationMetadata.partial_failures:type_name -> google.rpc.Status 232 3, // 1: google.cloud.aiplatform.v1beta1.GenericOperationMetadata.create_time:type_name -> google.protobuf.Timestamp 233 3, // 2: google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time:type_name -> google.protobuf.Timestamp 234 0, // 3: google.cloud.aiplatform.v1beta1.DeleteOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1beta1.GenericOperationMetadata 235 4, // [4:4] is the sub-list for method output_type 236 4, // [4:4] is the sub-list for method input_type 237 4, // [4:4] is the sub-list for extension type_name 238 4, // [4:4] is the sub-list for extension extendee 239 0, // [0:4] is the sub-list for field type_name 240 } 241 242 func init() { file_google_cloud_aiplatform_v1beta1_operation_proto_init() } 243 func file_google_cloud_aiplatform_v1beta1_operation_proto_init() { 244 if File_google_cloud_aiplatform_v1beta1_operation_proto != nil { 245 return 246 } 247 type x struct{} 248 out := protoimpl.TypeBuilder{ 249 File: protoimpl.DescBuilder{ 250 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 251 RawDescriptor: file_google_cloud_aiplatform_v1beta1_operation_proto_rawDesc, 252 NumEnums: 0, 253 NumMessages: 2, 254 NumExtensions: 0, 255 NumServices: 0, 256 }, 257 GoTypes: file_google_cloud_aiplatform_v1beta1_operation_proto_goTypes, 258 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_operation_proto_depIdxs, 259 MessageInfos: file_google_cloud_aiplatform_v1beta1_operation_proto_msgTypes, 260 }.Build() 261 File_google_cloud_aiplatform_v1beta1_operation_proto = out.File 262 file_google_cloud_aiplatform_v1beta1_operation_proto_rawDesc = nil 263 file_google_cloud_aiplatform_v1beta1_operation_proto_goTypes = nil 264 file_google_cloud_aiplatform_v1beta1_operation_proto_depIdxs = nil 265 }