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