| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
package contactcenterinsights |
| 20 |
|
| 21 |
import ( |
| 22 |
"iter" |
| 23 |
|
| 24 |
contactcenterinsightspb "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb" |
| 25 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 26 |
"github.com/googleapis/gax-go/v2/iterator" |
| 27 |
) |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
func (it *AnalysisIterator) All() iter.Seq2[*contactcenterinsightspb.Analysis, error] { |
| 32 |
return iterator.RangeAdapter(it.Next) |
| 33 |
} |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
func (it *AnalysisRuleIterator) All() iter.Seq2[*contactcenterinsightspb.AnalysisRule, error] { |
| 38 |
return iterator.RangeAdapter(it.Next) |
| 39 |
} |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
func (it *ConversationIterator) All() iter.Seq2[*contactcenterinsightspb.Conversation, error] { |
| 44 |
return iterator.RangeAdapter(it.Next) |
| 45 |
} |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
func (it *FeedbackLabelIterator) All() iter.Seq2[*contactcenterinsightspb.FeedbackLabel, error] { |
| 50 |
return iterator.RangeAdapter(it.Next) |
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
func (it *OperationIterator) All() iter.Seq2[*longrunningpb.Operation, error] { |
| 56 |
return iterator.RangeAdapter(it.Next) |
| 57 |
} |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
func (it *PhraseMatcherIterator) All() iter.Seq2[*contactcenterinsightspb.PhraseMatcher, error] { |
| 62 |
return iterator.RangeAdapter(it.Next) |
| 63 |
} |
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
func (it *QaQuestionIterator) All() iter.Seq2[*contactcenterinsightspb.QaQuestion, error] { |
| 68 |
return iterator.RangeAdapter(it.Next) |
| 69 |
} |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
func (it *QaScorecardIterator) All() iter.Seq2[*contactcenterinsightspb.QaScorecard, error] { |
| 74 |
return iterator.RangeAdapter(it.Next) |
| 75 |
} |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
func (it *QaScorecardRevisionIterator) All() iter.Seq2[*contactcenterinsightspb.QaScorecardRevision, error] { |
| 80 |
return iterator.RangeAdapter(it.Next) |
| 81 |
} |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
func (it *ViewIterator) All() iter.Seq2[*contactcenterinsightspb.View, error] { |
| 86 |
return iterator.RangeAdapter(it.Next) |
| 87 |
} |