cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/event.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/event.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 28 reflect "reflect" 29 sync "sync" 30 ) 31 32 const ( 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 // Describes whether an Event's Artifact is the Execution's input or output. 40 type Event_Type int32 41 42 const ( 43 // Unspecified whether input or output of the Execution. 44 Event_TYPE_UNSPECIFIED Event_Type = 0 45 // An input of the Execution. 46 Event_INPUT Event_Type = 1 47 // An output of the Execution. 48 Event_OUTPUT Event_Type = 2 49 ) 50 51 // Enum value maps for Event_Type. 52 var ( 53 Event_Type_name = map[int32]string{ 54 0: "TYPE_UNSPECIFIED", 55 1: "INPUT", 56 2: "OUTPUT", 57 } 58 Event_Type_value = map[string]int32{ 59 "TYPE_UNSPECIFIED": 0, 60 "INPUT": 1, 61 "OUTPUT": 2, 62 } 63 ) 64 65 func (x Event_Type) Enum() *Event_Type { 66 p := new(Event_Type) 67 *p = x 68 return p 69 } 70 71 func (x Event_Type) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73 } 74 75 func (Event_Type) Descriptor() protoreflect.EnumDescriptor { 76 return file_google_cloud_aiplatform_v1beta1_event_proto_enumTypes[0].Descriptor() 77 } 78 79 func (Event_Type) Type() protoreflect.EnumType { 80 return &file_google_cloud_aiplatform_v1beta1_event_proto_enumTypes[0] 81 } 82 83 func (x Event_Type) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85 } 86 87 // Deprecated: Use Event_Type.Descriptor instead. 88 func (Event_Type) EnumDescriptor() ([]byte, []int) { 89 return file_google_cloud_aiplatform_v1beta1_event_proto_rawDescGZIP(), []int{0, 0} 90 } 91 92 // An edge describing the relationship between an Artifact and an Execution in 93 // a lineage graph. 94 type Event struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 // Required. The relative resource name of the Artifact in the Event. 100 Artifact string `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` 101 // Output only. The relative resource name of the Execution in the Event. 102 Execution string `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` 103 // Output only. Time the Event occurred. 104 EventTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` 105 // Required. The type of the Event. 106 Type Event_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.aiplatform.v1beta1.Event_Type" json:"type,omitempty"` 107 // The labels with user-defined metadata to annotate Events. 108 // 109 // Label keys and values can be no longer than 64 characters 110 // (Unicode codepoints), can only contain lowercase letters, numeric 111 // characters, underscores and dashes. International characters are allowed. 112 // No more than 64 user labels can be associated with one Event (System 113 // labels are excluded). 114 // 115 // See https://goo.gl/xmQnxf for more information and examples of labels. 116 // System reserved label keys are prefixed with "aiplatform.googleapis.com/" 117 // and are immutable. 118 Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 119 } 120 121 func (x *Event) Reset() { 122 *x = Event{} 123 mi := &file_google_cloud_aiplatform_v1beta1_event_proto_msgTypes[0] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127 128 func (x *Event) String() string { 129 return protoimpl.X.MessageStringOf(x) 130 } 131 132 func (*Event) ProtoMessage() {} 133 134 func (x *Event) ProtoReflect() protoreflect.Message { 135 mi := &file_google_cloud_aiplatform_v1beta1_event_proto_msgTypes[0] 136 if x != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(x) 144 } 145 146 // Deprecated: Use Event.ProtoReflect.Descriptor instead. 147 func (*Event) Descriptor() ([]byte, []int) { 148 return file_google_cloud_aiplatform_v1beta1_event_proto_rawDescGZIP(), []int{0} 149 } 150 151 func (x *Event) GetArtifact() string { 152 if x != nil { 153 return x.Artifact 154 } 155 return "" 156 } 157 158 func (x *Event) GetExecution() string { 159 if x != nil { 160 return x.Execution 161 } 162 return "" 163 } 164 165 func (x *Event) GetEventTime() *timestamppb.Timestamp { 166 if x != nil { 167 return x.EventTime 168 } 169 return nil 170 } 171 172 func (x *Event) GetType() Event_Type { 173 if x != nil { 174 return x.Type 175 } 176 return Event_TYPE_UNSPECIFIED 177 } 178 179 func (x *Event) GetLabels() map[string]string { 180 if x != nil { 181 return x.Labels 182 } 183 return nil 184 } 185 186 var File_google_cloud_aiplatform_v1beta1_event_proto protoreflect.FileDescriptor 187 188 var file_google_cloud_aiplatform_v1beta1_event_proto_rawDesc = []byte{ 189 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 190 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 191 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 192 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 193 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 194 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 195 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 196 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 197 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 198 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 199 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x03, 0x0a, 0x05, 200 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 201 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 202 0x22, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 203 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x72, 0x74, 0x69, 0x66, 204 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x49, 0x0a, 205 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 206 0x42, 0x2b, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 207 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 208 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 209 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 210 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 211 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 212 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x65, 213 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 214 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 215 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 216 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 217 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 218 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 219 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 220 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 221 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 222 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 223 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 224 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 225 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 226 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 227 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 228 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x0a, 229 0x0a, 0x06, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x42, 0xe1, 0x01, 0x0a, 0x23, 0x63, 230 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 231 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 232 0x61, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 233 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 234 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 235 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 236 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 237 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 238 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 239 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 240 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 241 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 242 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 243 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 244 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 245 } 246 247 var ( 248 file_google_cloud_aiplatform_v1beta1_event_proto_rawDescOnce sync.Once 249 file_google_cloud_aiplatform_v1beta1_event_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_event_proto_rawDesc 250 ) 251 252 func file_google_cloud_aiplatform_v1beta1_event_proto_rawDescGZIP() []byte { 253 file_google_cloud_aiplatform_v1beta1_event_proto_rawDescOnce.Do(func() { 254 file_google_cloud_aiplatform_v1beta1_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_event_proto_rawDescData) 255 }) 256 return file_google_cloud_aiplatform_v1beta1_event_proto_rawDescData 257 } 258 259 var file_google_cloud_aiplatform_v1beta1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 260 var file_google_cloud_aiplatform_v1beta1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 261 var file_google_cloud_aiplatform_v1beta1_event_proto_goTypes = []any{ 262 (Event_Type)(0), // 0: google.cloud.aiplatform.v1beta1.Event.Type 263 (*Event)(nil), // 1: google.cloud.aiplatform.v1beta1.Event 264 nil, // 2: google.cloud.aiplatform.v1beta1.Event.LabelsEntry 265 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 266 } 267 var file_google_cloud_aiplatform_v1beta1_event_proto_depIdxs = []int32{ 268 3, // 0: google.cloud.aiplatform.v1beta1.Event.event_time:type_name -> google.protobuf.Timestamp 269 0, // 1: google.cloud.aiplatform.v1beta1.Event.type:type_name -> google.cloud.aiplatform.v1beta1.Event.Type 270 2, // 2: google.cloud.aiplatform.v1beta1.Event.labels:type_name -> google.cloud.aiplatform.v1beta1.Event.LabelsEntry 271 3, // [3:3] is the sub-list for method output_type 272 3, // [3:3] is the sub-list for method input_type 273 3, // [3:3] is the sub-list for extension type_name 274 3, // [3:3] is the sub-list for extension extendee 275 0, // [0:3] is the sub-list for field type_name 276 } 277 278 func init() { file_google_cloud_aiplatform_v1beta1_event_proto_init() } 279 func file_google_cloud_aiplatform_v1beta1_event_proto_init() { 280 if File_google_cloud_aiplatform_v1beta1_event_proto != nil { 281 return 282 } 283 type x struct{} 284 out := protoimpl.TypeBuilder{ 285 File: protoimpl.DescBuilder{ 286 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 287 RawDescriptor: file_google_cloud_aiplatform_v1beta1_event_proto_rawDesc, 288 NumEnums: 1, 289 NumMessages: 2, 290 NumExtensions: 0, 291 NumServices: 0, 292 }, 293 GoTypes: file_google_cloud_aiplatform_v1beta1_event_proto_goTypes, 294 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_event_proto_depIdxs, 295 EnumInfos: file_google_cloud_aiplatform_v1beta1_event_proto_enumTypes, 296 MessageInfos: file_google_cloud_aiplatform_v1beta1_event_proto_msgTypes, 297 }.Build() 298 File_google_cloud_aiplatform_v1beta1_event_proto = out.File 299 file_google_cloud_aiplatform_v1beta1_event_proto_rawDesc = nil 300 file_google_cloud_aiplatform_v1beta1_event_proto_goTypes = nil 301 file_google_cloud_aiplatform_v1beta1_event_proto_depIdxs = nil 302 }