// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: deviceapis/device/v1/deviceapis_device_room_v1.proto

// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
 #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
#else
 #import "GPBProtocolBuffers_RuntimeSupport.h"
#endif

#if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif

#import "deviceapis/device/v1/DeviceapisDeviceRoomV1.pbobjc.h"
#import "deviceapis/device/v1/DeviceapisDeviceCommonV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "protoc-gen-openapiv2/options/Annotations.pbobjc.h"
// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic ignored "-Wdirect-ivar-access"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"

#pragma mark - Objective-C Class declarations
// Forward declarations of Objective-C classes that we can use as
// static values in struct initializers.
// We don't use [Foo class] because it is not a static value.
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomListRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomListResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1DeleteRoomResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomCountRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomCountResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomListRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomListResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetRoomResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1Room);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1RoomFilter);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1RoomPaging);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomListRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomListResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomListResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SaveRoomResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1ValidationError);

#pragma mark - DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root

@implementation DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root

+ (GPBExtensionRegistry*)extensionRegistry {
  // This is called by +initialize so there is no need to worry
  // about thread safety and initialization of registry.
  static GPBExtensionRegistry* registry = nil;
  if (!registry) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    registry = [[GPBExtensionRegistry alloc] init];
    // Merge in the imports (direct or indirect) that defined extensions.
    [registry addExtensions:[GAPIAnnotationsRoot extensionRegistry]];
    [registry addExtensions:[GAPIFieldBehaviorRoot extensionRegistry]];
    [registry addExtensions:[AnnotationsRoot extensionRegistry]];
  }
  return registry;
}

@end

static GPBFileDescription DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription = {
  .package = "deviceapis.device.v1",
  .prefix = "DEVICEAPISDEVICEV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - DEVICEAPISDEVICEV1DeleteRoomListRequest

@implementation DEVICEAPISDEVICEV1DeleteRoomListRequest

@dynamic hasFilter, filter;

typedef struct DEVICEAPISDEVICEV1DeleteRoomListRequest__storage_ {
  uint32_t _has_storage_[1];
  DEVICEAPISDEVICEV1RoomFilter *filter;
} DEVICEAPISDEVICEV1DeleteRoomListRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "filter",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1RoomFilter),
        .number = DEVICEAPISDEVICEV1DeleteRoomListRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomListRequest)
                                   messageName:@"DeleteRoomListRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomListRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1DeleteRoomListResponse

@implementation DEVICEAPISDEVICEV1DeleteRoomListResponse

@dynamic typeOneOfCase;
@dynamic data_p;
@dynamic error;

typedef struct DEVICEAPISDEVICEV1DeleteRoomListResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  DEVICEAPISDEVICEV1DeleteRoomListResponse_Error *error;
} DEVICEAPISDEVICEV1DeleteRoomListResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1DeleteRoomListResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomListResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error),
        .number = DEVICEAPISDEVICEV1DeleteRoomListResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomListResponse)
                                   messageName:@"DeleteRoomListResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomListResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1DeleteRoomListResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1DeleteRoomListResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1DeleteRoomListResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1DeleteRoomListResponse_Error

@implementation DEVICEAPISDEVICEV1DeleteRoomListResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct DEVICEAPISDEVICEV1DeleteRoomListResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1ValidationError *validation;
} DEVICEAPISDEVICEV1DeleteRoomListResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1ValidationError),
        .number = DEVICEAPISDEVICEV1DeleteRoomListResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "reason",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1DeleteRoomListResponse_Error_ClearReasonOneOfCase(DEVICEAPISDEVICEV1DeleteRoomListResponse_Error *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1DeleteRoomListResponse_Error descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1DeleteRoomRequest

@implementation DEVICEAPISDEVICEV1DeleteRoomRequest

@dynamic roomNumber;

typedef struct DEVICEAPISDEVICEV1DeleteRoomRequest__storage_ {
  uint32_t _has_storage_[1];
  NSString *roomNumber;
} DEVICEAPISDEVICEV1DeleteRoomRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1DeleteRoomRequest_FieldNumber_RoomNumber,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomRequest__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomRequest)
                                   messageName:@"DeleteRoomRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1DeleteRoomResponse

@implementation DEVICEAPISDEVICEV1DeleteRoomResponse

@dynamic typeOneOfCase;
@dynamic error;

typedef struct DEVICEAPISDEVICEV1DeleteRoomResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1DeleteRoomResponse_Error *error;
} DEVICEAPISDEVICEV1DeleteRoomResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomResponse_Error),
        .number = DEVICEAPISDEVICEV1DeleteRoomResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomResponse)
                                   messageName:@"DeleteRoomResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1DeleteRoomResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1DeleteRoomResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1DeleteRoomResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1DeleteRoomResponse_Error

