// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/vc/v1/keyapis_vc_events_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 "keyapis/vc/v1/KeyapisVcEventsV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "google/protobuf/Descriptor.pbobjc.h"
#import "keyapis/vc/v1/KeyapisVcCameraAccessV1.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(KEYAPISVCV1CreateCameraAccessTask);
GPBObjCClassDeclaration(KEYAPISVCV1DeleteCameraAccessTask);
GPBObjCClassDeclaration(KEYAPISVCV1DetachCameraFromAccessPointTask);
GPBObjCClassDeclaration(KEYAPISVCV1DetachCameraFromDeviceTask);

#pragma mark - KEYAPISVCV1KeyapisVcEventsV1Root

@implementation KEYAPISVCV1KeyapisVcEventsV1Root

+ (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]];
  }
  return registry;
}

@end

static GPBFileDescription KEYAPISVCV1KeyapisVcEventsV1Root_FileDescription = {
  .package = "keyapis.vc.v1",
  .prefix = "KEYAPISVCV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - KEYAPISVCV1CreateCameraAccessTask

@implementation KEYAPISVCV1CreateCameraAccessTask

@dynamic requestId;
@dynamic externalIdsArray, externalIdsArray_Count;
@dynamic cameraAccessAccessorType;
@dynamic accessorId;
@dynamic vcCompanyId;

typedef struct KEYAPISVCV1CreateCameraAccessTask__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISVCV1CameraAccess_AccessorType cameraAccessAccessorType;
  int32_t vcCompanyId;
  NSString *requestId;
  NSMutableArray *externalIdsArray;
  NSString *accessorId;
} KEYAPISVCV1CreateCameraAccessTask__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 = KEYAPISVCV1CreateCameraAccessTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CreateCameraAccessTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "externalIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CreateCameraAccessTask_FieldNumber_ExternalIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CreateCameraAccessTask__storage_, externalIdsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "cameraAccessAccessorType",
        .dataTypeSpecific.enumDescFunc = KEYAPISVCV1CameraAccess_AccessorType_EnumDescriptor,
        .number = KEYAPISVCV1CreateCameraAccessTask_FieldNumber_CameraAccessAccessorType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CreateCameraAccessTask__storage_, cameraAccessAccessorType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "accessorId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CreateCameraAccessTask_FieldNumber_AccessorId,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CreateCameraAccessTask__storage_, accessorId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "vcCompanyId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CreateCameraAccessTask_FieldNumber_VcCompanyId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CreateCameraAccessTask__storage_, vcCompanyId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CreateCameraAccessTask)
                                   messageName:@"CreateCameraAccessTask"
                               fileDescription:&KEYAPISVCV1KeyapisVcEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CreateCameraAccessTask__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 KEYAPISVCV1CreateCameraAccessTask_CameraAccessAccessorType_RawValue(KEYAPISVCV1CreateCameraAccessTask *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CreateCameraAccessTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CreateCameraAccessTask_FieldNumber_CameraAccessAccessorType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISVCV1CreateCameraAccessTask_CameraAccessAccessorType_RawValue(KEYAPISVCV1CreateCameraAccessTask *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CreateCameraAccessTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CreateCameraAccessTask_FieldNumber_CameraAccessAccessorType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISVCV1DeleteCameraAccessTask

@implementation KEYAPISVCV1DeleteCameraAccessTask

@dynamic requestId;
@dynamic externalIdsArray, externalIdsArray_Count;
@dynamic cameraAccessAccessorType;
@dynamic accessorId;
@dynamic vcCompanyId;

typedef struct KEYAPISVCV1DeleteCameraAccessTask__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISVCV1CameraAccess_AccessorType cameraAccessAccessorType;
  int32_t vcCompanyId;
  NSString *requestId;
  NSMutableArray *externalIdsArray;
  NSString *accessorId;
} KEYAPISVCV1DeleteCameraAccessTask__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 = KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DeleteCameraAccessTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "externalIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_ExternalIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DeleteCameraAccessTask__storage_, externalIdsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "cameraAccessAccessorType",
        .dataTypeSpecific.enumDescFunc = KEYAPISVCV1CameraAccess_AccessorType_EnumDescriptor,
        .number = KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_CameraAccessAccessorType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DeleteCameraAccessTask__storage_, cameraAccessAccessorType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "accessorId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_AccessorId,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DeleteCameraAccessTask__storage_, accessorId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "vcCompanyId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_VcCompanyId,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DeleteCameraAccessTask__storage_, vcCompanyId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1DeleteCameraAccessTask)
                                   messageName:@"DeleteCameraAccessTask"
                               fileDescription:&KEYAPISVCV1KeyapisVcEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1DeleteCameraAccessTask__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 KEYAPISVCV1DeleteCameraAccessTask_CameraAccessAccessorType_RawValue(KEYAPISVCV1DeleteCameraAccessTask *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1DeleteCameraAccessTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_CameraAccessAccessorType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISVCV1DeleteCameraAccessTask_CameraAccessAccessorType_RawValue(KEYAPISVCV1DeleteCameraAccessTask *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISVCV1DeleteCameraAccessTask descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1DeleteCameraAccessTask_FieldNumber_CameraAccessAccessorType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISVCV1DetachCameraFromDeviceTask

@implementation KEYAPISVCV1DetachCameraFromDeviceTask

@dynamic requestId;
@dynamic externalId;

typedef struct KEYAPISVCV1DetachCameraFromDeviceTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSString *externalId;
} KEYAPISVCV1DetachCameraFromDeviceTask__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 = KEYAPISVCV1DetachCameraFromDeviceTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DetachCameraFromDeviceTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "externalId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1DetachCameraFromDeviceTask_FieldNumber_ExternalId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DetachCameraFromDeviceTask__storage_, externalId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1DetachCameraFromDeviceTask)
                                   messageName:@"DetachCameraFromDeviceTask"
                               fileDescription:&KEYAPISVCV1KeyapisVcEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1DetachCameraFromDeviceTask__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 - KEYAPISVCV1DetachCameraFromAccessPointTask

@implementation KEYAPISVCV1DetachCameraFromAccessPointTask

@dynamic requestId;
@dynamic externalId;

typedef struct KEYAPISVCV1DetachCameraFromAccessPointTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSString *externalId;
} KEYAPISVCV1DetachCameraFromAccessPointTask__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 = KEYAPISVCV1DetachCameraFromAccessPointTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DetachCameraFromAccessPointTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "externalId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1DetachCameraFromAccessPointTask_FieldNumber_ExternalId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1DetachCameraFromAccessPointTask__storage_, externalId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1DetachCameraFromAccessPointTask)
                                   messageName:@"DetachCameraFromAccessPointTask"
                               fileDescription:&KEYAPISVCV1KeyapisVcEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1DetachCameraFromAccessPointTask__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 clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
