// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/vc/v1/keyapis_vc_camera_dictionary_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/KeyapisVcCameraDictionaryV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "google/protobuf/Descriptor.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(GPBTimestamp);
GPBObjCClassDeclaration(KEYAPISVCV1Category);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryCategoriesRequest);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryCategoriesResponse);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryCategoriesResponse_Error);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryRolesRequest);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryRolesResponse);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryRolesResponse_Error);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryRolesResponse_Roles);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryTariffsRequest);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryTariffsResponse);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs);
GPBObjCClassDeclaration(KEYAPISVCV1GetDictionaryTariffsResponse_Error);
GPBObjCClassDeclaration(KEYAPISVCV1Role);
GPBObjCClassDeclaration(KEYAPISVCV1Tariff);
GPBObjCClassDeclaration(KEYAPISVCV1VcDictionaryError);
GPBObjCClassDeclaration(KEYAPISVCV1VcDictionaryError_Reason);

#pragma mark - KEYAPISVCV1KeyapisVcCameraDictionaryV1Root

@implementation KEYAPISVCV1KeyapisVcCameraDictionaryV1Root

+ (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 KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription = {
  .package = "keyapis.vc.v1",
  .prefix = "KEYAPISVCV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - KEYAPISVCV1Category

@implementation KEYAPISVCV1Category

@dynamic id_p;
@dynamic title;
@dynamic kind;

typedef struct KEYAPISVCV1Category__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  NSString *title;
  NSString *kind;
} KEYAPISVCV1Category__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 = KEYAPISVCV1Category_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Category__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Category_FieldNumber_Title,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Category__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "kind",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Category_FieldNumber_Kind,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Category__storage_, kind),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1Category)
                                   messageName:@"Category"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1Category__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 - KEYAPISVCV1Tariff

@implementation KEYAPISVCV1Tariff

@dynamic id_p;
@dynamic title;
@dynamic slug;
@dynamic statusKind;
@dynamic hasFromAt, fromAt;
@dynamic hasToAt, toAt;

typedef struct KEYAPISVCV1Tariff__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  NSString *title;
  NSString *slug;
  NSString *statusKind;
  GPBTimestamp *fromAt;
  GPBTimestamp *toAt;
} KEYAPISVCV1Tariff__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 = KEYAPISVCV1Tariff_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Tariff_FieldNumber_Title,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "slug",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Tariff_FieldNumber_Slug,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, slug),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "statusKind",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Tariff_FieldNumber_StatusKind,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, statusKind),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "fromAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISVCV1Tariff_FieldNumber_FromAt,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, fromAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "toAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISVCV1Tariff_FieldNumber_ToAt,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Tariff__storage_, toAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1Tariff)
                                   messageName:@"Tariff"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1Tariff__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 - KEYAPISVCV1Role

@implementation KEYAPISVCV1Role

@dynamic id_p;
@dynamic title;
@dynamic permissionsArray, permissionsArray_Count;
@dynamic isGlobal;

typedef struct KEYAPISVCV1Role__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  NSString *title;
  NSMutableArray *permissionsArray;
} KEYAPISVCV1Role__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 = KEYAPISVCV1Role_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Role__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Role_FieldNumber_Title,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Role__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "permissionsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Role_FieldNumber_PermissionsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1Role__storage_, permissionsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "isGlobal",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1Role_FieldNumber_IsGlobal,
        .hasIndex = 2,
        .offset = 3,  // Stored in _has_storage_ to save space.
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeBool,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1Role)
                                   messageName:@"Role"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1Role__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 - KEYAPISVCV1GetDictionaryCategoriesRequest

@implementation KEYAPISVCV1GetDictionaryCategoriesRequest


typedef struct KEYAPISVCV1GetDictionaryCategoriesRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISVCV1GetDictionaryCategoriesRequest__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(KEYAPISVCV1GetDictionaryCategoriesRequest)
                                   messageName:@"GetDictionaryCategoriesRequest"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryCategoriesRequest__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 - KEYAPISVCV1GetDictionaryCategoriesResponse

@implementation KEYAPISVCV1GetDictionaryCategoriesResponse

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

