#
google_cloud_pubsub/generated/gapic/model/
debug.rs

    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 sidekick. DO NOT EDIT.
    16
    17#[allow(unused_imports)]
    18use super::*;
    19
    20impl std::fmt::Debug for super::MessageStoragePolicy {
    21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    22        let mut debug_struct = f.debug_struct("MessageStoragePolicy");
    23        debug_struct.field(
    24            "allowed_persistence_regions",
    25            &self.allowed_persistence_regions,
    26        );
    27        debug_struct.field("enforce_in_transit", &self.enforce_in_transit);
    28        if !self._unknown_fields.is_empty() {
    29            debug_struct.field("_unknown_fields", &self._unknown_fields);
    30        }
    31        debug_struct.finish()
    32    }
    33}
    34
    35impl std::fmt::Debug for super::SchemaSettings {
    36    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    37        let mut debug_struct = f.debug_struct("SchemaSettings");
    38        debug_struct.field("schema", &self.schema);
    39        debug_struct.field("encoding", &self.encoding);
    40        debug_struct.field("first_revision_id", &self.first_revision_id);
    41        debug_struct.field("last_revision_id", &self.last_revision_id);
    42        if !self._unknown_fields.is_empty() {
    43            debug_struct.field("_unknown_fields", &self._unknown_fields);
    44        }
    45        debug_struct.finish()
    46    }
    47}
    48
    49impl std::fmt::Debug for super::IngestionDataSourceSettings {
    50    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    51        let mut debug_struct = f.debug_struct("IngestionDataSourceSettings");
    52        debug_struct.field("platform_logs_settings", &self.platform_logs_settings);
    53        debug_struct.field("source", &self.source);
    54        if !self._unknown_fields.is_empty() {
    55            debug_struct.field("_unknown_fields", &self._unknown_fields);
    56        }
    57        debug_struct.finish()
    58    }
    59}
    60
    61impl std::fmt::Debug for super::ingestion_data_source_settings::AwsKinesis {
    62    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    63        let mut debug_struct = f.debug_struct("AwsKinesis");
    64        debug_struct.field("state", &self.state);
    65        debug_struct.field("stream_arn", &self.stream_arn);
    66        debug_struct.field("consumer_arn", &self.consumer_arn);
    67        debug_struct.field("aws_role_arn", &self.aws_role_arn);
    68        debug_struct.field("gcp_service_account", &self.gcp_service_account);
    69        if !self._unknown_fields.is_empty() {
    70            debug_struct.field("_unknown_fields", &self._unknown_fields);
    71        }
    72        debug_struct.finish()
    73    }
    74}
    75
    76impl std::fmt::Debug for super::ingestion_data_source_settings::CloudStorage {
    77    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    78        let mut debug_struct = f.debug_struct("CloudStorage");
    79        debug_struct.field("state", &self.state);
    80        debug_struct.field("bucket", &self.bucket);
    81        debug_struct.field(
    82            "minimum_object_create_time",
    83            &self.minimum_object_create_time,
    84        );
    85        debug_struct.field("match_glob", &self.match_glob);
    86        debug_struct.field("input_format", &self.input_format);
    87        if !self._unknown_fields.is_empty() {
    88            debug_struct.field("_unknown_fields", &self._unknown_fields);
    89        }
    90        debug_struct.finish()
    91    }
    92}
    93
    94impl std::fmt::Debug for super::ingestion_data_source_settings::cloud_storage::TextFormat {
    95    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    96        let mut debug_struct = f.debug_struct("TextFormat");
    97        debug_struct.field("delimiter", &self.delimiter);
    98        if !self._unknown_fields.is_empty() {
    99            debug_struct.field("_unknown_fields", &self._unknown_fields);
    100        }
    101        debug_struct.finish()
    102    }
    103}
    104
    105impl std::fmt::Debug for super::ingestion_data_source_settings::cloud_storage::AvroFormat {
    106    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    107        let mut debug_struct = f.debug_struct("AvroFormat");
    108        if !self._unknown_fields.is_empty() {
    109            debug_struct.field("_unknown_fields", &self._unknown_fields);
    110        }
    111        debug_struct.finish()
    112    }
    113}
    114
    115impl std::fmt::Debug for super::ingestion_data_source_settings::cloud_storage::PubSubAvroFormat {
    116    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    117        let mut debug_struct = f.debug_struct("PubSubAvroFormat");
    118        if !self._unknown_fields.is_empty() {
    119            debug_struct.field("_unknown_fields", &self._unknown_fields);
    120        }
    121        debug_struct.finish()
    122    }
    123}
    124
    125impl std::fmt::Debug for super::ingestion_data_source_settings::AzureEventHubs {
    126    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    127        let mut debug_struct = f.debug_struct("AzureEventHubs");
    128        debug_struct.field("state", &self.state);
    129        debug_struct.field("resource_group", &self.resource_group);
    130        debug_struct.field("namespace", &self.namespace);
    131        debug_struct.field("event_hub", &self.event_hub);
    132        debug_struct.field("client_id", &self.client_id);
    133        debug_struct.field("tenant_id", &self.tenant_id);
    134        debug_struct.field("subscription_id", &self.subscription_id);
    135        debug_struct.field("gcp_service_account", &self.gcp_service_account);
    136        if !self._unknown_fields.is_empty() {
    137            debug_struct.field("_unknown_fields", &self._unknown_fields);
    138        }
    139        debug_struct.finish()
    140    }
    141}
    142
    143impl std::fmt::Debug for super::ingestion_data_source_settings::AwsMsk {
    144    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    145        let mut debug_struct = f.debug_struct("AwsMsk");
    146        debug_struct.field("state", &self.state);
    147        debug_struct.field("cluster_arn", &self.cluster_arn);
    148        debug_struct.field("topic", &self.topic);
    149        debug_struct.field("aws_role_arn", &self.aws_role_arn);
    150        debug_struct.field("gcp_service_account", &self.gcp_service_account);
    151        if !self._unknown_fields.is_empty() {
    152            debug_struct.field("_unknown_fields", &self._unknown_fields);
    153        }
    154        debug_struct.finish()
    155    }
    156}
    157
    158impl std::fmt::Debug for super::ingestion_data_source_settings::ConfluentCloud {
    159    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    160        let mut debug_struct = f.debug_struct("ConfluentCloud");
    161        debug_struct.field("state", &self.state);
    162        debug_struct.field("bootstrap_server", &self.bootstrap_server);
    163        debug_struct.field("cluster_id", &self.cluster_id);
    164        debug_struct.field("topic", &self.topic);
    165        debug_struct.field("identity_pool_id", &self.identity_pool_id);
    166        debug_struct.field("gcp_service_account", &self.gcp_service_account);
    167        if !self._unknown_fields.is_empty() {
    168            debug_struct.field("_unknown_fields", &self._unknown_fields);
    169        }
    170        debug_struct.finish()
    171    }
    172}
    173
    174impl std::fmt::Debug for super::PlatformLogsSettings {
    175    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    176        let mut debug_struct = f.debug_struct("PlatformLogsSettings");
    177        debug_struct.field("severity", &self.severity);
    178        if !self._unknown_fields.is_empty() {
    179            debug_struct.field("_unknown_fields", &self._unknown_fields);
    180        }
    181        debug_struct.finish()
    182    }
    183}
    184
    185impl std::fmt::Debug for super::JavaScriptUDF {
    186    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    187        let mut debug_struct = f.debug_struct("JavaScriptUDF");
    188        debug_struct.field("function_name", &self.function_name);
    189        debug_struct.field("code", &self.code);
    190        if !self._unknown_fields.is_empty() {
    191            debug_struct.field("_unknown_fields", &self._unknown_fields);
    192        }
    193        debug_struct.finish()
    194    }
    195}
    196
    197impl std::fmt::Debug for super::MessageTransform {
    198    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    199        let mut debug_struct = f.debug_struct("MessageTransform");
    200        debug_struct.field("enabled", &self.enabled);
    201        debug_struct.field("disabled", &self.disabled);
    202        debug_struct.field("transform", &self.transform);
    203        if !self._unknown_fields.is_empty() {
    204            debug_struct.field("_unknown_fields", &self._unknown_fields);
    205        }
    206        debug_struct.finish()
    207    }
    208}
    209
    210impl std::fmt::Debug for super::Topic {
    211    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    212        let mut debug_struct = f.debug_struct("Topic");
    213        debug_struct.field("name", &self.name);
    214        debug_struct.field("labels", &self.labels);
    215        debug_struct.field("message_storage_policy", &self.message_storage_policy);
    216        debug_struct.field("kms_key_name", &self.kms_key_name);
    217        debug_struct.field("schema_settings", &self.schema_settings);
    218        debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
    219        debug_struct.field(
    220            "message_retention_duration",
    221            &self.message_retention_duration,
    222        );
    223        debug_struct.field("state", &self.state);
    224        debug_struct.field(
    225            "ingestion_data_source_settings",
    226            &self.ingestion_data_source_settings,
    227        );
    228        debug_struct.field("message_transforms", &self.message_transforms);
    229        debug_struct.field("tags", &self.tags);
    230        if !self._unknown_fields.is_empty() {
    231            debug_struct.field("_unknown_fields", &self._unknown_fields);
    232        }
    233        debug_struct.finish()
    234    }
    235}
    236
    237impl std::fmt::Debug for super::GetTopicRequest {
    238    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    239        let mut debug_struct = f.debug_struct("GetTopicRequest");
    240        debug_struct.field("topic", &self.topic);
    241        if !self._unknown_fields.is_empty() {
    242            debug_struct.field("_unknown_fields", &self._unknown_fields);
    243        }
    244        debug_struct.finish()
    245    }
    246}
    247
    248impl std::fmt::Debug for super::UpdateTopicRequest {
    249    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    250        let mut debug_struct = f.debug_struct("UpdateTopicRequest");
    251        debug_struct.field("topic", &self.topic);
    252        debug_struct.field("update_mask", &self.update_mask);
    253        if !self._unknown_fields.is_empty() {
    254            debug_struct.field("_unknown_fields", &self._unknown_fields);
    255        }
    256        debug_struct.finish()
    257    }
    258}
    259
    260impl std::fmt::Debug for super::ListTopicsRequest {
    261    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    262        let mut debug_struct = f.debug_struct("ListTopicsRequest");
    263        debug_struct.field("project", &self.project);
    264        debug_struct.field("page_size", &self.page_size);
    265        debug_struct.field("page_token", &self.page_token);
    266        if !self._unknown_fields.is_empty() {
    267            debug_struct.field("_unknown_fields", &self._unknown_fields);
    268        }
    269        debug_struct.finish()
    270    }
    271}
    272
    273impl std::fmt::Debug for super::ListTopicsResponse {
    274    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    275        let mut debug_struct = f.debug_struct("ListTopicsResponse");
    276        debug_struct.field("topics", &self.topics);
    277        debug_struct.field("next_page_token", &self.next_page_token);
    278        if !self._unknown_fields.is_empty() {
    279            debug_struct.field("_unknown_fields", &self._unknown_fields);
    280        }
    281        debug_struct.finish()
    282    }
    283}
    284
    285impl std::fmt::Debug for super::ListTopicSubscriptionsRequest {
    286    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    287        let mut debug_struct = f.debug_struct("ListTopicSubscriptionsRequest");
    288        debug_struct.field("topic", &self.topic);
    289        debug_struct.field("page_size", &self.page_size);
    290        debug_struct.field("page_token", &self.page_token);
    291        if !self._unknown_fields.is_empty() {
    292            debug_struct.field("_unknown_fields", &self._unknown_fields);
    293        }
    294        debug_struct.finish()
    295    }
    296}
    297
    298impl std::fmt::Debug for super::ListTopicSubscriptionsResponse {
    299    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    300        let mut debug_struct = f.debug_struct("ListTopicSubscriptionsResponse");
    301        debug_struct.field("subscriptions", &self.subscriptions);
    302        debug_struct.field("next_page_token", &self.next_page_token);
    303        if !self._unknown_fields.is_empty() {
    304            debug_struct.field("_unknown_fields", &self._unknown_fields);
    305        }
    306        debug_struct.finish()
    307    }
    308}
    309
    310impl std::fmt::Debug for super::ListTopicSnapshotsRequest {
    311    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    312        let mut debug_struct = f.debug_struct("ListTopicSnapshotsRequest");
    313        debug_struct.field("topic", &self.topic);
    314        debug_struct.field("page_size", &self.page_size);
    315        debug_struct.field("page_token", &self.page_token);
    316        if !self._unknown_fields.is_empty() {
    317            debug_struct.field("_unknown_fields", &self._unknown_fields);
    318        }
    319        debug_struct.finish()
    320    }
    321}
    322
    323impl std::fmt::Debug for super::ListTopicSnapshotsResponse {
    324    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    325        let mut debug_struct = f.debug_struct("ListTopicSnapshotsResponse");
    326        debug_struct.field("snapshots", &self.snapshots);
    327        debug_struct.field("next_page_token", &self.next_page_token);
    328        if !self._unknown_fields.is_empty() {
    329            debug_struct.field("_unknown_fields", &self._unknown_fields);
    330        }
    331        debug_struct.finish()
    332    }
    333}
    334
    335impl std::fmt::Debug for super::DeleteTopicRequest {
    336    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    337        let mut debug_struct = f.debug_struct("DeleteTopicRequest");
    338        debug_struct.field("topic", &self.topic);
    339        if !self._unknown_fields.is_empty() {
    340            debug_struct.field("_unknown_fields", &self._unknown_fields);
    341        }
    342        debug_struct.finish()
    343    }
    344}
    345
    346impl std::fmt::Debug for super::DetachSubscriptionRequest {
    347    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    348        let mut debug_struct = f.debug_struct("DetachSubscriptionRequest");
    349        debug_struct.field("subscription", &self.subscription);
    350        if !self._unknown_fields.is_empty() {
    351            debug_struct.field("_unknown_fields", &self._unknown_fields);
    352        }
    353        debug_struct.finish()
    354    }
    355}
    356
    357impl std::fmt::Debug for super::DetachSubscriptionResponse {
    358    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    359        let mut debug_struct = f.debug_struct("DetachSubscriptionResponse");
    360        if !self._unknown_fields.is_empty() {
    361            debug_struct.field("_unknown_fields", &self._unknown_fields);
    362        }
    363        debug_struct.finish()
    364    }
    365}
    366
    367impl std::fmt::Debug for super::Subscription {
    368    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    369        let mut debug_struct = f.debug_struct("Subscription");
    370        debug_struct.field("name", &self.name);
    371        debug_struct.field("topic", &self.topic);
    372        debug_struct.field("push_config", &self.push_config);
    373        debug_struct.field("bigquery_config", &self.bigquery_config);
    374        debug_struct.field("cloud_storage_config", &self.cloud_storage_config);
    375        debug_struct.field("ack_deadline_seconds", &self.ack_deadline_seconds);
    376        debug_struct.field("retain_acked_messages", &self.retain_acked_messages);
    377        debug_struct.field(
    378            "message_retention_duration",
    379            &self.message_retention_duration,
    380        );
    381        debug_struct.field("labels", &self.labels);
    382        debug_struct.field("enable_message_ordering", &self.enable_message_ordering);
    383        debug_struct.field("expiration_policy", &self.expiration_policy);
    384        debug_struct.field("filter", &self.filter);
    385        debug_struct.field("dead_letter_policy", &self.dead_letter_policy);
    386        debug_struct.field("retry_policy", &self.retry_policy);
    387        debug_struct.field("detached", &self.detached);
    388        debug_struct.field(
    389            "enable_exactly_once_delivery",
    390            &self.enable_exactly_once_delivery,
    391        );
    392        debug_struct.field(
    393            "topic_message_retention_duration",
    394            &self.topic_message_retention_duration,
    395        );
    396        debug_struct.field("state", &self.state);
    397        debug_struct.field(
    398            "analytics_hub_subscription_info",
    399            &self.analytics_hub_subscription_info,
    400        );
    401        debug_struct.field("message_transforms", &self.message_transforms);
    402        debug_struct.field("tags", &self.tags);
    403        if !self._unknown_fields.is_empty() {
    404            debug_struct.field("_unknown_fields", &self._unknown_fields);
    405        }
    406        debug_struct.finish()
    407    }
    408}
    409
    410impl std::fmt::Debug for super::subscription::AnalyticsHubSubscriptionInfo {
    411    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    412        let mut debug_struct = f.debug_struct("AnalyticsHubSubscriptionInfo");
    413        debug_struct.field("listing", &self.listing);
    414        debug_struct.field("subscription", &self.subscription);
    415        if !self._unknown_fields.is_empty() {
    416            debug_struct.field("_unknown_fields", &self._unknown_fields);
    417        }
    418        debug_struct.finish()
    419    }
    420}
    421
    422impl std::fmt::Debug for super::RetryPolicy {
    423    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    424        let mut debug_struct = f.debug_struct("RetryPolicy");
    425        debug_struct.field("minimum_backoff", &self.minimum_backoff);
    426        debug_struct.field("maximum_backoff", &self.maximum_backoff);
    427        if !self._unknown_fields.is_empty() {
    428            debug_struct.field("_unknown_fields", &self._unknown_fields);
    429        }
    430        debug_struct.finish()
    431    }
    432}
    433
    434impl std::fmt::Debug for super::DeadLetterPolicy {
    435    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    436        let mut debug_struct = f.debug_struct("DeadLetterPolicy");
    437        debug_struct.field("dead_letter_topic", &self.dead_letter_topic);
    438        debug_struct.field("max_delivery_attempts", &self.max_delivery_attempts);
    439        if !self._unknown_fields.is_empty() {
    440            debug_struct.field("_unknown_fields", &self._unknown_fields);
    441        }
    442        debug_struct.finish()
    443    }
    444}
    445
    446impl std::fmt::Debug for super::ExpirationPolicy {
    447    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    448        let mut debug_struct = f.debug_struct("ExpirationPolicy");
    449        debug_struct.field("ttl", &self.ttl);
    450        if !self._unknown_fields.is_empty() {
    451            debug_struct.field("_unknown_fields", &self._unknown_fields);
    452        }
    453        debug_struct.finish()
    454    }
    455}
    456
    457impl std::fmt::Debug for super::PushConfig {
    458    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    459        let mut debug_struct = f.debug_struct("PushConfig");
    460        debug_struct.field("push_endpoint", &self.push_endpoint);
    461        debug_struct.field("attributes", &self.attributes);
    462        debug_struct.field("authentication_method", &self.authentication_method);
    463        debug_struct.field("wrapper", &self.wrapper);
    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::push_config::OidcToken {
    472    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    473        let mut debug_struct = f.debug_struct("OidcToken");
    474        debug_struct.field("service_account_email", &self.service_account_email);
    475        debug_struct.field("audience", &self.audience);
    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::push_config::PubsubWrapper {
    484    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    485        let mut debug_struct = f.debug_struct("PubsubWrapper");
    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::push_config::NoWrapper {
    494    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    495        let mut debug_struct = f.debug_struct("NoWrapper");
    496        debug_struct.field("write_metadata", &self.write_metadata);
    497        if !self._unknown_fields.is_empty() {
    498            debug_struct.field("_unknown_fields", &self._unknown_fields);
    499        }
    500        debug_struct.finish()
    501    }
    502}
    503
    504impl std::fmt::Debug for super::BigQueryConfig {
    505    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    506        let mut debug_struct = f.debug_struct("BigQueryConfig");
    507        debug_struct.field("table", &self.table);
    508        debug_struct.field("use_topic_schema", &self.use_topic_schema);
    509        debug_struct.field("write_metadata", &self.write_metadata);
    510        debug_struct.field("drop_unknown_fields", &self.drop_unknown_fields);
    511        debug_struct.field("state", &self.state);
    512        debug_struct.field("use_table_schema", &self.use_table_schema);
    513        debug_struct.field("service_account_email", &self.service_account_email);
    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::CloudStorageConfig {
    522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    523        let mut debug_struct = f.debug_struct("CloudStorageConfig");
    524        debug_struct.field("bucket", &self.bucket);
    525        debug_struct.field("filename_prefix", &self.filename_prefix);
    526        debug_struct.field("filename_suffix", &self.filename_suffix);
    527        debug_struct.field("filename_datetime_format", &self.filename_datetime_format);
    528        debug_struct.field("max_duration", &self.max_duration);
    529        debug_struct.field("max_bytes", &self.max_bytes);
    530        debug_struct.field("max_messages", &self.max_messages);
    531        debug_struct.field("state", &self.state);
    532        debug_struct.field("service_account_email", &self.service_account_email);
    533        debug_struct.field("output_format", &self.output_format);
    534        if !self._unknown_fields.is_empty() {
    535            debug_struct.field("_unknown_fields", &self._unknown_fields);
    536        }
    537        debug_struct.finish()
    538    }
    539}
    540
    541impl std::fmt::Debug for super::cloud_storage_config::TextConfig {
    542    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    543        let mut debug_struct = f.debug_struct("TextConfig");
    544        if !self._unknown_fields.is_empty() {
    545            debug_struct.field("_unknown_fields", &self._unknown_fields);
    546        }
    547        debug_struct.finish()
    548    }
    549}
    550
    551impl std::fmt::Debug for super::cloud_storage_config::AvroConfig {
    552    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    553        let mut debug_struct = f.debug_struct("AvroConfig");
    554        debug_struct.field("write_metadata", &self.write_metadata);
    555        debug_struct.field("use_topic_schema", &self.use_topic_schema);
    556        if !self._unknown_fields.is_empty() {
    557            debug_struct.field("_unknown_fields", &self._unknown_fields);
    558        }
    559        debug_struct.finish()
    560    }
    561}
    562
    563impl std::fmt::Debug for super::GetSubscriptionRequest {
    564    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    565        let mut debug_struct = f.debug_struct("GetSubscriptionRequest");
    566        debug_struct.field("subscription", &self.subscription);
    567        if !self._unknown_fields.is_empty() {
    568            debug_struct.field("_unknown_fields", &self._unknown_fields);
    569        }
    570        debug_struct.finish()
    571    }
    572}
    573
    574impl std::fmt::Debug for super::UpdateSubscriptionRequest {
    575    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    576        let mut debug_struct = f.debug_struct("UpdateSubscriptionRequest");
    577        debug_struct.field("subscription", &self.subscription);
    578        debug_struct.field("update_mask", &self.update_mask);
    579        if !self._unknown_fields.is_empty() {
    580            debug_struct.field("_unknown_fields", &self._unknown_fields);
    581        }
    582        debug_struct.finish()
    583    }
    584}
    585
    586impl std::fmt::Debug for super::ListSubscriptionsRequest {
    587    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    588        let mut debug_struct = f.debug_struct("ListSubscriptionsRequest");
    589        debug_struct.field("project", &self.project);
    590        debug_struct.field("page_size", &self.page_size);
    591        debug_struct.field("page_token", &self.page_token);
    592        if !self._unknown_fields.is_empty() {
    593            debug_struct.field("_unknown_fields", &self._unknown_fields);
    594        }
    595        debug_struct.finish()
    596    }
    597}
    598
    599impl std::fmt::Debug for super::ListSubscriptionsResponse {
    600    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    601        let mut debug_struct = f.debug_struct("ListSubscriptionsResponse");
    602        debug_struct.field("subscriptions", &self.subscriptions);
    603        debug_struct.field("next_page_token", &self.next_page_token);
    604        if !self._unknown_fields.is_empty() {
    605            debug_struct.field("_unknown_fields", &self._unknown_fields);
    606        }
    607        debug_struct.finish()
    608    }
    609}
    610
    611impl std::fmt::Debug for super::DeleteSubscriptionRequest {
    612    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    613        let mut debug_struct = f.debug_struct("DeleteSubscriptionRequest");
    614        debug_struct.field("subscription", &self.subscription);
    615        if !self._unknown_fields.is_empty() {
    616            debug_struct.field("_unknown_fields", &self._unknown_fields);
    617        }
    618        debug_struct.finish()
    619    }
    620}
    621
    622impl std::fmt::Debug for super::ModifyPushConfigRequest {
    623    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    624        let mut debug_struct = f.debug_struct("ModifyPushConfigRequest");
    625        debug_struct.field("subscription", &self.subscription);
    626        debug_struct.field("push_config", &self.push_config);
    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::CreateSnapshotRequest {
    635    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    636        let mut debug_struct = f.debug_struct("CreateSnapshotRequest");
    637        debug_struct.field("name", &self.name);
    638        debug_struct.field("subscription", &self.subscription);
    639        debug_struct.field("labels", &self.labels);
    640        debug_struct.field("tags", &self.tags);
    641        if !self._unknown_fields.is_empty() {
    642            debug_struct.field("_unknown_fields", &self._unknown_fields);
    643        }
    644        debug_struct.finish()
    645    }
    646}
    647
    648impl std::fmt::Debug for super::UpdateSnapshotRequest {
    649    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    650        let mut debug_struct = f.debug_struct("UpdateSnapshotRequest");
    651        debug_struct.field("snapshot", &self.snapshot);
    652        debug_struct.field("update_mask", &self.update_mask);
    653        if !self._unknown_fields.is_empty() {
    654            debug_struct.field("_unknown_fields", &self._unknown_fields);
    655        }
    656        debug_struct.finish()
    657    }
    658}
    659
    660impl std::fmt::Debug for super::Snapshot {
    661    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    662        let mut debug_struct = f.debug_struct("Snapshot");
    663        debug_struct.field("name", &self.name);
    664        debug_struct.field("topic", &self.topic);
    665        debug_struct.field("expire_time", &self.expire_time);
    666        debug_struct.field("labels", &self.labels);
    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::GetSnapshotRequest {
    675    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    676        let mut debug_struct = f.debug_struct("GetSnapshotRequest");
    677        debug_struct.field("snapshot", &self.snapshot);
    678        if !self._unknown_fields.is_empty() {
    679            debug_struct.field("_unknown_fields", &self._unknown_fields);
    680        }
    681        debug_struct.finish()
    682    }
    683}
    684
    685impl std::fmt::Debug for super::ListSnapshotsRequest {
    686    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    687        let mut debug_struct = f.debug_struct("ListSnapshotsRequest");
    688        debug_struct.field("project", &self.project);
    689        debug_struct.field("page_size", &self.page_size);
    690        debug_struct.field("page_token", &self.page_token);
    691        if !self._unknown_fields.is_empty() {
    692            debug_struct.field("_unknown_fields", &self._unknown_fields);
    693        }
    694        debug_struct.finish()
    695    }
    696}
    697
    698impl std::fmt::Debug for super::ListSnapshotsResponse {
    699    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    700        let mut debug_struct = f.debug_struct("ListSnapshotsResponse");
    701        debug_struct.field("snapshots", &self.snapshots);
    702        debug_struct.field("next_page_token", &self.next_page_token);
    703        if !self._unknown_fields.is_empty() {
    704            debug_struct.field("_unknown_fields", &self._unknown_fields);
    705        }
    706        debug_struct.finish()
    707    }
    708}
    709
    710impl std::fmt::Debug for super::DeleteSnapshotRequest {
    711    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    712        let mut debug_struct = f.debug_struct("DeleteSnapshotRequest");
    713        debug_struct.field("snapshot", &self.snapshot);
    714        if !self._unknown_fields.is_empty() {
    715            debug_struct.field("_unknown_fields", &self._unknown_fields);
    716        }
    717        debug_struct.finish()
    718    }
    719}
    720
    721impl std::fmt::Debug for super::SeekRequest {
    722    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    723        let mut debug_struct = f.debug_struct("SeekRequest");
    724        debug_struct.field("subscription", &self.subscription);
    725        debug_struct.field("target", &self.target);
    726        if !self._unknown_fields.is_empty() {
    727            debug_struct.field("_unknown_fields", &self._unknown_fields);
    728        }
    729        debug_struct.finish()
    730    }
    731}
    732
    733impl std::fmt::Debug for super::SeekResponse {
    734    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    735        let mut debug_struct = f.debug_struct("SeekResponse");
    736        if !self._unknown_fields.is_empty() {
    737            debug_struct.field("_unknown_fields", &self._unknown_fields);
    738        }
    739        debug_struct.finish()
    740    }
    741}
    742
    743impl std::fmt::Debug for super::Schema {
    744    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    745        let mut debug_struct = f.debug_struct("Schema");
    746        debug_struct.field("name", &self.name);
    747        debug_struct.field("r#type", &self.r#type);
    748        debug_struct.field("definition", &self.definition);
    749        debug_struct.field("revision_id", &self.revision_id);
    750        debug_struct.field("revision_create_time", &self.revision_create_time);
    751        if !self._unknown_fields.is_empty() {
    752            debug_struct.field("_unknown_fields", &self._unknown_fields);
    753        }
    754        debug_struct.finish()
    755    }
    756}
    757
    758impl std::fmt::Debug for super::CreateSchemaRequest {
    759    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    760        let mut debug_struct = f.debug_struct("CreateSchemaRequest");
    761        debug_struct.field("parent", &self.parent);
    762        debug_struct.field("schema", &self.schema);
    763        debug_struct.field("schema_id", &self.schema_id);
    764        if !self._unknown_fields.is_empty() {
    765            debug_struct.field("_unknown_fields", &self._unknown_fields);
    766        }
    767        debug_struct.finish()
    768    }
    769}
    770
    771impl std::fmt::Debug for super::GetSchemaRequest {
    772    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    773        let mut debug_struct = f.debug_struct("GetSchemaRequest");
    774        debug_struct.field("name", &self.name);
    775        debug_struct.field("view", &self.view);
    776        if !self._unknown_fields.is_empty() {
    777            debug_struct.field("_unknown_fields", &self._unknown_fields);
    778        }
    779        debug_struct.finish()
    780    }
    781}
    782
    783impl std::fmt::Debug for super::ListSchemasRequest {
    784    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    785        let mut debug_struct = f.debug_struct("ListSchemasRequest");
    786        debug_struct.field("parent", &self.parent);
    787        debug_struct.field("view", &self.view);
    788        debug_struct.field("page_size", &self.page_size);
    789        debug_struct.field("page_token", &self.page_token);
    790        if !self._unknown_fields.is_empty() {
    791            debug_struct.field("_unknown_fields", &self._unknown_fields);
    792        }
    793        debug_struct.finish()
    794    }
    795}
    796
    797impl std::fmt::Debug for super::ListSchemasResponse {
    798    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    799        let mut debug_struct = f.debug_struct("ListSchemasResponse");
    800        debug_struct.field("schemas", &self.schemas);
    801        debug_struct.field("next_page_token", &self.next_page_token);
    802        if !self._unknown_fields.is_empty() {
    803            debug_struct.field("_unknown_fields", &self._unknown_fields);
    804        }
    805        debug_struct.finish()
    806    }
    807}
    808
    809impl std::fmt::Debug for super::ListSchemaRevisionsRequest {
    810    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    811        let mut debug_struct = f.debug_struct("ListSchemaRevisionsRequest");
    812        debug_struct.field("name", &self.name);
    813        debug_struct.field("view", &self.view);
    814        debug_struct.field("page_size", &self.page_size);
    815        debug_struct.field("page_token", &self.page_token);
    816        if !self._unknown_fields.is_empty() {
    817            debug_struct.field("_unknown_fields", &self._unknown_fields);
    818        }
    819        debug_struct.finish()
    820    }
    821}
    822
    823impl std::fmt::Debug for super::ListSchemaRevisionsResponse {
    824    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    825        let mut debug_struct = f.debug_struct("ListSchemaRevisionsResponse");
    826        debug_struct.field("schemas", &self.schemas);
    827        debug_struct.field("next_page_token", &self.next_page_token);
    828        if !self._unknown_fields.is_empty() {
    829            debug_struct.field("_unknown_fields", &self._unknown_fields);
    830        }
    831        debug_struct.finish()
    832    }
    833}
    834
    835impl std::fmt::Debug for super::CommitSchemaRequest {
    836    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    837        let mut debug_struct = f.debug_struct("CommitSchemaRequest");
    838        debug_struct.field("name", &self.name);
    839        debug_struct.field("schema", &self.schema);
    840        if !self._unknown_fields.is_empty() {
    841            debug_struct.field("_unknown_fields", &self._unknown_fields);
    842        }
    843        debug_struct.finish()
    844    }
    845}
    846
    847impl std::fmt::Debug for super::RollbackSchemaRequest {
    848    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    849        let mut debug_struct = f.debug_struct("RollbackSchemaRequest");
    850        debug_struct.field("name", &self.name);
    851        debug_struct.field("revision_id", &self.revision_id);
    852        if !self._unknown_fields.is_empty() {
    853            debug_struct.field("_unknown_fields", &self._unknown_fields);
    854        }
    855        debug_struct.finish()
    856    }
    857}
    858
    859impl std::fmt::Debug for super::DeleteSchemaRevisionRequest {
    860    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    861        let mut debug_struct = f.debug_struct("DeleteSchemaRevisionRequest");
    862        debug_struct.field("name", &self.name);
    863        debug_struct.field("revision_id", &self.revision_id);
    864        if !self._unknown_fields.is_empty() {
    865            debug_struct.field("_unknown_fields", &self._unknown_fields);
    866        }
    867        debug_struct.finish()
    868    }
    869}
    870
    871impl std::fmt::Debug for super::DeleteSchemaRequest {
    872    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    873        let mut debug_struct = f.debug_struct("DeleteSchemaRequest");
    874        debug_struct.field("name", &self.name);
    875        if !self._unknown_fields.is_empty() {
    876            debug_struct.field("_unknown_fields", &self._unknown_fields);
    877        }
    878        debug_struct.finish()
    879    }
    880}
    881
    882impl std::fmt::Debug for super::ValidateSchemaRequest {
    883    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    884        let mut debug_struct = f.debug_struct("ValidateSchemaRequest");
    885        debug_struct.field("parent", &self.parent);
    886        debug_struct.field("schema", &self.schema);
    887        if !self._unknown_fields.is_empty() {
    888            debug_struct.field("_unknown_fields", &self._unknown_fields);
    889        }
    890        debug_struct.finish()
    891    }
    892}
    893
    894impl std::fmt::Debug for super::ValidateSchemaResponse {
    895    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    896        let mut debug_struct = f.debug_struct("ValidateSchemaResponse");
    897        if !self._unknown_fields.is_empty() {
    898            debug_struct.field("_unknown_fields", &self._unknown_fields);
    899        }
    900        debug_struct.finish()
    901    }
    902}
    903
    904impl std::fmt::Debug for super::ValidateMessageRequest {
    905    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    906        let mut debug_struct = f.debug_struct("ValidateMessageRequest");
    907        debug_struct.field("parent", &self.parent);
    908        debug_struct.field("message", &self.message);
    909        debug_struct.field("encoding", &self.encoding);
    910        debug_struct.field("schema_spec", &self.schema_spec);
    911        if !self._unknown_fields.is_empty() {
    912            debug_struct.field("_unknown_fields", &self._unknown_fields);
    913        }
    914        debug_struct.finish()
    915    }
    916}
    917
    918impl std::fmt::Debug for super::ValidateMessageResponse {
    919    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    920        let mut debug_struct = f.debug_struct("ValidateMessageResponse");
    921        if !self._unknown_fields.is_empty() {
    922            debug_struct.field("_unknown_fields", &self._unknown_fields);
    923        }
    924        debug_struct.finish()
    925    }
    926}