// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/access_control/v1/keyapis_access_control_events_1.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 <stdatomic.h>

#import "keyapis/access_control/v1/KeyapisAccessControlEvents1.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#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(GPBBoolValue);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid);
GPBObjCClassDeclaration(KEYAPISACCESSCONTROLV1PrepareStartTask);

#pragma mark - KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root

@implementation KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root

+ (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:[GAPIFieldBehaviorRoot extensionRegistry]];
  }
  return registry;
}

@end

static GPBFileDescription KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription = {
  .package = "keyapis.access_control.v1",
  .prefix = "KEYAPISACCESSCONTROLV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType

GPBEnumDescriptor *KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "PlayTypeUnknown\000HandsetOnly\000SpeakerOnly\000"
        "HandsetAndSpeaker\000SpeakerAndHandset\000";
    static const int32_t values[] = {
        KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_PlayTypeUnknown,
        KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_HandsetOnly,
        KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_SpeakerOnly,
        KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_HandsetAndSpeaker,
        KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_SpeakerAndHandset,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_PlayTypeUnknown:
    case KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_HandsetOnly:
    case KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_SpeakerOnly:
    case KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_HandsetAndSpeaker:
    case KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_SpeakerAndHandset:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType

GPBEnumDescriptor *KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "StatusTypeUnknown\000Success\000Error\000";
    static const int32_t values[] = {
        KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_StatusTypeUnknown,
        KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_Success,
        KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_Error,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_StatusTypeUnknown:
    case KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_Success:
    case KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_Error:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask

@implementation KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask

@dynamic requestId;
@dynamic orponId;
@dynamic deviceId;
@dynamic roomNumbersArray, roomNumbersArray_Count;

typedef struct KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t deviceId;
  NSString *requestId;
  NSMutableArray *roomNumbersArray;
  int64_t orponId;
} KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "orponId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask_FieldNumber_OrponId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__storage_, orponId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "deviceId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask_FieldNumber_DeviceId,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__storage_, deviceId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "roomNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask_FieldNumber_RoomNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__storage_, roomNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask)
                                   messageName:@"ActivateCmsSettingsTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1ActivateCmsSettingsTask__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 - KEYAPISACCESSCONTROLV1BlockCmsSettingsTask

@implementation KEYAPISACCESSCONTROLV1BlockCmsSettingsTask

@dynamic requestId;
@dynamic orponId;
@dynamic deviceId;
@dynamic roomNumbersArray, roomNumbersArray_Count;

typedef struct KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t deviceId;
  NSString *requestId;
  NSMutableArray *roomNumbersArray;
  int64_t orponId;
} KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1BlockCmsSettingsTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "orponId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1BlockCmsSettingsTask_FieldNumber_OrponId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__storage_, orponId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "deviceId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1BlockCmsSettingsTask_FieldNumber_DeviceId,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__storage_, deviceId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "roomNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1BlockCmsSettingsTask_FieldNumber_RoomNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__storage_, roomNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask)
                                   messageName:@"BlockCmsSettingsTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1BlockCmsSettingsTask__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 - KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask

@implementation KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask

@dynamic requestId;
@dynamic orponId;
@dynamic deviceId;
@dynamic roomNumbersArray, roomNumbersArray_Count;

typedef struct KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t deviceId;
  NSString *requestId;
  NSMutableArray *roomNumbersArray;
  int64_t orponId;
} KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "orponId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask_FieldNumber_OrponId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__storage_, orponId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "deviceId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask_FieldNumber_DeviceId,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__storage_, deviceId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "roomNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask_FieldNumber_RoomNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__storage_, roomNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask)
                                   messageName:@"ForceActivateCmsSettingsTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1ForceActivateCmsSettingsTask__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 - KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask

@implementation KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask

@dynamic requestId;
@dynamic deviceId;
@dynamic roomsArray, roomsArray_Count;

typedef struct KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t deviceId;
  NSString *requestId;
  NSMutableArray *roomsArray;
} KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "deviceId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_FieldNumber_DeviceId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__storage_, deviceId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "roomsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room),
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_FieldNumber_RoomsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__storage_, roomsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask)
                                   messageName:@"ConfigureRoomsResultTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask__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 - KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room

@implementation KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room

@dynamic roomId;
@dynamic isConfigured;
@dynamic errorMessage;