@implementation DEVICEAPISDEVICEV1DeleteRoomResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct DEVICEAPISDEVICEV1DeleteRoomResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1ValidationError *validation;
} DEVICEAPISDEVICEV1DeleteRoomResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1ValidationError),
        .number = DEVICEAPISDEVICEV1DeleteRoomResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1DeleteRoomResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1DeleteRoomResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "reason",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(DEVICEAPISDEVICEV1DeleteRoomResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1DeleteRoomResponse_Error_ClearReasonOneOfCase(DEVICEAPISDEVICEV1DeleteRoomResponse_Error *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1DeleteRoomResponse_Error descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1GetRoomCountRequest

@implementation DEVICEAPISDEVICEV1GetRoomCountRequest


typedef struct DEVICEAPISDEVICEV1GetRoomCountRequest__storage_ {
  uint32_t _has_storage_[1];
} DEVICEAPISDEVICEV1GetRoomCountRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomCountRequest)
                                   messageName:@"GetRoomCountRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomCountRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1GetRoomCountResponse

@implementation DEVICEAPISDEVICEV1GetRoomCountResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct DEVICEAPISDEVICEV1GetRoomCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
} DEVICEAPISDEVICEV1GetRoomCountResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1GetRoomCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetRoomCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomCountResponse)
                                   messageName:@"GetRoomCountResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomCountResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1GetRoomCountResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1GetRoomCountResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetRoomCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1GetRoomListRequest

@implementation DEVICEAPISDEVICEV1GetRoomListRequest

@dynamic paginationOneOfCase;
@dynamic paging;

typedef struct DEVICEAPISDEVICEV1GetRoomListRequest__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1RoomPaging *paging;
} DEVICEAPISDEVICEV1GetRoomListRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1RoomPaging),
        .number = DEVICEAPISDEVICEV1GetRoomListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetRoomListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomListRequest)
                                   messageName:@"GetRoomListRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomListRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "pagination",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1GetRoomListRequest_ClearPaginationOneOfCase(DEVICEAPISDEVICEV1GetRoomListRequest *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetRoomListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1GetRoomListResponse

@implementation DEVICEAPISDEVICEV1GetRoomListResponse

@dynamic dataArray, dataArray_Count;

typedef struct DEVICEAPISDEVICEV1GetRoomListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
} DEVICEAPISDEVICEV1GetRoomListResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "dataArray",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1GetRoomListResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetRoomListResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomListResponse)
                                   messageName:@"GetRoomListResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomListResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1GetRoomRequest

@implementation DEVICEAPISDEVICEV1GetRoomRequest

@dynamic roomNumber;

typedef struct DEVICEAPISDEVICEV1GetRoomRequest__storage_ {
  uint32_t _has_storage_[1];
  NSString *roomNumber;
} DEVICEAPISDEVICEV1GetRoomRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1GetRoomRequest_FieldNumber_RoomNumber,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetRoomRequest__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomRequest)
                                   messageName:@"GetRoomRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1GetRoomResponse

@implementation DEVICEAPISDEVICEV1GetRoomResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct DEVICEAPISDEVICEV1GetRoomResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1Room *data_p;
} DEVICEAPISDEVICEV1GetRoomResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1GetRoomResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetRoomResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetRoomResponse)
                                   messageName:@"GetRoomResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetRoomResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1GetRoomResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1GetRoomResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetRoomResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1Room

@implementation DEVICEAPISDEVICEV1Room

@dynamic typeOneOfCase;
@dynamic roomNumber;
@dynamic sipForwardingNumber;
@dynamic analogPhoneCmsNumber;
@dynamic analogPhoneDigitalNumber;
@dynamic isAnalogPhoneBlocked;

typedef struct DEVICEAPISDEVICEV1Room__storage_ {
  uint32_t _has_storage_[2];
  int32_t analogPhoneDigitalNumber;
  NSString *roomNumber;
  NSString *sipForwardingNumber;
  NSString *analogPhoneCmsNumber;
} DEVICEAPISDEVICEV1Room__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1Room_FieldNumber_RoomNumber,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1Room__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "sipForwardingNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1Room_FieldNumber_SipForwardingNumber,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1Room__storage_, sipForwardingNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "analogPhoneCmsNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1Room_FieldNumber_AnalogPhoneCmsNumber,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1Room__storage_, analogPhoneCmsNumber),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "analogPhoneDigitalNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1Room_FieldNumber_AnalogPhoneDigitalNumber,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1Room__storage_, analogPhoneDigitalNumber),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "isAnalogPhoneBlocked",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1Room_FieldNumber_IsAnalogPhoneBlocked,
        .hasIndex = 2,
        .offset = 3,  // Stored in _has_storage_ to save space.
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeBool,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1Room)
                                   messageName:@"Room"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1Room__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1Room_ClearTypeOneOfCase(DEVICEAPISDEVICEV1Room *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1Room descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1RoomFilter

@implementation DEVICEAPISDEVICEV1RoomFilter

@dynamic roomNumbersArray, roomNumbersArray_Count;

typedef struct DEVICEAPISDEVICEV1RoomFilter__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *roomNumbersArray;
} DEVICEAPISDEVICEV1RoomFilter__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "roomNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1RoomFilter_FieldNumber_RoomNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1RoomFilter__storage_, roomNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1RoomFilter)
                                   messageName:@"RoomFilter"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1RoomFilter__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1RoomPaging

