cloud.google.com/go/aiplatform@v1.106.0/apiv1/aiplatformpb/completion_stats.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/completion_stats.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  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Success and error statistics of processing multiple entities
    39  // (for example, DataItems or structured data rows) in batch.
    40  type CompletionStats struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Output only. The number of entities that had been processed successfully.
    46  	SuccessfulCount int64 `protobuf:"varint,1,opt,name=successful_count,json=successfulCount,proto3" json:"successful_count,omitempty"`
    47  	// Output only. The number of entities for which any error was encountered.
    48  	FailedCount int64 `protobuf:"varint,2,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`
    49  	// Output only. In cases when enough errors are encountered a job, pipeline,
    50  	// or operation may be failed as a whole. Below is the number of entities for
    51  	// which the processing had not been finished (either in successful or failed
    52  	// state). Set to -1 if the number is unknown (for example, the operation
    53  	// failed before the total entity number could be collected).
    54  	IncompleteCount int64 `protobuf:"varint,3,opt,name=incomplete_count,json=incompleteCount,proto3" json:"incomplete_count,omitempty"`
    55  	// Output only. The number of the successful forecast points that are
    56  	// generated by the forecasting model. This is ONLY used by the forecasting
    57  	// batch prediction.
    58  	SuccessfulForecastPointCount int64 `protobuf:"varint,5,opt,name=successful_forecast_point_count,json=successfulForecastPointCount,proto3" json:"successful_forecast_point_count,omitempty"`
    59  }
    60  
    61  func (x *CompletionStats) Reset() {
    62  	*x = CompletionStats{}
    63  	mi := &file_google_cloud_aiplatform_v1_completion_stats_proto_msgTypes[0]
    64  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  	ms.StoreMessageInfo(mi)
    66  }
    67  
    68  func (x *CompletionStats) String() string {
    69  	return protoimpl.X.MessageStringOf(x)
    70  }
    71  
    72  func (*CompletionStats) ProtoMessage() {}
    73  
    74  func (x *CompletionStats) ProtoReflect() protoreflect.Message {
    75  	mi := &file_google_cloud_aiplatform_v1_completion_stats_proto_msgTypes[0]
    76  	if x != nil {
    77  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    78  		if ms.LoadMessageInfo() == nil {
    79  			ms.StoreMessageInfo(mi)
    80  		}
    81  		return ms
    82  	}
    83  	return mi.MessageOf(x)
    84  }
    85  
    86  // Deprecated: Use CompletionStats.ProtoReflect.Descriptor instead.
    87  func (*CompletionStats) Descriptor() ([]byte, []int) {
    88  	return file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescGZIP(), []int{0}
    89  }
    90  
    91  func (x *CompletionStats) GetSuccessfulCount() int64 {
    92  	if x != nil {
    93  		return x.SuccessfulCount
    94  	}
    95  	return 0
    96  }
    97  
    98  func (x *CompletionStats) GetFailedCount() int64 {
    99  	if x != nil {
   100  		return x.FailedCount
   101  	}
   102  	return 0
   103  }
   104  
   105  func (x *CompletionStats) GetIncompleteCount() int64 {
   106  	if x != nil {
   107  		return x.IncompleteCount
   108  	}
   109  	return 0
   110  }
   111  
   112  func (x *CompletionStats) GetSuccessfulForecastPointCount() int64 {
   113  	if x != nil {
   114  		return x.SuccessfulForecastPointCount
   115  	}
   116  	return 0
   117  }
   118  
   119  var File_google_cloud_aiplatform_v1_completion_stats_proto protoreflect.FileDescriptor
   120  
   121  var file_google_cloud_aiplatform_v1_completion_stats_proto_rawDesc = []byte{
   122  	0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   123  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d,
   124  	0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72,
   125  	0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   126  	0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a,
   127  	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
   128  	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   129  	0x22, 0xe5, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x53,
   130  	0x74, 0x61, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66,
   131  	0x75, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03,
   132  	0xe0, 0x41, 0x03, 0x52, 0x0f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x43,
   133  	0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x63,
   134  	0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   135  	0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x10,
   136  	0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
   137  	0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x63,
   138  	0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x1f,
   139  	0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63,
   140  	0x61, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
   141  	0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1c, 0x73, 0x75, 0x63, 0x63,
   142  	0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x50, 0x6f,
   143  	0x69, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xd2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d,
   144  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69,
   145  	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x43, 0x6f, 0x6d,
   146  	0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74,
   147  	0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   148  	0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
   149  	0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
   150  	0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   151  	0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
   152  	0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31,
   153  	0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
   154  	0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d,
   155  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41,
   156  	0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
   157  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   158  }
   159  
   160  var (
   161  	file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescOnce sync.Once
   162  	file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescData = file_google_cloud_aiplatform_v1_completion_stats_proto_rawDesc
   163  )
   164  
   165  func file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescGZIP() []byte {
   166  	file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescOnce.Do(func() {
   167  		file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescData)
   168  	})
   169  	return file_google_cloud_aiplatform_v1_completion_stats_proto_rawDescData
   170  }
   171  
   172  var file_google_cloud_aiplatform_v1_completion_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   173  var file_google_cloud_aiplatform_v1_completion_stats_proto_goTypes = []any{
   174  	(*CompletionStats)(nil), // 0: google.cloud.aiplatform.v1.CompletionStats
   175  }
   176  var file_google_cloud_aiplatform_v1_completion_stats_proto_depIdxs = []int32{
   177  	0, // [0:0] is the sub-list for method output_type
   178  	0, // [0:0] is the sub-list for method input_type
   179  	0, // [0:0] is the sub-list for extension type_name
   180  	0, // [0:0] is the sub-list for extension extendee
   181  	0, // [0:0] is the sub-list for field type_name
   182  }
   183  
   184  func init() { file_google_cloud_aiplatform_v1_completion_stats_proto_init() }
   185  func file_google_cloud_aiplatform_v1_completion_stats_proto_init() {
   186  	if File_google_cloud_aiplatform_v1_completion_stats_proto != nil {
   187  		return
   188  	}
   189  	type x struct{}
   190  	out := protoimpl.TypeBuilder{
   191  		File: protoimpl.DescBuilder{
   192  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   193  			RawDescriptor: file_google_cloud_aiplatform_v1_completion_stats_proto_rawDesc,
   194  			NumEnums:      0,
   195  			NumMessages:   1,
   196  			NumExtensions: 0,
   197  			NumServices:   0,
   198  		},
   199  		GoTypes:           file_google_cloud_aiplatform_v1_completion_stats_proto_goTypes,
   200  		DependencyIndexes: file_google_cloud_aiplatform_v1_completion_stats_proto_depIdxs,
   201  		MessageInfos:      file_google_cloud_aiplatform_v1_completion_stats_proto_msgTypes,
   202  	}.Build()
   203  	File_google_cloud_aiplatform_v1_completion_stats_proto = out.File
   204  	file_google_cloud_aiplatform_v1_completion_stats_proto_rawDesc = nil
   205  	file_google_cloud_aiplatform_v1_completion_stats_proto_goTypes = nil
   206  	file_google_cloud_aiplatform_v1_completion_stats_proto_depIdxs = nil
   207  }