typedef struct KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room__storage_ {
  uint32_t _has_storage_[1];
  int32_t roomId;
  NSString *errorMessage;
} KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room__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 = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room_FieldNumber_RoomId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "isConfigured",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room_FieldNumber_IsConfigured,
        .hasIndex = 1,
        .offset = 2,  // Stored in _has_storage_ to save space.
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeBool,
      },
      {
        .name = "errorMessage",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room_FieldNumber_ErrorMessage,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room__storage_, errorMessage),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room)
                                   messageName:@"Room"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask_Room__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1ConfigureRoomsResultTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask

@implementation KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask

@dynamic requestId;
@dynamic rfidsArray, rfidsArray_Count;
@dynamic deviceIdsArray, deviceIdsArray_Count;

typedef struct KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSMutableArray *rfidsArray;
  GPBInt32Array *deviceIdsArray;
} KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "rfidsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid),
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_FieldNumber_RfidsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__storage_, rfidsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "deviceIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_FieldNumber_DeviceIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__storage_, deviceIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask)
                                   messageName:@"LoadRfidsToDevicesTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask__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 - KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid

@implementation KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid

@dynamic id_p;
@dynamic key;
@dynamic roomNumber;
@dynamic roomId;

typedef struct KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  NSString *key;
  NSString *roomNumber;
} KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__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 = "id_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "key",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid_FieldNumber_Key,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_, key),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid_FieldNumber_RoomNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid_FieldNumber_RoomId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid)
                                   messageName:@"Rfid"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask_Rfid__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadRfidsToDevicesTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask

@implementation KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask

@dynamic requestId;
@dynamic codesArray, codesArray_Count;
@dynamic deviceIdsArray, deviceIdsArray_Count;

typedef struct KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSMutableArray *codesArray;
  GPBInt32Array *deviceIdsArray;
} KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "codesArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code),
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_FieldNumber_CodesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__storage_, codesArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "deviceIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_FieldNumber_DeviceIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__storage_, deviceIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask)
                                   messageName:@"LoadCodesToDevicesTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask__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 - KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code

@implementation KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code

@dynamic id_p;
@dynamic code;
@dynamic roomNumber;
@dynamic roomId;

typedef struct KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  NSString *code;
  NSString *roomNumber;
} KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__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 = "id_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "code",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code_FieldNumber_Code,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_, code),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code_FieldNumber_RoomNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code_FieldNumber_RoomId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code)
                                   messageName:@"Code"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask_Code__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1LoadCodesToDevicesTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask

@implementation KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask

@dynamic requestId;
@dynamic rfidsArray, rfidsArray_Count;
@dynamic deviceIdsArray, deviceIdsArray_Count;
@dynamic hasIsForceDelete, isForceDelete;

typedef struct KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSMutableArray *rfidsArray;
  GPBInt32Array *deviceIdsArray;
  GPBBoolValue *isForceDelete;
} KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "rfidsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid),
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_FieldNumber_RfidsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__storage_, rfidsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "deviceIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_FieldNumber_DeviceIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__storage_, deviceIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "isForceDelete",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBBoolValue),
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_FieldNumber_IsForceDelete,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__storage_, isForceDelete),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask)
                                   messageName:@"DeleteRfidsFromDevicesTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask__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 - KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid

@implementation KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid

@dynamic id_p;
@dynamic key;
@dynamic roomNumber;
@dynamic roomId;

typedef struct KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  NSString *key;
  NSString *roomNumber;
} KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__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 = "id_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "key",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid_FieldNumber_Key,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_, key),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid_FieldNumber_RoomNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid_FieldNumber_RoomId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid)
                                   messageName:@"Rfid"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask_Rfid__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromDevicesTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask

@implementation KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask

@dynamic requestId;
@dynamic codesArray, codesArray_Count;
@dynamic deviceIdsArray, deviceIdsArray_Count;
@dynamic hasIsForceDelete, isForceDelete;

typedef struct KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSMutableArray *codesArray;
  GPBInt32Array *deviceIdsArray;
  GPBBoolValue *isForceDelete;
} KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "codesArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code),
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_FieldNumber_CodesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__storage_, codesArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "deviceIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_FieldNumber_DeviceIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__storage_, deviceIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "isForceDelete",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBBoolValue),
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_FieldNumber_IsForceDelete,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__storage_, isForceDelete),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask)
                                   messageName:@"DeleteCodesFromDevicesTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask__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 - KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code