@implementation DEVICEAPISDEVICEV1RoomPaging

@dynamic limit;
@dynamic offset;

typedef struct DEVICEAPISDEVICEV1RoomPaging__storage_ {
  uint32_t _has_storage_[1];
  int32_t limit;
  int32_t offset;
} DEVICEAPISDEVICEV1RoomPaging__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "limit",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1RoomPaging_FieldNumber_Limit,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1RoomPaging__storage_, limit),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1RoomPaging_FieldNumber_Offset,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1RoomPaging__storage_, offset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1RoomPaging)
                                   messageName:@"RoomPaging"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1RoomPaging__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1SaveRoomListRequest

@implementation DEVICEAPISDEVICEV1SaveRoomListRequest

@dynamic dataArray, dataArray_Count;

typedef struct DEVICEAPISDEVICEV1SaveRoomListRequest__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
} DEVICEAPISDEVICEV1SaveRoomListRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "dataArray",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1SaveRoomListRequest_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomListRequest__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomListRequest)
                                   messageName:@"SaveRoomListRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomListRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1SaveRoomListResponse

@implementation DEVICEAPISDEVICEV1SaveRoomListResponse

@dynamic dataArray, dataArray_Count;
@dynamic errorsArray, errorsArray_Count;

typedef struct DEVICEAPISDEVICEV1SaveRoomListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
  NSMutableArray *errorsArray;
} DEVICEAPISDEVICEV1SaveRoomListResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "dataArray",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1SaveRoomListResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomListResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "errorsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomListResponse_Error),
        .number = DEVICEAPISDEVICEV1SaveRoomListResponse_FieldNumber_ErrorsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomListResponse__storage_, errorsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomListResponse)
                                   messageName:@"SaveRoomListResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomListResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1SaveRoomListResponse_Error

@implementation DEVICEAPISDEVICEV1SaveRoomListResponse_Error

@dynamic reasonOneOfCase;
@dynamic roomNumber;
@dynamic validation;

typedef struct DEVICEAPISDEVICEV1SaveRoomListResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  NSString *roomNumber;
  DEVICEAPISDEVICEV1ValidationError *validation;
} DEVICEAPISDEVICEV1SaveRoomListResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1SaveRoomListResponse_Error_FieldNumber_RoomNumber,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomListResponse_Error__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1ValidationError),
        .number = DEVICEAPISDEVICEV1SaveRoomListResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomListResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomListResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "reason",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1SaveRoomListResponse_Error_ClearReasonOneOfCase(DEVICEAPISDEVICEV1SaveRoomListResponse_Error *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1SaveRoomListResponse_Error descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1SaveRoomRequest

@implementation DEVICEAPISDEVICEV1SaveRoomRequest

@dynamic hasData_p, data_p;

typedef struct DEVICEAPISDEVICEV1SaveRoomRequest__storage_ {
  uint32_t _has_storage_[1];
  DEVICEAPISDEVICEV1Room *data_p;
} DEVICEAPISDEVICEV1SaveRoomRequest__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1SaveRoomRequest_FieldNumber_Data_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomRequest__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomRequest)
                                   messageName:@"SaveRoomRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - DEVICEAPISDEVICEV1SaveRoomResponse

@implementation DEVICEAPISDEVICEV1SaveRoomResponse

@dynamic typeOneOfCase;
@dynamic data_p;
@dynamic error;

typedef struct DEVICEAPISDEVICEV1SaveRoomResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1Room *data_p;
  DEVICEAPISDEVICEV1SaveRoomResponse_Error *error;
} DEVICEAPISDEVICEV1SaveRoomResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1Room),
        .number = DEVICEAPISDEVICEV1SaveRoomResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomResponse_Error),
        .number = DEVICEAPISDEVICEV1SaveRoomResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomResponse)
                                   messageName:@"SaveRoomResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomResponse__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "type",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1SaveRoomResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1SaveRoomResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1SaveRoomResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1SaveRoomResponse_Error

@implementation DEVICEAPISDEVICEV1SaveRoomResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct DEVICEAPISDEVICEV1SaveRoomResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1ValidationError *validation;
} DEVICEAPISDEVICEV1SaveRoomResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1ValidationError),
        .number = DEVICEAPISDEVICEV1SaveRoomResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SaveRoomResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceRoomV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SaveRoomResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "reason",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(DEVICEAPISDEVICEV1SaveRoomResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

void DEVICEAPISDEVICEV1SaveRoomResponse_Error_ClearReasonOneOfCase(DEVICEAPISDEVICEV1SaveRoomResponse_Error *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1SaveRoomResponse_Error descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