typedef struct KEYAPISVCV1GetDictionaryCategoriesResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories *data_p;
  KEYAPISVCV1GetDictionaryCategoriesResponse_Error *error;
} KEYAPISVCV1GetDictionaryCategoriesResponse__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(KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories),
        .number = KEYAPISVCV1GetDictionaryCategoriesResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryCategoriesResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1GetDictionaryCategoriesResponse_Error),
        .number = KEYAPISVCV1GetDictionaryCategoriesResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryCategoriesResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryCategoriesResponse)
                                   messageName:@"GetDictionaryCategoriesResponse"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryCategoriesResponse__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 KEYAPISVCV1GetDictionaryCategoriesResponse_ClearTypeOneOfCase(KEYAPISVCV1GetDictionaryCategoriesResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1GetDictionaryCategoriesResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories

@implementation KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories

@dynamic categoryArray, categoryArray_Count;

typedef struct KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *categoryArray;
} KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories__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 = "categoryArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1Category),
        .number = KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories_FieldNumber_CategoryArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories__storage_, categoryArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories)
                                   messageName:@"CameraCategories"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryCategoriesResponse_CameraCategories__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1GetDictionaryCategoriesResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1GetDictionaryCategoriesResponse_Error

@implementation KEYAPISVCV1GetDictionaryCategoriesResponse_Error

@dynamic reasonOneOfCase;
@dynamic vcDictionaryError;

typedef struct KEYAPISVCV1GetDictionaryCategoriesResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1VcDictionaryError *vcDictionaryError;
} KEYAPISVCV1GetDictionaryCategoriesResponse_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 = "vcDictionaryError",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1VcDictionaryError),
        .number = KEYAPISVCV1GetDictionaryCategoriesResponse_Error_FieldNumber_VcDictionaryError,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryCategoriesResponse_Error__storage_, vcDictionaryError),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryCategoriesResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryCategoriesResponse_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(KEYAPISVCV1GetDictionaryCategoriesResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISVCV1GetDictionaryTariffsRequest


typedef struct KEYAPISVCV1GetDictionaryTariffsRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISVCV1GetDictionaryTariffsRequest__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(KEYAPISVCV1GetDictionaryTariffsRequest)
                                   messageName:@"GetDictionaryTariffsRequest"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryTariffsRequest__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 - KEYAPISVCV1GetDictionaryTariffsResponse

@implementation KEYAPISVCV1GetDictionaryTariffsResponse

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

typedef struct KEYAPISVCV1GetDictionaryTariffsResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs *data_p;
  KEYAPISVCV1GetDictionaryTariffsResponse_Error *error;
} KEYAPISVCV1GetDictionaryTariffsResponse__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(KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs),
        .number = KEYAPISVCV1GetDictionaryTariffsResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryTariffsResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1GetDictionaryTariffsResponse_Error),
        .number = KEYAPISVCV1GetDictionaryTariffsResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryTariffsResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryTariffsResponse)
                                   messageName:@"GetDictionaryTariffsResponse"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryTariffsResponse__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 KEYAPISVCV1GetDictionaryTariffsResponse_ClearTypeOneOfCase(KEYAPISVCV1GetDictionaryTariffsResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1GetDictionaryTariffsResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs

@implementation KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs

@dynamic tariffArray, tariffArray_Count;

typedef struct KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *tariffArray;
} KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs__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 = "tariffArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1Tariff),
        .number = KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs_FieldNumber_TariffArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs__storage_, tariffArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs)
                                   messageName:@"CameraTariffs"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryTariffsResponse_CameraTariffs__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1GetDictionaryTariffsResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1GetDictionaryTariffsResponse_Error

@implementation KEYAPISVCV1GetDictionaryTariffsResponse_Error

@dynamic reasonOneOfCase;
@dynamic vcDictionaryError;

