// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go_gapic. DO NOT EDIT. //go:build go1.23 package accounts import ( "iter" accountspb "cloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb" "github.com/googleapis/gax-go/v2/iterator" ) // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *AccountIssueIterator) All() iter.Seq2[*accountspb.AccountIssue, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *AccountIterator) All() iter.Seq2[*accountspb.Account, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *AccountRelationshipIterator) All() iter.Seq2[*accountspb.AccountRelationship, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *AccountServiceIterator) All() iter.Seq2[*accountspb.AccountService, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *GbpAccountIterator) All() iter.Seq2[*accountspb.GbpAccount, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *LfpProviderIterator) All() iter.Seq2[*accountspb.LfpProvider, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *OmnichannelSettingIterator) All() iter.Seq2[*accountspb.OmnichannelSetting, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *OnlineReturnPolicyIterator) All() iter.Seq2[*accountspb.OnlineReturnPolicy, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *ProgramIterator) All() iter.Seq2[*accountspb.Program, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *RegionIterator) All() iter.Seq2[*accountspb.Region, error] { return iterator.RangeAdapter(it.Next) } // All returns an iterator. If an error is returned by the iterator, the // iterator will stop after that iteration. func (it *UserIterator) All() iter.Seq2[*accountspb.User, error] { return iterator.RangeAdapter(it.Next) }