cloud.google.com/go/aiplatform@v1.106.0/apiv1/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/v1/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_v1_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_v1_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_v1_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_v1_user_action_reference_proto protoreflect.FileDescriptor
   137  
   138  var file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDesc = []byte{
   139  	0x0a, 0x36, 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, 0x2f, 0x75, 0x73, 0x65,
   141  	0x72, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   142  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   143  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   144  	0x6d, 0x2e, 0x76, 0x31, 0x22, 0x88, 0x01, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74,
   145  	0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x09,
   146  	0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
   147  	0x00, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x11,
   148  	0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f,
   149  	0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x4c,
   150  	0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65,
   151  	0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68,
   152  	0x6f, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42,
   153  	0xd6, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   154  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
   155  	0x76, 0x31, 0x42, 0x18, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
   156  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e,
   157  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
   158  	0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61,
   159  	0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70,
   160  	0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02,
   161  	0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49,
   162  	0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f,
   163  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61,
   164  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   165  	0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74,
   166  	0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   167  }
   168  
   169  var (
   170  	file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescOnce sync.Once
   171  	file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescData = file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDesc
   172  )
   173  
   174  func file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescGZIP() []byte {
   175  	file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescOnce.Do(func() {
   176  		file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescData)
   177  	})
   178  	return file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDescData
   179  }
   180  
   181  var file_google_cloud_aiplatform_v1_user_action_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   182  var file_google_cloud_aiplatform_v1_user_action_reference_proto_goTypes = []any{
   183  	(*UserActionReference)(nil), // 0: google.cloud.aiplatform.v1.UserActionReference
   184  }
   185  var file_google_cloud_aiplatform_v1_user_action_reference_proto_depIdxs = []int32{
   186  	0, // [0:0] is the sub-list for method output_type
   187  	0, // [0:0] is the sub-list for method input_type
   188  	0, // [0:0] is the sub-list for extension type_name
   189  	0, // [0:0] is the sub-list for extension extendee
   190  	0, // [0:0] is the sub-list for field type_name
   191  }
   192  
   193  func init() { file_google_cloud_aiplatform_v1_user_action_reference_proto_init() }
   194  func file_google_cloud_aiplatform_v1_user_action_reference_proto_init() {
   195  	if File_google_cloud_aiplatform_v1_user_action_reference_proto != nil {
   196  		return
   197  	}
   198  	file_google_cloud_aiplatform_v1_user_action_reference_proto_msgTypes[0].OneofWrappers = []any{
   199  		(*UserActionReference_Operation)(nil),
   200  		(*UserActionReference_DataLabelingJob)(nil),
   201  	}
   202  	type x struct{}
   203  	out := protoimpl.TypeBuilder{
   204  		File: protoimpl.DescBuilder{
   205  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   206  			RawDescriptor: file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDesc,
   207  			NumEnums:      0,
   208  			NumMessages:   1,
   209  			NumExtensions: 0,
   210  			NumServices:   0,
   211  		},
   212  		GoTypes:           file_google_cloud_aiplatform_v1_user_action_reference_proto_goTypes,
   213  		DependencyIndexes: file_google_cloud_aiplatform_v1_user_action_reference_proto_depIdxs,
   214  		MessageInfos:      file_google_cloud_aiplatform_v1_user_action_reference_proto_msgTypes,
   215  	}.Build()
   216  	File_google_cloud_aiplatform_v1_user_action_reference_proto = out.File
   217  	file_google_cloud_aiplatform_v1_user_action_reference_proto_rawDesc = nil
   218  	file_google_cloud_aiplatform_v1_user_action_reference_proto_goTypes = nil
   219  	file_google_cloud_aiplatform_v1_user_action_reference_proto_depIdxs = nil
   220  }