#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Instance {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Instance");
debug_struct.field("name", &self.name);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("labels", &self.labels);
debug_struct.field("authorized_network", &self.authorized_network);
debug_struct.field("zones", &self.zones);
debug_struct.field("node_count", &self.node_count);
debug_struct.field("node_config", &self.node_config);
debug_struct.field("memcache_version", &self.memcache_version);
debug_struct.field("parameters", &self.parameters);
debug_struct.field("memcache_nodes", &self.memcache_nodes);
debug_struct.field("create_time", &self.create_time);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("state", &self.state);
debug_struct.field("memcache_full_version", &self.memcache_full_version);
debug_struct.field("instance_messages", &self.instance_messages);
debug_struct.field("discovery_endpoint", &self.discovery_endpoint);
debug_struct.field("maintenance_policy", &self.maintenance_policy);
debug_struct.field("maintenance_schedule", &self.maintenance_schedule);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::instance::NodeConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("NodeConfig");
debug_struct.field("cpu_count", &self.cpu_count);
debug_struct.field("memory_size_mb", &self.memory_size_mb);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::instance::Node {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Node");
debug_struct.field("node_id", &self.node_id);
debug_struct.field("zone", &self.zone);
debug_struct.field("state", &self.state);
debug_struct.field("host", &self.host);
debug_struct.field("port", &self.port);
debug_struct.field("parameters", &self.parameters);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::instance::InstanceMessage {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("InstanceMessage");
debug_struct.field("code", &self.code);
debug_struct.field("message", &self.message);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::MaintenancePolicy {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("MaintenancePolicy");
debug_struct.field("create_time", &self.create_time);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("description", &self.description);
debug_struct.field("weekly_maintenance_window", &self.weekly_maintenance_window);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WeeklyMaintenanceWindow {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WeeklyMaintenanceWindow");
debug_struct.field("day", &self.day);
debug_struct.field("start_time", &self.start_time);
debug_struct.field("duration", &self.duration);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::MaintenanceSchedule {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("MaintenanceSchedule");
debug_struct.field("start_time", &self.start_time);
debug_struct.field("end_time", &self.end_time);
debug_struct.field("schedule_deadline_time", &self.schedule_deadline_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RescheduleMaintenanceRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RescheduleMaintenanceRequest");
debug_struct.field("instance", &self.instance);
debug_struct.field("reschedule_type", &self.reschedule_type);
debug_struct.field("schedule_time", &self.schedule_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListInstancesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListInstancesRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("filter", &self.filter);
debug_struct.field("order_by", &self.order_by);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListInstancesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListInstancesResponse");
debug_struct.field("instances", &self.instances);
debug_struct.field("next_page_token", &self.next_page_token);
debug_struct.field("unreachable", &self.unreachable);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetInstanceRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetInstanceRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateInstanceRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateInstanceRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("instance_id", &self.instance_id);
debug_struct.field("instance", &self.instance);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateInstanceRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
debug_struct.field("update_mask", &self.update_mask);
debug_struct.field("instance", &self.instance);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteInstanceRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ApplyParametersRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ApplyParametersRequest");
debug_struct.field("name", &self.name);
debug_struct.field("node_ids", &self.node_ids);
debug_struct.field("apply_all", &self.apply_all);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateParametersRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateParametersRequest");
debug_struct.field("name", &self.name);
debug_struct.field("update_mask", &self.update_mask);
debug_struct.field("parameters", &self.parameters);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::MemcacheParameters {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("MemcacheParameters");
debug_struct.field("id", &self.id);
debug_struct.field("params", &self.params);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::OperationMetadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("OperationMetadata");
debug_struct.field("create_time", &self.create_time);
debug_struct.field("end_time", &self.end_time);
debug_struct.field("target", &self.target);
debug_struct.field("verb", &self.verb);
debug_struct.field("status_detail", &self.status_detail);
debug_struct.field("cancel_requested", &self.cancel_requested);
debug_struct.field("api_version", &self.api_version);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocationMetadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocationMetadata");
debug_struct.field("available_zones", &self.available_zones);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ZoneMetadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ZoneMetadata");
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}