cloud.google.com/go/aiplatform@v1.106.0/apiv1/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/v1/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_v1_event_proto_enumTypes[0].Descriptor()
    77  }
    78  
    79  func (Event_Type) Type() protoreflect.EnumType {
    80  	return &file_google_cloud_aiplatform_v1_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_v1_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.v1.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_v1_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_v1_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_v1_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_v1_event_proto protoreflect.FileDescriptor
   187  
   188  var file_google_cloud_aiplatform_v1_event_proto_rawDesc = []byte{
   189  	0x0a, 0x26, 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, 0x2f, 0x65, 0x76, 0x65,
   191  	0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   192  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   193  	0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
   194  	0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
   195  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
   196  	0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   197  	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   198  	0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   199  	0x6f, 0x22, 0xd2, 0x03, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x61,
   200  	0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0,
   201  	0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   202  	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
   203  	0x2f, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66,
   204  	0x61, 0x63, 0x74, 0x12, 0x49, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
   205  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x25, 0x0a, 0x23,
   206  	0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   207  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
   208  	0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e,
   209  	0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
   210  	0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   211  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
   212  	0xe0, 0x41, 0x03, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3f,
   213  	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67,
   214  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c,
   215  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e,
   216  	0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
   217  	0x45, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
   218  	0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
   219  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65,
   220  	0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
   221  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   222  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
   223  	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   224  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
   225  	0x01, 0x22, 0x33, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50,
   226  	0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   227  	0x09, 0x0a, 0x05, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x55,
   228  	0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x42, 0xc8, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 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, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74,
   231  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
   232  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70,
   233  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69,
   234  	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61,
   235  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   236  	0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   237  	0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
   238  	0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56,
   239  	0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
   240  	0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56,
   241  	0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   242  }
   243  
   244  var (
   245  	file_google_cloud_aiplatform_v1_event_proto_rawDescOnce sync.Once
   246  	file_google_cloud_aiplatform_v1_event_proto_rawDescData = file_google_cloud_aiplatform_v1_event_proto_rawDesc
   247  )
   248  
   249  func file_google_cloud_aiplatform_v1_event_proto_rawDescGZIP() []byte {
   250  	file_google_cloud_aiplatform_v1_event_proto_rawDescOnce.Do(func() {
   251  		file_google_cloud_aiplatform_v1_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_event_proto_rawDescData)
   252  	})
   253  	return file_google_cloud_aiplatform_v1_event_proto_rawDescData
   254  }
   255  
   256  var file_google_cloud_aiplatform_v1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   257  var file_google_cloud_aiplatform_v1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   258  var file_google_cloud_aiplatform_v1_event_proto_goTypes = []any{
   259  	(Event_Type)(0),               // 0: google.cloud.aiplatform.v1.Event.Type
   260  	(*Event)(nil),                 // 1: google.cloud.aiplatform.v1.Event
   261  	nil,                           // 2: google.cloud.aiplatform.v1.Event.LabelsEntry
   262  	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
   263  }
   264  var file_google_cloud_aiplatform_v1_event_proto_depIdxs = []int32{
   265  	3, // 0: google.cloud.aiplatform.v1.Event.event_time:type_name -> google.protobuf.Timestamp
   266  	0, // 1: google.cloud.aiplatform.v1.Event.type:type_name -> google.cloud.aiplatform.v1.Event.Type
   267  	2, // 2: google.cloud.aiplatform.v1.Event.labels:type_name -> google.cloud.aiplatform.v1.Event.LabelsEntry
   268  	3, // [3:3] is the sub-list for method output_type
   269  	3, // [3:3] is the sub-list for method input_type
   270  	3, // [3:3] is the sub-list for extension type_name
   271  	3, // [3:3] is the sub-list for extension extendee
   272  	0, // [0:3] is the sub-list for field type_name
   273  }
   274  
   275  func init() { file_google_cloud_aiplatform_v1_event_proto_init() }
   276  func file_google_cloud_aiplatform_v1_event_proto_init() {
   277  	if File_google_cloud_aiplatform_v1_event_proto != nil {
   278  		return
   279  	}
   280  	type x struct{}
   281  	out := protoimpl.TypeBuilder{
   282  		File: protoimpl.DescBuilder{
   283  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   284  			RawDescriptor: file_google_cloud_aiplatform_v1_event_proto_rawDesc,
   285  			NumEnums:      1,
   286  			NumMessages:   2,
   287  			NumExtensions: 0,
   288  			NumServices:   0,
   289  		},
   290  		GoTypes:           file_google_cloud_aiplatform_v1_event_proto_goTypes,
   291  		DependencyIndexes: file_google_cloud_aiplatform_v1_event_proto_depIdxs,
   292  		EnumInfos:         file_google_cloud_aiplatform_v1_event_proto_enumTypes,
   293  		MessageInfos:      file_google_cloud_aiplatform_v1_event_proto_msgTypes,
   294  	}.Build()
   295  	File_google_cloud_aiplatform_v1_event_proto = out.File
   296  	file_google_cloud_aiplatform_v1_event_proto_rawDesc = nil
   297  	file_google_cloud_aiplatform_v1_event_proto_goTypes = nil
   298  	file_google_cloud_aiplatform_v1_event_proto_depIdxs = nil
   299  }