Skip to main content

google_cloud_vectorsearch_v1/model/
debug.rs

1// Copyright 2026 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 sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::DataObject {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("DataObject");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("data_object_id", &self.data_object_id);
25        debug_struct.field("create_time", &self.create_time);
26        debug_struct.field("update_time", &self.update_time);
27        debug_struct.field("data", &self.data);
28        debug_struct.field("vectors", &self.vectors);
29        debug_struct.field("etag", &self.etag);
30        if !self._unknown_fields.is_empty() {
31            debug_struct.field("_unknown_fields", &self._unknown_fields);
32        }
33        debug_struct.finish()
34    }
35}
36
37impl std::fmt::Debug for super::Vector {
38    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
39        let mut debug_struct = f.debug_struct("Vector");
40        debug_struct.field("vector_type", &self.vector_type);
41        if !self._unknown_fields.is_empty() {
42            debug_struct.field("_unknown_fields", &self._unknown_fields);
43        }
44        debug_struct.finish()
45    }
46}
47
48impl std::fmt::Debug for super::DenseVector {
49    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50        let mut debug_struct = f.debug_struct("DenseVector");
51        debug_struct.field("values", &self.values);
52        if !self._unknown_fields.is_empty() {
53            debug_struct.field("_unknown_fields", &self._unknown_fields);
54        }
55        debug_struct.finish()
56    }
57}
58
59impl std::fmt::Debug for super::SparseVector {
60    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
61        let mut debug_struct = f.debug_struct("SparseVector");
62        debug_struct.field("values", &self.values);
63        debug_struct.field("indices", &self.indices);
64        if !self._unknown_fields.is_empty() {
65            debug_struct.field("_unknown_fields", &self._unknown_fields);
66        }
67        debug_struct.finish()
68    }
69}
70
71impl std::fmt::Debug for super::OutputFields {
72    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
73        let mut debug_struct = f.debug_struct("OutputFields");
74        debug_struct.field("data_fields", &self.data_fields);
75        debug_struct.field("vector_fields", &self.vector_fields);
76        debug_struct.field("metadata_fields", &self.metadata_fields);
77        if !self._unknown_fields.is_empty() {
78            debug_struct.field("_unknown_fields", &self._unknown_fields);
79        }
80        debug_struct.finish()
81    }
82}
83
84impl std::fmt::Debug for super::SearchHint {
85    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
86        let mut debug_struct = f.debug_struct("SearchHint");
87        debug_struct.field("index_type", &self.index_type);
88        if !self._unknown_fields.is_empty() {
89            debug_struct.field("_unknown_fields", &self._unknown_fields);
90        }
91        debug_struct.finish()
92    }
93}
94
95impl std::fmt::Debug for super::search_hint::IndexHint {
96    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
97        let mut debug_struct = f.debug_struct("IndexHint");
98        debug_struct.field("name", &self.name);
99        if !self._unknown_fields.is_empty() {
100            debug_struct.field("_unknown_fields", &self._unknown_fields);
101        }
102        debug_struct.finish()
103    }
104}
105
106impl std::fmt::Debug for super::search_hint::KnnHint {
107    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108        let mut debug_struct = f.debug_struct("KnnHint");
109        if !self._unknown_fields.is_empty() {
110            debug_struct.field("_unknown_fields", &self._unknown_fields);
111        }
112        debug_struct.finish()
113    }
114}
115
116impl std::fmt::Debug for super::Search {
117    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118        let mut debug_struct = f.debug_struct("Search");
119        debug_struct.field("search_type", &self.search_type);
120        if !self._unknown_fields.is_empty() {
121            debug_struct.field("_unknown_fields", &self._unknown_fields);
122        }
123        debug_struct.finish()
124    }
125}
126
127impl std::fmt::Debug for super::VectorSearch {
128    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129        let mut debug_struct = f.debug_struct("VectorSearch");
130        debug_struct.field("search_field", &self.search_field);
131        debug_struct.field("filter", &self.filter);
132        debug_struct.field("top_k", &self.top_k);
133        debug_struct.field("output_fields", &self.output_fields);
134        debug_struct.field("search_hint", &self.search_hint);
135        debug_struct.field("distance_metric", &self.distance_metric);
136        debug_struct.field("vector_type", &self.vector_type);
137        if !self._unknown_fields.is_empty() {
138            debug_struct.field("_unknown_fields", &self._unknown_fields);
139        }
140        debug_struct.finish()
141    }
142}
143
144impl std::fmt::Debug for super::SemanticSearch {
145    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
146        let mut debug_struct = f.debug_struct("SemanticSearch");
147        debug_struct.field("search_text", &self.search_text);
148        debug_struct.field("search_field", &self.search_field);
149        debug_struct.field("task_type", &self.task_type);
150        debug_struct.field("output_fields", &self.output_fields);
151        debug_struct.field("filter", &self.filter);
152        debug_struct.field("top_k", &self.top_k);
153        debug_struct.field("search_hint", &self.search_hint);
154        if !self._unknown_fields.is_empty() {
155            debug_struct.field("_unknown_fields", &self._unknown_fields);
156        }
157        debug_struct.finish()
158    }
159}
160
161impl std::fmt::Debug for super::TextSearch {
162    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
163        let mut debug_struct = f.debug_struct("TextSearch");
164        debug_struct.field("search_text", &self.search_text);
165        debug_struct.field("data_field_names", &self.data_field_names);
166        debug_struct.field("output_fields", &self.output_fields);
167        debug_struct.field("top_k", &self.top_k);
168        debug_struct.field("filter", &self.filter);
169        if !self._unknown_fields.is_empty() {
170            debug_struct.field("_unknown_fields", &self._unknown_fields);
171        }
172        debug_struct.finish()
173    }
174}
175
176impl std::fmt::Debug for super::SearchDataObjectsRequest {
177    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178        let mut debug_struct = f.debug_struct("SearchDataObjectsRequest");
179        debug_struct.field("parent", &self.parent);
180        debug_struct.field("page_size", &self.page_size);
181        debug_struct.field("page_token", &self.page_token);
182        debug_struct.field("search_type", &self.search_type);
183        if !self._unknown_fields.is_empty() {
184            debug_struct.field("_unknown_fields", &self._unknown_fields);
185        }
186        debug_struct.finish()
187    }
188}
189
190impl std::fmt::Debug for super::SearchResult {
191    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192        let mut debug_struct = f.debug_struct("SearchResult");
193        debug_struct.field("data_object", &self.data_object);
194        debug_struct.field("distance", &self.distance);
195        if !self._unknown_fields.is_empty() {
196            debug_struct.field("_unknown_fields", &self._unknown_fields);
197        }
198        debug_struct.finish()
199    }
200}
201
202impl std::fmt::Debug for super::SearchDataObjectsResponse {
203    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204        let mut debug_struct = f.debug_struct("SearchDataObjectsResponse");
205        debug_struct.field("results", &self.results);
206        debug_struct.field("next_page_token", &self.next_page_token);
207        if !self._unknown_fields.is_empty() {
208            debug_struct.field("_unknown_fields", &self._unknown_fields);
209        }
210        debug_struct.finish()
211    }
212}
213
214impl std::fmt::Debug for super::AggregateDataObjectsRequest {
215    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
216        let mut debug_struct = f.debug_struct("AggregateDataObjectsRequest");
217        debug_struct.field("parent", &self.parent);
218        debug_struct.field("filter", &self.filter);
219        debug_struct.field("aggregate", &self.aggregate);
220        if !self._unknown_fields.is_empty() {
221            debug_struct.field("_unknown_fields", &self._unknown_fields);
222        }
223        debug_struct.finish()
224    }
225}
226
227impl std::fmt::Debug for super::AggregateDataObjectsResponse {
228    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229        let mut debug_struct = f.debug_struct("AggregateDataObjectsResponse");
230        debug_struct.field("aggregate_results", &self.aggregate_results);
231        if !self._unknown_fields.is_empty() {
232            debug_struct.field("_unknown_fields", &self._unknown_fields);
233        }
234        debug_struct.finish()
235    }
236}
237
238impl std::fmt::Debug for super::QueryDataObjectsRequest {
239    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
240        let mut debug_struct = f.debug_struct("QueryDataObjectsRequest");
241        debug_struct.field("parent", &self.parent);
242        debug_struct.field("filter", &self.filter);
243        debug_struct.field("output_fields", &self.output_fields);
244        debug_struct.field("page_size", &self.page_size);
245        debug_struct.field("page_token", &self.page_token);
246        if !self._unknown_fields.is_empty() {
247            debug_struct.field("_unknown_fields", &self._unknown_fields);
248        }
249        debug_struct.finish()
250    }
251}
252
253impl std::fmt::Debug for super::QueryDataObjectsResponse {
254    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
255        let mut debug_struct = f.debug_struct("QueryDataObjectsResponse");
256        debug_struct.field("data_objects", &self.data_objects);
257        debug_struct.field("next_page_token", &self.next_page_token);
258        if !self._unknown_fields.is_empty() {
259            debug_struct.field("_unknown_fields", &self._unknown_fields);
260        }
261        debug_struct.finish()
262    }
263}
264
265impl std::fmt::Debug for super::BatchSearchDataObjectsRequest {
266    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
267        let mut debug_struct = f.debug_struct("BatchSearchDataObjectsRequest");
268        debug_struct.field("parent", &self.parent);
269        debug_struct.field("searches", &self.searches);
270        debug_struct.field("combine", &self.combine);
271        if !self._unknown_fields.is_empty() {
272            debug_struct.field("_unknown_fields", &self._unknown_fields);
273        }
274        debug_struct.finish()
275    }
276}
277
278impl std::fmt::Debug for super::batch_search_data_objects_request::CombineResultsOptions {
279    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
280        let mut debug_struct = f.debug_struct("CombineResultsOptions");
281        debug_struct.field("ranker", &self.ranker);
282        debug_struct.field("output_fields", &self.output_fields);
283        debug_struct.field("top_k", &self.top_k);
284        if !self._unknown_fields.is_empty() {
285            debug_struct.field("_unknown_fields", &self._unknown_fields);
286        }
287        debug_struct.finish()
288    }
289}
290
291impl std::fmt::Debug for super::Ranker {
292    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
293        let mut debug_struct = f.debug_struct("Ranker");
294        debug_struct.field("ranker", &self.ranker);
295        if !self._unknown_fields.is_empty() {
296            debug_struct.field("_unknown_fields", &self._unknown_fields);
297        }
298        debug_struct.finish()
299    }
300}
301
302impl std::fmt::Debug for super::ReciprocalRankFusion {
303    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
304        let mut debug_struct = f.debug_struct("ReciprocalRankFusion");
305        debug_struct.field("weights", &self.weights);
306        if !self._unknown_fields.is_empty() {
307            debug_struct.field("_unknown_fields", &self._unknown_fields);
308        }
309        debug_struct.finish()
310    }
311}
312
313impl std::fmt::Debug for super::BatchSearchDataObjectsResponse {
314    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
315        let mut debug_struct = f.debug_struct("BatchSearchDataObjectsResponse");
316        debug_struct.field("results", &self.results);
317        if !self._unknown_fields.is_empty() {
318            debug_struct.field("_unknown_fields", &self._unknown_fields);
319        }
320        debug_struct.finish()
321    }
322}
323
324impl std::fmt::Debug for super::CreateDataObjectRequest {
325    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
326        let mut debug_struct = f.debug_struct("CreateDataObjectRequest");
327        debug_struct.field("parent", &self.parent);
328        debug_struct.field("data_object_id", &self.data_object_id);
329        debug_struct.field("data_object", &self.data_object);
330        if !self._unknown_fields.is_empty() {
331            debug_struct.field("_unknown_fields", &self._unknown_fields);
332        }
333        debug_struct.finish()
334    }
335}
336
337impl std::fmt::Debug for super::BatchCreateDataObjectsRequest {
338    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
339        let mut debug_struct = f.debug_struct("BatchCreateDataObjectsRequest");
340        debug_struct.field("parent", &self.parent);
341        debug_struct.field("requests", &self.requests);
342        if !self._unknown_fields.is_empty() {
343            debug_struct.field("_unknown_fields", &self._unknown_fields);
344        }
345        debug_struct.finish()
346    }
347}
348
349impl std::fmt::Debug for super::BatchCreateDataObjectsResponse {
350    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
351        let mut debug_struct = f.debug_struct("BatchCreateDataObjectsResponse");
352        debug_struct.field("data_objects", &self.data_objects);
353        if !self._unknown_fields.is_empty() {
354            debug_struct.field("_unknown_fields", &self._unknown_fields);
355        }
356        debug_struct.finish()
357    }
358}
359
360impl std::fmt::Debug for super::GetDataObjectRequest {
361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362        let mut debug_struct = f.debug_struct("GetDataObjectRequest");
363        debug_struct.field("name", &self.name);
364        if !self._unknown_fields.is_empty() {
365            debug_struct.field("_unknown_fields", &self._unknown_fields);
366        }
367        debug_struct.finish()
368    }
369}
370
371impl std::fmt::Debug for super::UpdateDataObjectRequest {
372    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
373        let mut debug_struct = f.debug_struct("UpdateDataObjectRequest");
374        debug_struct.field("data_object", &self.data_object);
375        debug_struct.field("update_mask", &self.update_mask);
376        if !self._unknown_fields.is_empty() {
377            debug_struct.field("_unknown_fields", &self._unknown_fields);
378        }
379        debug_struct.finish()
380    }
381}
382
383impl std::fmt::Debug for super::BatchUpdateDataObjectsRequest {
384    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
385        let mut debug_struct = f.debug_struct("BatchUpdateDataObjectsRequest");
386        debug_struct.field("parent", &self.parent);
387        debug_struct.field("requests", &self.requests);
388        if !self._unknown_fields.is_empty() {
389            debug_struct.field("_unknown_fields", &self._unknown_fields);
390        }
391        debug_struct.finish()
392    }
393}
394
395impl std::fmt::Debug for super::BatchUpdateDataObjectsResponse {
396    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
397        let mut debug_struct = f.debug_struct("BatchUpdateDataObjectsResponse");
398        if !self._unknown_fields.is_empty() {
399            debug_struct.field("_unknown_fields", &self._unknown_fields);
400        }
401        debug_struct.finish()
402    }
403}
404
405impl std::fmt::Debug for super::DeleteDataObjectRequest {
406    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
407        let mut debug_struct = f.debug_struct("DeleteDataObjectRequest");
408        debug_struct.field("name", &self.name);
409        debug_struct.field("etag", &self.etag);
410        if !self._unknown_fields.is_empty() {
411            debug_struct.field("_unknown_fields", &self._unknown_fields);
412        }
413        debug_struct.finish()
414    }
415}
416
417impl std::fmt::Debug for super::BatchDeleteDataObjectsRequest {
418    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
419        let mut debug_struct = f.debug_struct("BatchDeleteDataObjectsRequest");
420        debug_struct.field("parent", &self.parent);
421        debug_struct.field("requests", &self.requests);
422        if !self._unknown_fields.is_empty() {
423            debug_struct.field("_unknown_fields", &self._unknown_fields);
424        }
425        debug_struct.finish()
426    }
427}
428
429impl std::fmt::Debug for super::VertexEmbeddingConfig {
430    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
431        let mut debug_struct = f.debug_struct("VertexEmbeddingConfig");
432        debug_struct.field("model_id", &self.model_id);
433        debug_struct.field("text_template", &self.text_template);
434        debug_struct.field("task_type", &self.task_type);
435        if !self._unknown_fields.is_empty() {
436            debug_struct.field("_unknown_fields", &self._unknown_fields);
437        }
438        debug_struct.finish()
439    }
440}
441
442impl std::fmt::Debug for super::Collection {
443    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
444        let mut debug_struct = f.debug_struct("Collection");
445        debug_struct.field("name", &self.name);
446        debug_struct.field("display_name", &self.display_name);
447        debug_struct.field("description", &self.description);
448        debug_struct.field("create_time", &self.create_time);
449        debug_struct.field("update_time", &self.update_time);
450        debug_struct.field("labels", &self.labels);
451        debug_struct.field("vector_schema", &self.vector_schema);
452        debug_struct.field("data_schema", &self.data_schema);
453        if !self._unknown_fields.is_empty() {
454            debug_struct.field("_unknown_fields", &self._unknown_fields);
455        }
456        debug_struct.finish()
457    }
458}
459
460impl std::fmt::Debug for super::VectorField {
461    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
462        let mut debug_struct = f.debug_struct("VectorField");
463        debug_struct.field("vector_type_config", &self.vector_type_config);
464        if !self._unknown_fields.is_empty() {
465            debug_struct.field("_unknown_fields", &self._unknown_fields);
466        }
467        debug_struct.finish()
468    }
469}
470
471impl std::fmt::Debug for super::DenseVectorField {
472    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
473        let mut debug_struct = f.debug_struct("DenseVectorField");
474        debug_struct.field("dimensions", &self.dimensions);
475        debug_struct.field("vertex_embedding_config", &self.vertex_embedding_config);
476        if !self._unknown_fields.is_empty() {
477            debug_struct.field("_unknown_fields", &self._unknown_fields);
478        }
479        debug_struct.finish()
480    }
481}
482
483impl std::fmt::Debug for super::SparseVectorField {
484    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
485        let mut debug_struct = f.debug_struct("SparseVectorField");
486        if !self._unknown_fields.is_empty() {
487            debug_struct.field("_unknown_fields", &self._unknown_fields);
488        }
489        debug_struct.finish()
490    }
491}
492
493impl std::fmt::Debug for super::ListCollectionsRequest {
494    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
495        let mut debug_struct = f.debug_struct("ListCollectionsRequest");
496        debug_struct.field("parent", &self.parent);
497        debug_struct.field("page_size", &self.page_size);
498        debug_struct.field("page_token", &self.page_token);
499        debug_struct.field("filter", &self.filter);
500        debug_struct.field("order_by", &self.order_by);
501        if !self._unknown_fields.is_empty() {
502            debug_struct.field("_unknown_fields", &self._unknown_fields);
503        }
504        debug_struct.finish()
505    }
506}
507
508impl std::fmt::Debug for super::ListCollectionsResponse {
509    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
510        let mut debug_struct = f.debug_struct("ListCollectionsResponse");
511        debug_struct.field("collections", &self.collections);
512        debug_struct.field("next_page_token", &self.next_page_token);
513        debug_struct.field("unreachable", &self.unreachable);
514        if !self._unknown_fields.is_empty() {
515            debug_struct.field("_unknown_fields", &self._unknown_fields);
516        }
517        debug_struct.finish()
518    }
519}
520
521impl std::fmt::Debug for super::GetCollectionRequest {
522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523        let mut debug_struct = f.debug_struct("GetCollectionRequest");
524        debug_struct.field("name", &self.name);
525        if !self._unknown_fields.is_empty() {
526            debug_struct.field("_unknown_fields", &self._unknown_fields);
527        }
528        debug_struct.finish()
529    }
530}
531
532impl std::fmt::Debug for super::CreateCollectionRequest {
533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534        let mut debug_struct = f.debug_struct("CreateCollectionRequest");
535        debug_struct.field("parent", &self.parent);
536        debug_struct.field("collection_id", &self.collection_id);
537        debug_struct.field("collection", &self.collection);
538        debug_struct.field("request_id", &self.request_id);
539        if !self._unknown_fields.is_empty() {
540            debug_struct.field("_unknown_fields", &self._unknown_fields);
541        }
542        debug_struct.finish()
543    }
544}
545
546impl std::fmt::Debug for super::UpdateCollectionRequest {
547    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548        let mut debug_struct = f.debug_struct("UpdateCollectionRequest");
549        debug_struct.field("update_mask", &self.update_mask);
550        debug_struct.field("collection", &self.collection);
551        debug_struct.field("request_id", &self.request_id);
552        if !self._unknown_fields.is_empty() {
553            debug_struct.field("_unknown_fields", &self._unknown_fields);
554        }
555        debug_struct.finish()
556    }
557}
558
559impl std::fmt::Debug for super::DeleteCollectionRequest {
560    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561        let mut debug_struct = f.debug_struct("DeleteCollectionRequest");
562        debug_struct.field("name", &self.name);
563        debug_struct.field("request_id", &self.request_id);
564        if !self._unknown_fields.is_empty() {
565            debug_struct.field("_unknown_fields", &self._unknown_fields);
566        }
567        debug_struct.finish()
568    }
569}
570
571impl std::fmt::Debug for super::Index {
572    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
573        let mut debug_struct = f.debug_struct("Index");
574        debug_struct.field("name", &self.name);
575        debug_struct.field("display_name", &self.display_name);
576        debug_struct.field("description", &self.description);
577        debug_struct.field("labels", &self.labels);
578        debug_struct.field("create_time", &self.create_time);
579        debug_struct.field("update_time", &self.update_time);
580        debug_struct.field("distance_metric", &self.distance_metric);
581        debug_struct.field("index_field", &self.index_field);
582        debug_struct.field("filter_fields", &self.filter_fields);
583        debug_struct.field("store_fields", &self.store_fields);
584        debug_struct.field("infra_type", &self.infra_type);
585        debug_struct.field("index_type", &self.index_type);
586        if !self._unknown_fields.is_empty() {
587            debug_struct.field("_unknown_fields", &self._unknown_fields);
588        }
589        debug_struct.finish()
590    }
591}
592
593impl std::fmt::Debug for super::CreateIndexRequest {
594    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
595        let mut debug_struct = f.debug_struct("CreateIndexRequest");
596        debug_struct.field("parent", &self.parent);
597        debug_struct.field("index_id", &self.index_id);
598        debug_struct.field("index", &self.index);
599        debug_struct.field("request_id", &self.request_id);
600        if !self._unknown_fields.is_empty() {
601            debug_struct.field("_unknown_fields", &self._unknown_fields);
602        }
603        debug_struct.finish()
604    }
605}
606
607impl std::fmt::Debug for super::DeleteIndexRequest {
608    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
609        let mut debug_struct = f.debug_struct("DeleteIndexRequest");
610        debug_struct.field("name", &self.name);
611        debug_struct.field("request_id", &self.request_id);
612        if !self._unknown_fields.is_empty() {
613            debug_struct.field("_unknown_fields", &self._unknown_fields);
614        }
615        debug_struct.finish()
616    }
617}
618
619impl std::fmt::Debug for super::ListIndexesRequest {
620    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
621        let mut debug_struct = f.debug_struct("ListIndexesRequest");
622        debug_struct.field("parent", &self.parent);
623        debug_struct.field("page_size", &self.page_size);
624        debug_struct.field("page_token", &self.page_token);
625        debug_struct.field("filter", &self.filter);
626        debug_struct.field("order_by", &self.order_by);
627        if !self._unknown_fields.is_empty() {
628            debug_struct.field("_unknown_fields", &self._unknown_fields);
629        }
630        debug_struct.finish()
631    }
632}
633
634impl std::fmt::Debug for super::ListIndexesResponse {
635    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
636        let mut debug_struct = f.debug_struct("ListIndexesResponse");
637        debug_struct.field("indexes", &self.indexes);
638        debug_struct.field("next_page_token", &self.next_page_token);
639        if !self._unknown_fields.is_empty() {
640            debug_struct.field("_unknown_fields", &self._unknown_fields);
641        }
642        debug_struct.finish()
643    }
644}
645
646impl std::fmt::Debug for super::GetIndexRequest {
647    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
648        let mut debug_struct = f.debug_struct("GetIndexRequest");
649        debug_struct.field("name", &self.name);
650        if !self._unknown_fields.is_empty() {
651            debug_struct.field("_unknown_fields", &self._unknown_fields);
652        }
653        debug_struct.finish()
654    }
655}
656
657impl std::fmt::Debug for super::OperationMetadata {
658    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
659        let mut debug_struct = f.debug_struct("OperationMetadata");
660        debug_struct.field("create_time", &self.create_time);
661        debug_struct.field("end_time", &self.end_time);
662        debug_struct.field("target", &self.target);
663        debug_struct.field("verb", &self.verb);
664        debug_struct.field("status_message", &self.status_message);
665        debug_struct.field("requested_cancellation", &self.requested_cancellation);
666        debug_struct.field("api_version", &self.api_version);
667        if !self._unknown_fields.is_empty() {
668            debug_struct.field("_unknown_fields", &self._unknown_fields);
669        }
670        debug_struct.finish()
671    }
672}
673
674impl std::fmt::Debug for super::ImportDataObjectsRequest {
675    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
676        let mut debug_struct = f.debug_struct("ImportDataObjectsRequest");
677        debug_struct.field("name", &self.name);
678        debug_struct.field("config", &self.config);
679        if !self._unknown_fields.is_empty() {
680            debug_struct.field("_unknown_fields", &self._unknown_fields);
681        }
682        debug_struct.finish()
683    }
684}
685
686impl std::fmt::Debug for super::import_data_objects_request::GcsImportConfig {
687    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
688        let mut debug_struct = f.debug_struct("GcsImportConfig");
689        debug_struct.field("contents_uri", &self.contents_uri);
690        debug_struct.field("error_uri", &self.error_uri);
691        debug_struct.field("output_uri", &self.output_uri);
692        if !self._unknown_fields.is_empty() {
693            debug_struct.field("_unknown_fields", &self._unknown_fields);
694        }
695        debug_struct.finish()
696    }
697}
698
699impl std::fmt::Debug for super::ImportDataObjectsMetadata {
700    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
701        let mut debug_struct = f.debug_struct("ImportDataObjectsMetadata");
702        debug_struct.field("create_time", &self.create_time);
703        debug_struct.field("update_time", &self.update_time);
704        debug_struct.field("success_count", &self.success_count);
705        debug_struct.field("failure_count", &self.failure_count);
706        if !self._unknown_fields.is_empty() {
707            debug_struct.field("_unknown_fields", &self._unknown_fields);
708        }
709        debug_struct.finish()
710    }
711}
712
713impl std::fmt::Debug for super::ImportDataObjectsResponse {
714    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
715        let mut debug_struct = f.debug_struct("ImportDataObjectsResponse");
716        debug_struct.field("status", &self.status);
717        if !self._unknown_fields.is_empty() {
718            debug_struct.field("_unknown_fields", &self._unknown_fields);
719        }
720        debug_struct.finish()
721    }
722}
723
724impl std::fmt::Debug for super::ExportDataObjectsRequest {
725    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
726        let mut debug_struct = f.debug_struct("ExportDataObjectsRequest");
727        debug_struct.field("name", &self.name);
728        debug_struct.field("destination", &self.destination);
729        if !self._unknown_fields.is_empty() {
730            debug_struct.field("_unknown_fields", &self._unknown_fields);
731        }
732        debug_struct.finish()
733    }
734}
735
736impl std::fmt::Debug for super::export_data_objects_request::GcsExportDestination {
737    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
738        let mut debug_struct = f.debug_struct("GcsExportDestination");
739        debug_struct.field("export_uri", &self.export_uri);
740        debug_struct.field("format", &self.format);
741        if !self._unknown_fields.is_empty() {
742            debug_struct.field("_unknown_fields", &self._unknown_fields);
743        }
744        debug_struct.finish()
745    }
746}
747
748impl std::fmt::Debug for super::ExportDataObjectsMetadata {
749    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
750        let mut debug_struct = f.debug_struct("ExportDataObjectsMetadata");
751        debug_struct.field("create_time", &self.create_time);
752        debug_struct.field("finish_time", &self.finish_time);
753        if !self._unknown_fields.is_empty() {
754            debug_struct.field("_unknown_fields", &self._unknown_fields);
755        }
756        debug_struct.finish()
757    }
758}
759
760impl std::fmt::Debug for super::ExportDataObjectsResponse {
761    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
762        let mut debug_struct = f.debug_struct("ExportDataObjectsResponse");
763        if !self._unknown_fields.is_empty() {
764            debug_struct.field("_unknown_fields", &self._unknown_fields);
765        }
766        debug_struct.finish()
767    }
768}
769
770impl std::fmt::Debug for super::DedicatedInfrastructure {
771    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
772        let mut debug_struct = f.debug_struct("DedicatedInfrastructure");
773        debug_struct.field("mode", &self.mode);
774        debug_struct.field("autoscaling_spec", &self.autoscaling_spec);
775        if !self._unknown_fields.is_empty() {
776            debug_struct.field("_unknown_fields", &self._unknown_fields);
777        }
778        debug_struct.finish()
779    }
780}
781
782impl std::fmt::Debug for super::dedicated_infrastructure::AutoscalingSpec {
783    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
784        let mut debug_struct = f.debug_struct("AutoscalingSpec");
785        debug_struct.field("min_replica_count", &self.min_replica_count);
786        debug_struct.field("max_replica_count", &self.max_replica_count);
787        if !self._unknown_fields.is_empty() {
788            debug_struct.field("_unknown_fields", &self._unknown_fields);
789        }
790        debug_struct.finish()
791    }
792}
793
794impl std::fmt::Debug for super::DenseScannIndex {
795    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
796        let mut debug_struct = f.debug_struct("DenseScannIndex");
797        debug_struct.field("feature_norm_type", &self.feature_norm_type);
798        if !self._unknown_fields.is_empty() {
799            debug_struct.field("_unknown_fields", &self._unknown_fields);
800        }
801        debug_struct.finish()
802    }
803}