// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/jwks/v1/keyapis_jwks_key_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/jwks/v1/KeyapisJwksKeyV1.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(KEYAPISJWKSV1DeleteKeyRequest);
GPBObjCClassDeclaration(KEYAPISJWKSV1DeleteKeyResponse);
GPBObjCClassDeclaration(KEYAPISJWKSV1DeleteKeyResponse_Error);
GPBObjCClassDeclaration(KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest);
GPBObjCClassDeclaration(KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse);
GPBObjCClassDeclaration(KEYAPISJWKSV1KeyInfo);
GPBObjCClassDeclaration(KEYAPISJWKSV1KeyInfo_PublicKey);
GPBObjCClassDeclaration(KEYAPISJWKSV1KeyInfo_SavingError);
GPBObjCClassDeclaration(KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists);
GPBObjCClassDeclaration(KEYAPISJWKSV1PostKeyRequest);
GPBObjCClassDeclaration(KEYAPISJWKSV1PostKeyResponse);
GPBObjCClassDeclaration(KEYAPISJWKSV1PostKeyResponse_Error);
GPBObjCClassDeclaration(KEYAPISJWKSV1ValidationError);

#pragma mark - KEYAPISJWKSV1KeyapisJwksKeyV1Root

@implementation KEYAPISJWKSV1KeyapisJwksKeyV1Root

+ (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 KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription = {
  .package = "keyapis.jwks.v1",
  .prefix = "KEYAPISJWKSV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - KEYAPISJWKSV1KeyInfo

@implementation KEYAPISJWKSV1KeyInfo

@dynamic id_p;
@dynamic hasPublicKey, publicKey;
@dynamic hasCreatedAt, createdAt;

typedef struct KEYAPISJWKSV1KeyInfo__storage_ {
  uint32_t _has_storage_[1];
  NSString *id_p;
  KEYAPISJWKSV1KeyInfo_PublicKey *publicKey;
  GPBTimestamp *createdAt;
} KEYAPISJWKSV1KeyInfo__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 = KEYAPISJWKSV1KeyInfo_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "publicKey",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1KeyInfo_PublicKey),
        .number = KEYAPISJWKSV1KeyInfo_FieldNumber_PublicKey,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo__storage_, publicKey),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "createdAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISJWKSV1KeyInfo_FieldNumber_CreatedAt,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo__storage_, createdAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1KeyInfo)
                                   messageName:@"KeyInfo"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1KeyInfo__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 - KEYAPISJWKSV1KeyInfo_PublicKey

@implementation KEYAPISJWKSV1KeyInfo_PublicKey

@dynamic use;
@dynamic kty;
@dynamic kid;
@dynamic alg;
@dynamic n;
@dynamic e;
@dynamic x5CArray, x5CArray_Count;

typedef struct KEYAPISJWKSV1KeyInfo_PublicKey__storage_ {
  uint32_t _has_storage_[1];
  NSString *use;
  NSString *kty;
  NSString *kid;
  NSString *alg;
  NSString *n;
  NSString *e;
  NSMutableArray *x5CArray;
} KEYAPISJWKSV1KeyInfo_PublicKey__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 = "use",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_Use,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, use),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "kty",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_Kty,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, kty),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "kid",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_Kid,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, kid),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "alg",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_Alg,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, alg),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "n",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_N,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, n),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "e",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_E,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, e),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "x5CArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1KeyInfo_PublicKey_FieldNumber_X5CArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_, x5CArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldTextFormatNameCustom),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1KeyInfo_PublicKey)
                                   messageName:@"PublicKey"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1KeyInfo_PublicKey__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
#if !GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS
    static const char *extraTextFormatInfo =
        "\001\007\000x5c\000";
    [localDescriptor setupExtraTextInfo:extraTextFormatInfo];
#endif  // !GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISJWKSV1KeyInfo)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISJWKSV1KeyInfo_SavingError

@implementation KEYAPISJWKSV1KeyInfo_SavingError

@dynamic reasonOneOfCase;
@dynamic keyAlreadyExists;

typedef struct KEYAPISJWKSV1KeyInfo_SavingError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists *keyAlreadyExists;
} KEYAPISJWKSV1KeyInfo_SavingError__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 = "keyAlreadyExists",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists),
        .number = KEYAPISJWKSV1KeyInfo_SavingError_FieldNumber_KeyAlreadyExists,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1KeyInfo_SavingError__storage_, keyAlreadyExists),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1KeyInfo_SavingError)
                                   messageName:@"SavingError"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1KeyInfo_SavingError__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(KEYAPISJWKSV1KeyInfo)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists


typedef struct KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists__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(KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists)
                                   messageName:@"KeyAlreadyExists"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISJWKSV1KeyInfo_SavingError_KeyAlreadyExists__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISJWKSV1KeyInfo_SavingError)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISJWKSV1PostKeyRequest

@implementation KEYAPISJWKSV1PostKeyRequest

@dynamic hasData_p, data_p;