@implementation KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code

@dynamic id_p;
@dynamic code;
@dynamic roomNumber;
@dynamic roomId;

typedef struct KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  NSString *code;
  NSString *roomNumber;
} KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__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 = "id_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "code",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code_FieldNumber_Code,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_, code),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code_FieldNumber_RoomNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code_FieldNumber_RoomId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code)
                                   messageName:@"Code"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask_Code__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteCodesFromDevicesTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1PrepareStartTask

@implementation KEYAPISACCESSCONTROLV1PrepareStartTask

@dynamic requestId;
@dynamic soundFileUri;
@dynamic orpon;
@dynamic tactPlayDuration;
@dynamic tactRepeatCount;
@dynamic playRepeatCount;
@dynamic playType;

typedef struct KEYAPISACCESSCONTROLV1PrepareStartTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t tactPlayDuration;
  int32_t tactRepeatCount;
  int32_t playRepeatCount;
  KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType playType;
  NSString *requestId;
  NSString *soundFileUri;
  int64_t orpon;
} KEYAPISACCESSCONTROLV1PrepareStartTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "soundFileUri",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_SoundFileUri,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, soundFileUri),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "orpon",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_Orpon,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, orpon),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "tactPlayDuration",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_TactPlayDuration,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, tactPlayDuration),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "tactRepeatCount",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_TactRepeatCount,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, tactRepeatCount),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "playRepeatCount",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_PlayRepeatCount,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, playRepeatCount),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "playType",
        .dataTypeSpecific.enumDescFunc = KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_EnumDescriptor,
        .number = KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_PlayType,
        .hasIndex = 6,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1PrepareStartTask__storage_, playType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1PrepareStartTask)
                                   messageName:@"PrepareStartTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1PrepareStartTask__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

int32_t KEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_RawValue(KEYAPISACCESSCONTROLV1PrepareStartTask *message) {
  GPBDescriptor *descriptor = [KEYAPISACCESSCONTROLV1PrepareStartTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_PlayType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISACCESSCONTROLV1PrepareStartTask_PlayType_RawValue(KEYAPISACCESSCONTROLV1PrepareStartTask *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISACCESSCONTROLV1PrepareStartTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISACCESSCONTROLV1PrepareStartTask_FieldNumber_PlayType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask

@implementation KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask

@dynamic requestId;
@dynamic rfidsArray, rfidsArray_Count;
@dynamic hasIsForceDelete, isForceDelete;

typedef struct KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSMutableArray *rfidsArray;
  GPBBoolValue *isForceDelete;
} KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "rfidsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid),
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_FieldNumber_RfidsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__storage_, rfidsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "isForceDelete",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBBoolValue),
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_FieldNumber_IsForceDelete,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__storage_, isForceDelete),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask)
                                   messageName:@"DeleteRfidsFromAllDevicesTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask__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 - KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid

@implementation KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid

@dynamic id_p;
@dynamic key;
@dynamic roomNumber;
@dynamic roomId;

typedef struct KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  NSString *key;
  NSString *roomNumber;
} KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__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 = "id_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "key",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid_FieldNumber_Key,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_, key),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid_FieldNumber_RoomNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid_FieldNumber_RoomId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid)
                                   messageName:@"Rfid"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask_Rfid__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesTask)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask

@implementation KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask

@dynamic requestId;
@dynamic rfidId;
@dynamic statusType;

typedef struct KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__storage_ {
  uint32_t _has_storage_[1];
  int32_t rfidId;
  KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType statusType;
  NSString *requestId;
} KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "rfidId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_FieldNumber_RfidId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__storage_, rfidId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "statusType",
        .dataTypeSpecific.enumDescFunc = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_EnumDescriptor,
        .number = KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_FieldNumber_StatusType,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__storage_, statusType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask)
                                   messageName:@"DeleteRfidsFromAllDevicesResultTask"
                               fileDescription:&KEYAPISACCESSCONTROLV1KeyapisAccessControlEvents1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask__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

int32_t KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_RawValue(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask *message) {
  GPBDescriptor *descriptor = [KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_FieldNumber_StatusType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_StatusType_RawValue(KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISACCESSCONTROLV1DeleteRfidsFromAllDevicesResultTask_FieldNumber_StatusType];
  GPBSetMessageRawEnumField(message, field, value);
}


#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
