cloud.google.com/go/aiplatform@v1.106.0/apiv1/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/v1/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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_operation_proto protoreflect.FileDescriptor
   158  
   159  var file_google_cloud_aiplatform_v1_operation_proto_rawDesc = []byte{
   160  	0x0a, 0x2a, 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, 0x2f, 0x6f, 0x70, 0x65,
   162  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f,
   163  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61,
   164  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   165  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
   166  	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   167  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
   168  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
   169  	0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
   170  	0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f,
   171  	0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
   172  	0x12, 0x42, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c,
   173  	0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
   174  	0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03,
   175  	0xe0, 0x41, 0x03, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x61, 0x69, 0x6c,
   176  	0x75, 0x72, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
   177  	0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   178  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   179  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
   180  	0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
   181  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   182  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
   183  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70,
   184  	0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7a, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65,
   185  	0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
   186  	0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x10, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x6d,
   187  	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
   188  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70,
   189  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
   190  	0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
   191  	0x61, 0x74, 0x61, 0x52, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61,
   192  	0x64, 0x61, 0x74, 0x61, 0x42, 0xcc, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
   193  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
   194  	0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
   195  	0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   196  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61,
   197  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f,
   198  	0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70,
   199  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67,
   200  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66,
   201  	0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
   202  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   203  	0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
   204  	0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a,
   205  	0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   206  }
   207  
   208  var (
   209  	file_google_cloud_aiplatform_v1_operation_proto_rawDescOnce sync.Once
   210  	file_google_cloud_aiplatform_v1_operation_proto_rawDescData = file_google_cloud_aiplatform_v1_operation_proto_rawDesc
   211  )
   212  
   213  func file_google_cloud_aiplatform_v1_operation_proto_rawDescGZIP() []byte {
   214  	file_google_cloud_aiplatform_v1_operation_proto_rawDescOnce.Do(func() {
   215  		file_google_cloud_aiplatform_v1_operation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_operation_proto_rawDescData)
   216  	})
   217  	return file_google_cloud_aiplatform_v1_operation_proto_rawDescData
   218  }
   219  
   220  var file_google_cloud_aiplatform_v1_operation_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   221  var file_google_cloud_aiplatform_v1_operation_proto_goTypes = []any{
   222  	(*GenericOperationMetadata)(nil), // 0: google.cloud.aiplatform.v1.GenericOperationMetadata
   223  	(*DeleteOperationMetadata)(nil),  // 1: google.cloud.aiplatform.v1.DeleteOperationMetadata
   224  	(*status.Status)(nil),            // 2: google.rpc.Status
   225  	(*timestamppb.Timestamp)(nil),    // 3: google.protobuf.Timestamp
   226  }
   227  var file_google_cloud_aiplatform_v1_operation_proto_depIdxs = []int32{
   228  	2, // 0: google.cloud.aiplatform.v1.GenericOperationMetadata.partial_failures:type_name -> google.rpc.Status
   229  	3, // 1: google.cloud.aiplatform.v1.GenericOperationMetadata.create_time:type_name -> google.protobuf.Timestamp
   230  	3, // 2: google.cloud.aiplatform.v1.GenericOperationMetadata.update_time:type_name -> google.protobuf.Timestamp
   231  	0, // 3: google.cloud.aiplatform.v1.DeleteOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1.GenericOperationMetadata
   232  	4, // [4:4] is the sub-list for method output_type
   233  	4, // [4:4] is the sub-list for method input_type
   234  	4, // [4:4] is the sub-list for extension type_name
   235  	4, // [4:4] is the sub-list for extension extendee
   236  	0, // [0:4] is the sub-list for field type_name
   237  }
   238  
   239  func init() { file_google_cloud_aiplatform_v1_operation_proto_init() }
   240  func file_google_cloud_aiplatform_v1_operation_proto_init() {
   241  	if File_google_cloud_aiplatform_v1_operation_proto != nil {
   242  		return
   243  	}
   244  	type x struct{}
   245  	out := protoimpl.TypeBuilder{
   246  		File: protoimpl.DescBuilder{
   247  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   248  			RawDescriptor: file_google_cloud_aiplatform_v1_operation_proto_rawDesc,
   249  			NumEnums:      0,
   250  			NumMessages:   2,
   251  			NumExtensions: 0,
   252  			NumServices:   0,
   253  		},
   254  		GoTypes:           file_google_cloud_aiplatform_v1_operation_proto_goTypes,
   255  		DependencyIndexes: file_google_cloud_aiplatform_v1_operation_proto_depIdxs,
   256  		MessageInfos:      file_google_cloud_aiplatform_v1_operation_proto_msgTypes,
   257  	}.Build()
   258  	File_google_cloud_aiplatform_v1_operation_proto = out.File
   259  	file_google_cloud_aiplatform_v1_operation_proto_rawDesc = nil
   260  	file_google_cloud_aiplatform_v1_operation_proto_goTypes = nil
   261  	file_google_cloud_aiplatform_v1_operation_proto_depIdxs = nil
   262  }