cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/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/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_completion_stats_proto protoreflect.FileDescriptor 120 121 var file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDesc = []byte{ 122 0x0a, 0x36, 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, 0x62, 0x65, 0x74, 0x61, 124 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 125 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 126 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 127 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 128 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 129 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x01, 0x0a, 0x0f, 0x43, 130 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2e, 131 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 132 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x73, 133 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 134 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 135 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x65, 136 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 137 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 138 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 139 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x1f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 140 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x6f, 141 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 142 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 143 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x75, 144 0x6e, 0x74, 0x42, 0xeb, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 145 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 146 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x14, 0x43, 0x6f, 0x6d, 0x70, 147 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 148 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 149 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 150 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 151 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 152 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 153 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 154 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 155 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 156 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 157 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 158 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 159 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 160 } 161 162 var ( 163 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescOnce sync.Once 164 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDesc 165 ) 166 167 func file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescGZIP() []byte { 168 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescOnce.Do(func() { 169 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescData) 170 }) 171 return file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDescData 172 } 173 174 var file_google_cloud_aiplatform_v1beta1_completion_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 175 var file_google_cloud_aiplatform_v1beta1_completion_stats_proto_goTypes = []any{ 176 (*CompletionStats)(nil), // 0: google.cloud.aiplatform.v1beta1.CompletionStats 177 } 178 var file_google_cloud_aiplatform_v1beta1_completion_stats_proto_depIdxs = []int32{ 179 0, // [0:0] is the sub-list for method output_type 180 0, // [0:0] is the sub-list for method input_type 181 0, // [0:0] is the sub-list for extension type_name 182 0, // [0:0] is the sub-list for extension extendee 183 0, // [0:0] is the sub-list for field type_name 184 } 185 186 func init() { file_google_cloud_aiplatform_v1beta1_completion_stats_proto_init() } 187 func file_google_cloud_aiplatform_v1beta1_completion_stats_proto_init() { 188 if File_google_cloud_aiplatform_v1beta1_completion_stats_proto != nil { 189 return 190 } 191 type x struct{} 192 out := protoimpl.TypeBuilder{ 193 File: protoimpl.DescBuilder{ 194 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 195 RawDescriptor: file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDesc, 196 NumEnums: 0, 197 NumMessages: 1, 198 NumExtensions: 0, 199 NumServices: 0, 200 }, 201 GoTypes: file_google_cloud_aiplatform_v1beta1_completion_stats_proto_goTypes, 202 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_completion_stats_proto_depIdxs, 203 MessageInfos: file_google_cloud_aiplatform_v1beta1_completion_stats_proto_msgTypes, 204 }.Build() 205 File_google_cloud_aiplatform_v1beta1_completion_stats_proto = out.File 206 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_rawDesc = nil 207 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_goTypes = nil 208 file_google_cloud_aiplatform_v1beta1_completion_stats_proto_depIdxs = nil 209 }