typedef struct KEYAPISJWKSV1PostKeyRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISJWKSV1KeyInfo_PublicKey *data_p;
} KEYAPISJWKSV1PostKeyRequest__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(KEYAPISJWKSV1KeyInfo_PublicKey),
        .number = KEYAPISJWKSV1PostKeyRequest_FieldNumber_Data_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1PostKeyRequest__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1PostKeyRequest)
                                   messageName:@"PostKeyRequest"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1PostKeyRequest__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 - KEYAPISJWKSV1PostKeyResponse

@implementation KEYAPISJWKSV1PostKeyResponse

@dynamic typeOneOfCase;
@dynamic error;

typedef struct KEYAPISJWKSV1PostKeyResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISJWKSV1PostKeyResponse_Error *error;
} KEYAPISJWKSV1PostKeyResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1PostKeyResponse_Error),
        .number = KEYAPISJWKSV1PostKeyResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1PostKeyResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1PostKeyResponse)
                                   messageName:@"PostKeyResponse"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1PostKeyResponse__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 KEYAPISJWKSV1PostKeyResponse_ClearTypeOneOfCase(KEYAPISJWKSV1PostKeyResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISJWKSV1PostKeyResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISJWKSV1PostKeyResponse_Error

@implementation KEYAPISJWKSV1PostKeyResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;
@dynamic saving;

typedef struct KEYAPISJWKSV1PostKeyResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISJWKSV1ValidationError *validation;
  KEYAPISJWKSV1KeyInfo_SavingError *saving;
} KEYAPISJWKSV1PostKeyResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1ValidationError),
        .number = KEYAPISJWKSV1PostKeyResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1PostKeyResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "saving",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1KeyInfo_SavingError),
        .number = KEYAPISJWKSV1PostKeyResponse_Error_FieldNumber_Saving,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1PostKeyResponse_Error__storage_, saving),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1PostKeyResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1PostKeyResponse_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(KEYAPISJWKSV1PostKeyResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISJWKSV1DeleteKeyRequest

@dynamic id_p;

typedef struct KEYAPISJWKSV1DeleteKeyRequest__storage_ {
  uint32_t _has_storage_[1];
  NSString *id_p;
} KEYAPISJWKSV1DeleteKeyRequest__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 = KEYAPISJWKSV1DeleteKeyRequest_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1DeleteKeyRequest__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1DeleteKeyRequest)
                                   messageName:@"DeleteKeyRequest"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1DeleteKeyRequest__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 - KEYAPISJWKSV1DeleteKeyResponse

@implementation KEYAPISJWKSV1DeleteKeyResponse

@dynamic typeOneOfCase;
@dynamic error;

typedef struct KEYAPISJWKSV1DeleteKeyResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISJWKSV1DeleteKeyResponse_Error *error;
} KEYAPISJWKSV1DeleteKeyResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1DeleteKeyResponse_Error),
        .number = KEYAPISJWKSV1DeleteKeyResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1DeleteKeyResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1DeleteKeyResponse)
                                   messageName:@"DeleteKeyResponse"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1DeleteKeyResponse__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 KEYAPISJWKSV1DeleteKeyResponse_ClearTypeOneOfCase(KEYAPISJWKSV1DeleteKeyResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISJWKSV1DeleteKeyResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISJWKSV1DeleteKeyResponse_Error

@implementation KEYAPISJWKSV1DeleteKeyResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct KEYAPISJWKSV1DeleteKeyResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISJWKSV1ValidationError *validation;
} KEYAPISJWKSV1DeleteKeyResponse_Error__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "validation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1ValidationError),
        .number = KEYAPISJWKSV1DeleteKeyResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1DeleteKeyResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1DeleteKeyResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1DeleteKeyResponse_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(KEYAPISJWKSV1DeleteKeyResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest


typedef struct KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest__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(KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest)
                                   messageName:@"GetKeyWellKnownJwksJsonRequest"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISJWKSV1GetKeyWellKnownJwksJsonRequest__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 - KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse

@implementation KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse

@dynamic dataArray, dataArray_Count;

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

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "dataArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISJWKSV1KeyInfo_PublicKey),
        .number = KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse)
                                   messageName:@"GetKeyWellKnownJwksJsonResponse"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1GetKeyWellKnownJwksJsonResponse__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 - KEYAPISJWKSV1ValidationError

@implementation KEYAPISJWKSV1ValidationError

@dynamic path;
@dynamic message;

typedef struct KEYAPISJWKSV1ValidationError__storage_ {
  uint32_t _has_storage_[1];
  NSString *path;
  NSString *message;
} KEYAPISJWKSV1ValidationError__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 = "path",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1ValidationError_FieldNumber_Path,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1ValidationError__storage_, path),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "message",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISJWKSV1ValidationError_FieldNumber_Message,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISJWKSV1ValidationError__storage_, message),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISJWKSV1ValidationError)
                                   messageName:@"ValidationError"
                               fileDescription:&KEYAPISJWKSV1KeyapisJwksKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISJWKSV1ValidationError__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
