google_cloud_datafusion_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::NetworkConfig {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("NetworkConfig");
23 debug_struct.field("network", &self.network);
24 debug_struct.field("ip_allocation", &self.ip_allocation);
25 if !self._unknown_fields.is_empty() {
26 debug_struct.field("_unknown_fields", &self._unknown_fields);
27 }
28 debug_struct.finish()
29 }
30}
31
32impl std::fmt::Debug for super::Version {
33 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34 let mut debug_struct = f.debug_struct("Version");
35 debug_struct.field("version_number", &self.version_number);
36 debug_struct.field("default_version", &self.default_version);
37 debug_struct.field("available_features", &self.available_features);
38 debug_struct.field("r#type", &self.r#type);
39 if !self._unknown_fields.is_empty() {
40 debug_struct.field("_unknown_fields", &self._unknown_fields);
41 }
42 debug_struct.finish()
43 }
44}
45
46impl std::fmt::Debug for super::Accelerator {
47 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48 let mut debug_struct = f.debug_struct("Accelerator");
49 debug_struct.field("accelerator_type", &self.accelerator_type);
50 debug_struct.field("state", &self.state);
51 if !self._unknown_fields.is_empty() {
52 debug_struct.field("_unknown_fields", &self._unknown_fields);
53 }
54 debug_struct.finish()
55 }
56}
57
58impl std::fmt::Debug for super::CryptoKeyConfig {
59 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
60 let mut debug_struct = f.debug_struct("CryptoKeyConfig");
61 debug_struct.field("key_reference", &self.key_reference);
62 if !self._unknown_fields.is_empty() {
63 debug_struct.field("_unknown_fields", &self._unknown_fields);
64 }
65 debug_struct.finish()
66 }
67}
68
69impl std::fmt::Debug for super::Instance {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71 let mut debug_struct = f.debug_struct("Instance");
72 debug_struct.field("name", &self.name);
73 debug_struct.field("description", &self.description);
74 debug_struct.field("r#type", &self.r#type);
75 debug_struct.field(
76 "enable_stackdriver_logging",
77 &self.enable_stackdriver_logging,
78 );
79 debug_struct.field(
80 "enable_stackdriver_monitoring",
81 &self.enable_stackdriver_monitoring,
82 );
83 debug_struct.field("private_instance", &self.private_instance);
84 debug_struct.field("network_config", &self.network_config);
85 debug_struct.field("labels", &self.labels);
86 debug_struct.field("options", &self.options);
87 debug_struct.field("create_time", &self.create_time);
88 debug_struct.field("update_time", &self.update_time);
89 debug_struct.field("state", &self.state);
90 debug_struct.field("state_message", &self.state_message);
91 debug_struct.field("service_endpoint", &self.service_endpoint);
92 debug_struct.field("zone", &self.zone);
93 debug_struct.field("version", &self.version);
94 debug_struct.field("service_account", &self.service_account);
95 debug_struct.field("display_name", &self.display_name);
96 debug_struct.field("available_version", &self.available_version);
97 debug_struct.field("api_endpoint", &self.api_endpoint);
98 debug_struct.field("gcs_bucket", &self.gcs_bucket);
99 debug_struct.field("accelerators", &self.accelerators);
100 debug_struct.field("p4_service_account", &self.p4_service_account);
101 debug_struct.field("tenant_project_id", &self.tenant_project_id);
102 debug_struct.field("dataproc_service_account", &self.dataproc_service_account);
103 debug_struct.field("enable_rbac", &self.enable_rbac);
104 debug_struct.field("crypto_key_config", &self.crypto_key_config);
105 debug_struct.field("disabled_reason", &self.disabled_reason);
106 if !self._unknown_fields.is_empty() {
107 debug_struct.field("_unknown_fields", &self._unknown_fields);
108 }
109 debug_struct.finish()
110 }
111}
112
113impl std::fmt::Debug for super::ListInstancesRequest {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 let mut debug_struct = f.debug_struct("ListInstancesRequest");
116 debug_struct.field("parent", &self.parent);
117 debug_struct.field("page_size", &self.page_size);
118 debug_struct.field("page_token", &self.page_token);
119 debug_struct.field("filter", &self.filter);
120 debug_struct.field("order_by", &self.order_by);
121 if !self._unknown_fields.is_empty() {
122 debug_struct.field("_unknown_fields", &self._unknown_fields);
123 }
124 debug_struct.finish()
125 }
126}
127
128impl std::fmt::Debug for super::ListInstancesResponse {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130 let mut debug_struct = f.debug_struct("ListInstancesResponse");
131 debug_struct.field("instances", &self.instances);
132 debug_struct.field("next_page_token", &self.next_page_token);
133 debug_struct.field("unreachable", &self.unreachable);
134 if !self._unknown_fields.is_empty() {
135 debug_struct.field("_unknown_fields", &self._unknown_fields);
136 }
137 debug_struct.finish()
138 }
139}
140
141impl std::fmt::Debug for super::ListAvailableVersionsRequest {
142 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143 let mut debug_struct = f.debug_struct("ListAvailableVersionsRequest");
144 debug_struct.field("parent", &self.parent);
145 debug_struct.field("page_size", &self.page_size);
146 debug_struct.field("page_token", &self.page_token);
147 debug_struct.field("latest_patch_only", &self.latest_patch_only);
148 if !self._unknown_fields.is_empty() {
149 debug_struct.field("_unknown_fields", &self._unknown_fields);
150 }
151 debug_struct.finish()
152 }
153}
154
155impl std::fmt::Debug for super::ListAvailableVersionsResponse {
156 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
157 let mut debug_struct = f.debug_struct("ListAvailableVersionsResponse");
158 debug_struct.field("available_versions", &self.available_versions);
159 debug_struct.field("next_page_token", &self.next_page_token);
160 if !self._unknown_fields.is_empty() {
161 debug_struct.field("_unknown_fields", &self._unknown_fields);
162 }
163 debug_struct.finish()
164 }
165}
166
167impl std::fmt::Debug for super::GetInstanceRequest {
168 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169 let mut debug_struct = f.debug_struct("GetInstanceRequest");
170 debug_struct.field("name", &self.name);
171 if !self._unknown_fields.is_empty() {
172 debug_struct.field("_unknown_fields", &self._unknown_fields);
173 }
174 debug_struct.finish()
175 }
176}
177
178impl std::fmt::Debug for super::CreateInstanceRequest {
179 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
180 let mut debug_struct = f.debug_struct("CreateInstanceRequest");
181 debug_struct.field("parent", &self.parent);
182 debug_struct.field("instance_id", &self.instance_id);
183 debug_struct.field("instance", &self.instance);
184 if !self._unknown_fields.is_empty() {
185 debug_struct.field("_unknown_fields", &self._unknown_fields);
186 }
187 debug_struct.finish()
188 }
189}
190
191impl std::fmt::Debug for super::DeleteInstanceRequest {
192 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
193 let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
194 debug_struct.field("name", &self.name);
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::UpdateInstanceRequest {
203 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204 let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
205 debug_struct.field("instance", &self.instance);
206 debug_struct.field("update_mask", &self.update_mask);
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::RestartInstanceRequest {
215 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
216 let mut debug_struct = f.debug_struct("RestartInstanceRequest");
217 debug_struct.field("name", &self.name);
218 if !self._unknown_fields.is_empty() {
219 debug_struct.field("_unknown_fields", &self._unknown_fields);
220 }
221 debug_struct.finish()
222 }
223}
224
225impl std::fmt::Debug for super::OperationMetadata {
226 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
227 let mut debug_struct = f.debug_struct("OperationMetadata");
228 debug_struct.field("create_time", &self.create_time);
229 debug_struct.field("end_time", &self.end_time);
230 debug_struct.field("target", &self.target);
231 debug_struct.field("verb", &self.verb);
232 debug_struct.field("status_detail", &self.status_detail);
233 debug_struct.field("requested_cancellation", &self.requested_cancellation);
234 debug_struct.field("api_version", &self.api_version);
235 debug_struct.field("additional_status", &self.additional_status);
236 if !self._unknown_fields.is_empty() {
237 debug_struct.field("_unknown_fields", &self._unknown_fields);
238 }
239 debug_struct.finish()
240 }
241}