cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/auxiliary_go123.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 // https://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_gapic. DO NOT EDIT. 16 17 //go:build go1.23 18 19 package aiplatform 20 21 import ( 22 "iter" 23 24 aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb" 25 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" 26 "github.com/googleapis/gax-go/v2/iterator" 27 locationpb "google.golang.org/genproto/googleapis/cloud/location" 28 ) 29 30 // All returns an iterator. If an error is returned by the iterator, the 31 // iterator will stop after that iteration. 32 func (it *AnnotationIterator) All() iter.Seq2[*aiplatformpb.Annotation, error] { 33 return iterator.RangeAdapter(it.Next) 34 } 35 36 // All returns an iterator. If an error is returned by the iterator, the 37 // iterator will stop after that iteration. 38 func (it *ArtifactIterator) All() iter.Seq2[*aiplatformpb.Artifact, error] { 39 return iterator.RangeAdapter(it.Next) 40 } 41 42 // All returns an iterator. If an error is returned by the iterator, the 43 // iterator will stop after that iteration. 44 func (it *BatchPredictionJobIterator) All() iter.Seq2[*aiplatformpb.BatchPredictionJob, error] { 45 return iterator.RangeAdapter(it.Next) 46 } 47 48 // All returns an iterator. If an error is returned by the iterator, the 49 // iterator will stop after that iteration. 50 func (it *CachedContentIterator) All() iter.Seq2[*aiplatformpb.CachedContent, error] { 51 return iterator.RangeAdapter(it.Next) 52 } 53 54 // All returns an iterator. If an error is returned by the iterator, the 55 // iterator will stop after that iteration. 56 func (it *ContextIterator) All() iter.Seq2[*aiplatformpb.Context, error] { 57 return iterator.RangeAdapter(it.Next) 58 } 59 60 // All returns an iterator. If an error is returned by the iterator, the 61 // iterator will stop after that iteration. 62 func (it *CustomJobIterator) All() iter.Seq2[*aiplatformpb.CustomJob, error] { 63 return iterator.RangeAdapter(it.Next) 64 } 65 66 // All returns an iterator. If an error is returned by the iterator, the 67 // iterator will stop after that iteration. 68 func (it *DataItemIterator) All() iter.Seq2[*aiplatformpb.DataItem, error] { 69 return iterator.RangeAdapter(it.Next) 70 } 71 72 // All returns an iterator. If an error is returned by the iterator, the 73 // iterator will stop after that iteration. 74 func (it *DataItemViewIterator) All() iter.Seq2[*aiplatformpb.DataItemView, error] { 75 return iterator.RangeAdapter(it.Next) 76 } 77 78 // All returns an iterator. If an error is returned by the iterator, the 79 // iterator will stop after that iteration. 80 func (it *DataLabelingJobIterator) All() iter.Seq2[*aiplatformpb.DataLabelingJob, error] { 81 return iterator.RangeAdapter(it.Next) 82 } 83 84 // All returns an iterator. If an error is returned by the iterator, the 85 // iterator will stop after that iteration. 86 func (it *DatasetIterator) All() iter.Seq2[*aiplatformpb.Dataset, error] { 87 return iterator.RangeAdapter(it.Next) 88 } 89 90 // All returns an iterator. If an error is returned by the iterator, the 91 // iterator will stop after that iteration. 92 func (it *DatasetVersionIterator) All() iter.Seq2[*aiplatformpb.DatasetVersion, error] { 93 return iterator.RangeAdapter(it.Next) 94 } 95 96 // All returns an iterator. If an error is returned by the iterator, the 97 // iterator will stop after that iteration. 98 func (it *DeployedModelIterator) All() iter.Seq2[*aiplatformpb.DeployedModel, error] { 99 return iterator.RangeAdapter(it.Next) 100 } 101 102 // All returns an iterator. If an error is returned by the iterator, the 103 // iterator will stop after that iteration. 104 func (it *DeploymentResourcePoolIterator) All() iter.Seq2[*aiplatformpb.DeploymentResourcePool, error] { 105 return iterator.RangeAdapter(it.Next) 106 } 107 108 // All returns an iterator. If an error is returned by the iterator, the 109 // iterator will stop after that iteration. 110 func (it *EndpointIterator) All() iter.Seq2[*aiplatformpb.Endpoint, error] { 111 return iterator.RangeAdapter(it.Next) 112 } 113 114 // All returns an iterator. If an error is returned by the iterator, the 115 // iterator will stop after that iteration. 116 func (it *EntityTypeIterator) All() iter.Seq2[*aiplatformpb.EntityType, error] { 117 return iterator.RangeAdapter(it.Next) 118 } 119 120 // All returns an iterator. If an error is returned by the iterator, the 121 // iterator will stop after that iteration. 122 func (it *ExampleIterator) All() iter.Seq2[*aiplatformpb.Example, error] { 123 return iterator.RangeAdapter(it.Next) 124 } 125 126 // All returns an iterator. If an error is returned by the iterator, the 127 // iterator will stop after that iteration. 128 func (it *ExampleStoreIterator) All() iter.Seq2[*aiplatformpb.ExampleStore, error] { 129 return iterator.RangeAdapter(it.Next) 130 } 131 132 // All returns an iterator. If an error is returned by the iterator, the 133 // iterator will stop after that iteration. 134 func (it *ExecutionIterator) All() iter.Seq2[*aiplatformpb.Execution, error] { 135 return iterator.RangeAdapter(it.Next) 136 } 137 138 // All returns an iterator. If an error is returned by the iterator, the 139 // iterator will stop after that iteration. 140 func (it *ExtensionIterator) All() iter.Seq2[*aiplatformpb.Extension, error] { 141 return iterator.RangeAdapter(it.Next) 142 } 143 144 // All returns an iterator. If an error is returned by the iterator, the 145 // iterator will stop after that iteration. 146 func (it *FeatureGroupIterator) All() iter.Seq2[*aiplatformpb.FeatureGroup, error] { 147 return iterator.RangeAdapter(it.Next) 148 } 149 150 // All returns an iterator. If an error is returned by the iterator, the 151 // iterator will stop after that iteration. 152 func (it *FeatureIterator) All() iter.Seq2[*aiplatformpb.Feature, error] { 153 return iterator.RangeAdapter(it.Next) 154 } 155 156 // All returns an iterator. If an error is returned by the iterator, the 157 // iterator will stop after that iteration. 158 func (it *FeatureMonitorIterator) All() iter.Seq2[*aiplatformpb.FeatureMonitor, error] { 159 return iterator.RangeAdapter(it.Next) 160 } 161 162 // All returns an iterator. If an error is returned by the iterator, the 163 // iterator will stop after that iteration. 164 func (it *FeatureMonitorJobIterator) All() iter.Seq2[*aiplatformpb.FeatureMonitorJob, error] { 165 return iterator.RangeAdapter(it.Next) 166 } 167 168 // All returns an iterator. If an error is returned by the iterator, the 169 // iterator will stop after that iteration. 170 func (it *FeatureOnlineStoreIterator) All() iter.Seq2[*aiplatformpb.FeatureOnlineStore, error] { 171 return iterator.RangeAdapter(it.Next) 172 } 173 174 // All returns an iterator. If an error is returned by the iterator, the 175 // iterator will stop after that iteration. 176 func (it *FeatureViewIterator) All() iter.Seq2[*aiplatformpb.FeatureView, error] { 177 return iterator.RangeAdapter(it.Next) 178 } 179 180 // All returns an iterator. If an error is returned by the iterator, the 181 // iterator will stop after that iteration. 182 func (it *FeatureViewSyncIterator) All() iter.Seq2[*aiplatformpb.FeatureViewSync, error] { 183 return iterator.RangeAdapter(it.Next) 184 } 185 186 // All returns an iterator. If an error is returned by the iterator, the 187 // iterator will stop after that iteration. 188 func (it *FeaturestoreIterator) All() iter.Seq2[*aiplatformpb.Featurestore, error] { 189 return iterator.RangeAdapter(it.Next) 190 } 191 192 // All returns an iterator. If an error is returned by the iterator, the 193 // iterator will stop after that iteration. 194 func (it *HyperparameterTuningJobIterator) All() iter.Seq2[*aiplatformpb.HyperparameterTuningJob, error] { 195 return iterator.RangeAdapter(it.Next) 196 } 197 198 // All returns an iterator. If an error is returned by the iterator, the 199 // iterator will stop after that iteration. 200 func (it *IndexEndpointIterator) All() iter.Seq2[*aiplatformpb.IndexEndpoint, error] { 201 return iterator.RangeAdapter(it.Next) 202 } 203 204 // All returns an iterator. If an error is returned by the iterator, the 205 // iterator will stop after that iteration. 206 func (it *IndexIterator) All() iter.Seq2[*aiplatformpb.Index, error] { 207 return iterator.RangeAdapter(it.Next) 208 } 209 210 // All returns an iterator. If an error is returned by the iterator, the 211 // iterator will stop after that iteration. 212 func (it *LocationIterator) All() iter.Seq2[*locationpb.Location, error] { 213 return iterator.RangeAdapter(it.Next) 214 } 215 216 // All returns an iterator. If an error is returned by the iterator, the 217 // iterator will stop after that iteration. 218 func (it *MemoryIterator) All() iter.Seq2[*aiplatformpb.Memory, error] { 219 return iterator.RangeAdapter(it.Next) 220 } 221 222 // All returns an iterator. If an error is returned by the iterator, the 223 // iterator will stop after that iteration. 224 func (it *MetadataSchemaIterator) All() iter.Seq2[*aiplatformpb.MetadataSchema, error] { 225 return iterator.RangeAdapter(it.Next) 226 } 227 228 // All returns an iterator. If an error is returned by the iterator, the 229 // iterator will stop after that iteration. 230 func (it *MetadataStoreIterator) All() iter.Seq2[*aiplatformpb.MetadataStore, error] { 231 return iterator.RangeAdapter(it.Next) 232 } 233 234 // All returns an iterator. If an error is returned by the iterator, the 235 // iterator will stop after that iteration. 236 func (it *MigratableResourceIterator) All() iter.Seq2[*aiplatformpb.MigratableResource, error] { 237 return iterator.RangeAdapter(it.Next) 238 } 239 240 // All returns an iterator. If an error is returned by the iterator, the 241 // iterator will stop after that iteration. 242 func (it *ModelDeploymentMonitoringJobIterator) All() iter.Seq2[*aiplatformpb.ModelDeploymentMonitoringJob, error] { 243 return iterator.RangeAdapter(it.Next) 244 } 245 246 // All returns an iterator. If an error is returned by the iterator, the 247 // iterator will stop after that iteration. 248 func (it *ModelEvaluationIterator) All() iter.Seq2[*aiplatformpb.ModelEvaluation, error] { 249 return iterator.RangeAdapter(it.Next) 250 } 251 252 // All returns an iterator. If an error is returned by the iterator, the 253 // iterator will stop after that iteration. 254 func (it *ModelEvaluationSliceIterator) All() iter.Seq2[*aiplatformpb.ModelEvaluationSlice, error] { 255 return iterator.RangeAdapter(it.Next) 256 } 257 258 // All returns an iterator. If an error is returned by the iterator, the 259 // iterator will stop after that iteration. 260 func (it *ModelIterator) All() iter.Seq2[*aiplatformpb.Model, error] { 261 return iterator.RangeAdapter(it.Next) 262 } 263 264 // All returns an iterator. If an error is returned by the iterator, the 265 // iterator will stop after that iteration. 266 func (it *ModelMonitorIterator) All() iter.Seq2[*aiplatformpb.ModelMonitor, error] { 267 return iterator.RangeAdapter(it.Next) 268 } 269 270 // All returns an iterator. If an error is returned by the iterator, the 271 // iterator will stop after that iteration. 272 func (it *ModelMonitoringAlertIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringAlert, error] { 273 return iterator.RangeAdapter(it.Next) 274 } 275 276 // All returns an iterator. If an error is returned by the iterator, the 277 // iterator will stop after that iteration. 278 func (it *ModelMonitoringJobIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringJob, error] { 279 return iterator.RangeAdapter(it.Next) 280 } 281 282 // All returns an iterator. If an error is returned by the iterator, the 283 // iterator will stop after that iteration. 284 func (it *ModelMonitoringStatsAnomaliesIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringStatsAnomalies, error] { 285 return iterator.RangeAdapter(it.Next) 286 } 287 288 // All returns an iterator. If an error is returned by the iterator, the 289 // iterator will stop after that iteration. 290 func (it *ModelMonitoringStatsIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringStats, error] { 291 return iterator.RangeAdapter(it.Next) 292 } 293 294 // All returns an iterator. If an error is returned by the iterator, the 295 // iterator will stop after that iteration. 296 func (it *ModelVersionCheckpointIterator) All() iter.Seq2[*aiplatformpb.ModelVersionCheckpoint, error] { 297 return iterator.RangeAdapter(it.Next) 298 } 299 300 // All returns an iterator. If an error is returned by the iterator, the 301 // iterator will stop after that iteration. 302 func (it *NasJobIterator) All() iter.Seq2[*aiplatformpb.NasJob, error] { 303 return iterator.RangeAdapter(it.Next) 304 } 305 306 // All returns an iterator. If an error is returned by the iterator, the 307 // iterator will stop after that iteration. 308 func (it *NasTrialDetailIterator) All() iter.Seq2[*aiplatformpb.NasTrialDetail, error] { 309 return iterator.RangeAdapter(it.Next) 310 } 311 312 // All returns an iterator. If an error is returned by the iterator, the 313 // iterator will stop after that iteration. 314 func (it *NotebookExecutionJobIterator) All() iter.Seq2[*aiplatformpb.NotebookExecutionJob, error] { 315 return iterator.RangeAdapter(it.Next) 316 } 317 318 // All returns an iterator. If an error is returned by the iterator, the 319 // iterator will stop after that iteration. 320 func (it *NotebookRuntimeIterator) All() iter.Seq2[*aiplatformpb.NotebookRuntime, error] { 321 return iterator.RangeAdapter(it.Next) 322 } 323 324 // All returns an iterator. If an error is returned by the iterator, the 325 // iterator will stop after that iteration. 326 func (it *NotebookRuntimeTemplateIterator) All() iter.Seq2[*aiplatformpb.NotebookRuntimeTemplate, error] { 327 return iterator.RangeAdapter(it.Next) 328 } 329 330 // All returns an iterator. If an error is returned by the iterator, the 331 // iterator will stop after that iteration. 332 func (it *OperationIterator) All() iter.Seq2[*longrunningpb.Operation, error] { 333 return iterator.RangeAdapter(it.Next) 334 } 335 336 // All returns an iterator. If an error is returned by the iterator, the 337 // iterator will stop after that iteration. 338 func (it *PersistentResourceIterator) All() iter.Seq2[*aiplatformpb.PersistentResource, error] { 339 return iterator.RangeAdapter(it.Next) 340 } 341 342 // All returns an iterator. If an error is returned by the iterator, the 343 // iterator will stop after that iteration. 344 func (it *PipelineJobIterator) All() iter.Seq2[*aiplatformpb.PipelineJob, error] { 345 return iterator.RangeAdapter(it.Next) 346 } 347 348 // All returns an iterator. If an error is returned by the iterator, the 349 // iterator will stop after that iteration. 350 func (it *PublisherModelIterator) All() iter.Seq2[*aiplatformpb.PublisherModel, error] { 351 return iterator.RangeAdapter(it.Next) 352 } 353 354 // All returns an iterator. If an error is returned by the iterator, the 355 // iterator will stop after that iteration. 356 func (it *RagCorpusIterator) All() iter.Seq2[*aiplatformpb.RagCorpus, error] { 357 return iterator.RangeAdapter(it.Next) 358 } 359 360 // All returns an iterator. If an error is returned by the iterator, the 361 // iterator will stop after that iteration. 362 func (it *RagFileIterator) All() iter.Seq2[*aiplatformpb.RagFile, error] { 363 return iterator.RangeAdapter(it.Next) 364 } 365 366 // All returns an iterator. If an error is returned by the iterator, the 367 // iterator will stop after that iteration. 368 func (it *ReasoningEngineIterator) All() iter.Seq2[*aiplatformpb.ReasoningEngine, error] { 369 return iterator.RangeAdapter(it.Next) 370 } 371 372 // All returns an iterator. If an error is returned by the iterator, the 373 // iterator will stop after that iteration. 374 func (it *SavedQueryIterator) All() iter.Seq2[*aiplatformpb.SavedQuery, error] { 375 return iterator.RangeAdapter(it.Next) 376 } 377 378 // All returns an iterator. If an error is returned by the iterator, the 379 // iterator will stop after that iteration. 380 func (it *ScheduleIterator) All() iter.Seq2[*aiplatformpb.Schedule, error] { 381 return iterator.RangeAdapter(it.Next) 382 } 383 384 // All returns an iterator. If an error is returned by the iterator, the 385 // iterator will stop after that iteration. 386 func (it *SessionEventIterator) All() iter.Seq2[*aiplatformpb.SessionEvent, error] { 387 return iterator.RangeAdapter(it.Next) 388 } 389 390 // All returns an iterator. If an error is returned by the iterator, the 391 // iterator will stop after that iteration. 392 func (it *SessionIterator) All() iter.Seq2[*aiplatformpb.Session, error] { 393 return iterator.RangeAdapter(it.Next) 394 } 395 396 // All returns an iterator. If an error is returned by the iterator, the 397 // iterator will stop after that iteration. 398 func (it *SpecialistPoolIterator) All() iter.Seq2[*aiplatformpb.SpecialistPool, error] { 399 return iterator.RangeAdapter(it.Next) 400 } 401 402 // All returns an iterator. If an error is returned by the iterator, the 403 // iterator will stop after that iteration. 404 func (it *StudyIterator) All() iter.Seq2[*aiplatformpb.Study, error] { 405 return iterator.RangeAdapter(it.Next) 406 } 407 408 // All returns an iterator. If an error is returned by the iterator, the 409 // iterator will stop after that iteration. 410 func (it *TensorboardExperimentIterator) All() iter.Seq2[*aiplatformpb.TensorboardExperiment, error] { 411 return iterator.RangeAdapter(it.Next) 412 } 413 414 // All returns an iterator. If an error is returned by the iterator, the 415 // iterator will stop after that iteration. 416 func (it *TensorboardIterator) All() iter.Seq2[*aiplatformpb.Tensorboard, error] { 417 return iterator.RangeAdapter(it.Next) 418 } 419 420 // All returns an iterator. If an error is returned by the iterator, the 421 // iterator will stop after that iteration. 422 func (it *TensorboardRunIterator) All() iter.Seq2[*aiplatformpb.TensorboardRun, error] { 423 return iterator.RangeAdapter(it.Next) 424 } 425 426 // All returns an iterator. If an error is returned by the iterator, the 427 // iterator will stop after that iteration. 428 func (it *TensorboardTimeSeriesIterator) All() iter.Seq2[*aiplatformpb.TensorboardTimeSeries, error] { 429 return iterator.RangeAdapter(it.Next) 430 } 431 432 // All returns an iterator. If an error is returned by the iterator, the 433 // iterator will stop after that iteration. 434 func (it *TimeSeriesDataPointIterator) All() iter.Seq2[*aiplatformpb.TimeSeriesDataPoint, error] { 435 return iterator.RangeAdapter(it.Next) 436 } 437 438 // All returns an iterator. If an error is returned by the iterator, the 439 // iterator will stop after that iteration. 440 func (it *TrainingPipelineIterator) All() iter.Seq2[*aiplatformpb.TrainingPipeline, error] { 441 return iterator.RangeAdapter(it.Next) 442 } 443 444 // All returns an iterator. If an error is returned by the iterator, the 445 // iterator will stop after that iteration. 446 func (it *TrialIterator) All() iter.Seq2[*aiplatformpb.Trial, error] { 447 return iterator.RangeAdapter(it.Next) 448 } 449 450 // All returns an iterator. If an error is returned by the iterator, the 451 // iterator will stop after that iteration. 452 func (it *TuningJobIterator) All() iter.Seq2[*aiplatformpb.TuningJob, error] { 453 return iterator.RangeAdapter(it.Next) 454 }