typedef struct KEYAPISVCV1GetDictionaryTariffsResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1VcDictionaryError *vcDictionaryError;
} KEYAPISVCV1GetDictionaryTariffsResponse_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 = "vcDictionaryError",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1VcDictionaryError),
        .number = KEYAPISVCV1GetDictionaryTariffsResponse_Error_FieldNumber_VcDictionaryError,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryTariffsResponse_Error__storage_, vcDictionaryError),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryTariffsResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryTariffsResponse_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(KEYAPISVCV1GetDictionaryTariffsResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISVCV1GetDictionaryRolesRequest


typedef struct KEYAPISVCV1GetDictionaryRolesRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISVCV1GetDictionaryRolesRequest__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(KEYAPISVCV1GetDictionaryRolesRequest)
                                   messageName:@"GetDictionaryRolesRequest"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryRolesRequest__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 - KEYAPISVCV1GetDictionaryRolesResponse

@implementation KEYAPISVCV1GetDictionaryRolesResponse

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

typedef struct KEYAPISVCV1GetDictionaryRolesResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1GetDictionaryRolesResponse_Roles *data_p;
  KEYAPISVCV1GetDictionaryRolesResponse_Error *error;
} KEYAPISVCV1GetDictionaryRolesResponse__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(KEYAPISVCV1GetDictionaryRolesResponse_Roles),
        .number = KEYAPISVCV1GetDictionaryRolesResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryRolesResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1GetDictionaryRolesResponse_Error),
        .number = KEYAPISVCV1GetDictionaryRolesResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryRolesResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryRolesResponse)
                                   messageName:@"GetDictionaryRolesResponse"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryRolesResponse__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 KEYAPISVCV1GetDictionaryRolesResponse_ClearTypeOneOfCase(KEYAPISVCV1GetDictionaryRolesResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1GetDictionaryRolesResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetDictionaryRolesResponse_Roles

@implementation KEYAPISVCV1GetDictionaryRolesResponse_Roles

@dynamic rolesArray, rolesArray_Count;

typedef struct KEYAPISVCV1GetDictionaryRolesResponse_Roles__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *rolesArray;
} KEYAPISVCV1GetDictionaryRolesResponse_Roles__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 = "rolesArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1Role),
        .number = KEYAPISVCV1GetDictionaryRolesResponse_Roles_FieldNumber_RolesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryRolesResponse_Roles__storage_, rolesArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryRolesResponse_Roles)
                                   messageName:@"Roles"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryRolesResponse_Roles__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1GetDictionaryRolesResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1GetDictionaryRolesResponse_Error

@implementation KEYAPISVCV1GetDictionaryRolesResponse_Error

@dynamic reasonOneOfCase;
@dynamic vcDictionaryError;

typedef struct KEYAPISVCV1GetDictionaryRolesResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1VcDictionaryError *vcDictionaryError;
} KEYAPISVCV1GetDictionaryRolesResponse_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 = "vcDictionaryError",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1VcDictionaryError),
        .number = KEYAPISVCV1GetDictionaryRolesResponse_Error_FieldNumber_VcDictionaryError,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetDictionaryRolesResponse_Error__storage_, vcDictionaryError),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetDictionaryRolesResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetDictionaryRolesResponse_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(KEYAPISVCV1GetDictionaryRolesResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISVCV1VcDictionaryError

@dynamic service;
@dynamic product;
@dynamic message;
@dynamic resasonsArray, resasonsArray_Count;

typedef struct KEYAPISVCV1VcDictionaryError__storage_ {
  uint32_t _has_storage_[1];
  NSString *service;
  NSString *product;
  NSString *message;
  NSMutableArray *resasonsArray;
} KEYAPISVCV1VcDictionaryError__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 = "service",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1VcDictionaryError_FieldNumber_Service,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1VcDictionaryError__storage_, service),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "product",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1VcDictionaryError_FieldNumber_Product,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1VcDictionaryError__storage_, product),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "message",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1VcDictionaryError_FieldNumber_Message,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1VcDictionaryError__storage_, message),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "resasonsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1VcDictionaryError_Reason),
        .number = KEYAPISVCV1VcDictionaryError_FieldNumber_ResasonsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1VcDictionaryError__storage_, resasonsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1VcDictionaryError)
                                   messageName:@"VcDictionaryError"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1VcDictionaryError__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 - KEYAPISVCV1VcDictionaryError_Reason

@implementation KEYAPISVCV1VcDictionaryError_Reason

@dynamic message;

typedef struct KEYAPISVCV1VcDictionaryError_Reason__storage_ {
  uint32_t _has_storage_[1];
  NSString *message;
} KEYAPISVCV1VcDictionaryError_Reason__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 = "message",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1VcDictionaryError_Reason_FieldNumber_Message,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1VcDictionaryError_Reason__storage_, message),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1VcDictionaryError_Reason)
                                   messageName:@"Reason"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraDictionaryV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1VcDictionaryError_Reason__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1VcDictionaryError)];
    #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
