// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/kms/v1/keyapis_kms_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/kms/v1/KeyapisKmsKeyV1.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(KEYAPISKMSV1GetKmsKeyListRequest);
GPBObjCClassDeclaration(KEYAPISKMSV1GetKmsKeyListResponse);
GPBObjCClassDeclaration(KEYAPISKMSV1KeyInfo);
GPBObjCClassDeclaration(KEYAPISKMSV1KeyInfo_GeneratingError);
GPBObjCClassDeclaration(KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError);
GPBObjCClassDeclaration(KEYAPISKMSV1KeyInfo_GeneratingError_TransactionError);
GPBObjCClassDeclaration(KEYAPISKMSV1PostKmsKeyGenerateRequest);
GPBObjCClassDeclaration(KEYAPISKMSV1PostKmsKeyGenerateResponse);
GPBObjCClassDeclaration(KEYAPISKMSV1PostKmsKeyGenerateResponse_Error);

#pragma mark - KEYAPISKMSV1KeyapisKmsKeyV1Root

@implementation KEYAPISKMSV1KeyapisKmsKeyV1Root

+ (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 KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription = {
  .package = "keyapis.kms.v1",
  .prefix = "KEYAPISKMSV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - KEYAPISKMSV1PostKmsKeyGenerateRequest

@implementation KEYAPISKMSV1PostKmsKeyGenerateRequest


typedef struct KEYAPISKMSV1PostKmsKeyGenerateRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISKMSV1PostKmsKeyGenerateRequest__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(KEYAPISKMSV1PostKmsKeyGenerateRequest)
                                   messageName:@"PostKmsKeyGenerateRequest"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISKMSV1PostKmsKeyGenerateRequest__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 - KEYAPISKMSV1PostKmsKeyGenerateResponse

@implementation KEYAPISKMSV1PostKmsKeyGenerateResponse

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

typedef struct KEYAPISKMSV1PostKmsKeyGenerateResponse__storage_ {
  uint32_t _has_storage_[2];
  NSString *data_p;
  KEYAPISKMSV1PostKmsKeyGenerateResponse_Error *error;
} KEYAPISKMSV1PostKmsKeyGenerateResponse__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "data_p",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISKMSV1PostKmsKeyGenerateResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1PostKmsKeyGenerateResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISKMSV1PostKmsKeyGenerateResponse_Error),
        .number = KEYAPISKMSV1PostKmsKeyGenerateResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1PostKmsKeyGenerateResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISKMSV1PostKmsKeyGenerateResponse)
                                   messageName:@"PostKmsKeyGenerateResponse"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISKMSV1PostKmsKeyGenerateResponse__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 KEYAPISKMSV1PostKmsKeyGenerateResponse_ClearTypeOneOfCase(KEYAPISKMSV1PostKmsKeyGenerateResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISKMSV1PostKmsKeyGenerateResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISKMSV1PostKmsKeyGenerateResponse_Error

@implementation KEYAPISKMSV1PostKmsKeyGenerateResponse_Error

@dynamic reasonOneOfCase;
@dynamic generating;

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

@end

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

@implementation KEYAPISKMSV1GetKmsKeyListRequest


typedef struct KEYAPISKMSV1GetKmsKeyListRequest__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISKMSV1GetKmsKeyListRequest__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(KEYAPISKMSV1GetKmsKeyListRequest)
                                   messageName:@"GetKmsKeyListRequest"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISKMSV1GetKmsKeyListRequest__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 - KEYAPISKMSV1GetKmsKeyListResponse

@implementation KEYAPISKMSV1GetKmsKeyListResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct KEYAPISKMSV1GetKmsKeyListResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISKMSV1KeyInfo *data_p;
} KEYAPISKMSV1GetKmsKeyListResponse__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(KEYAPISKMSV1KeyInfo),
        .number = KEYAPISKMSV1GetKmsKeyListResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1GetKmsKeyListResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISKMSV1GetKmsKeyListResponse)
                                   messageName:@"GetKmsKeyListResponse"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISKMSV1GetKmsKeyListResponse__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 KEYAPISKMSV1GetKmsKeyListResponse_ClearTypeOneOfCase(KEYAPISKMSV1GetKmsKeyListResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISKMSV1GetKmsKeyListResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISKMSV1KeyInfo

@implementation KEYAPISKMSV1KeyInfo

@dynamic id_p;
@dynamic publicKey;
@dynamic encryptedPrivateKey;
@dynamic hasCreatedAt, createdAt;
@dynamic hasExpiredAt, expiredAt;

typedef struct KEYAPISKMSV1KeyInfo__storage_ {
  uint32_t _has_storage_[1];
  NSString *id_p;
  NSString *publicKey;
  NSString *encryptedPrivateKey;
  GPBTimestamp *createdAt;
  GPBTimestamp *expiredAt;
} KEYAPISKMSV1KeyInfo__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 = KEYAPISKMSV1KeyInfo_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "publicKey",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISKMSV1KeyInfo_FieldNumber_PublicKey,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo__storage_, publicKey),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "encryptedPrivateKey",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISKMSV1KeyInfo_FieldNumber_EncryptedPrivateKey,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo__storage_, encryptedPrivateKey),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "createdAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISKMSV1KeyInfo_FieldNumber_CreatedAt,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo__storage_, createdAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "expiredAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISKMSV1KeyInfo_FieldNumber_ExpiredAt,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo__storage_, expiredAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISKMSV1KeyInfo)
                                   messageName:@"KeyInfo"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISKMSV1KeyInfo__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 - KEYAPISKMSV1KeyInfo_GeneratingError

@implementation KEYAPISKMSV1KeyInfo_GeneratingError

@dynamic reasonOneOfCase;
@dynamic transaction;
@dynamic publishing;

typedef struct KEYAPISKMSV1KeyInfo_GeneratingError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISKMSV1KeyInfo_GeneratingError_TransactionError *transaction;
  KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError *publishing;
} KEYAPISKMSV1KeyInfo_GeneratingError__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 = "transaction",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISKMSV1KeyInfo_GeneratingError_TransactionError),
        .number = KEYAPISKMSV1KeyInfo_GeneratingError_FieldNumber_Transaction,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo_GeneratingError__storage_, transaction),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "publishing",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError),
        .number = KEYAPISKMSV1KeyInfo_GeneratingError_FieldNumber_Publishing,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISKMSV1KeyInfo_GeneratingError__storage_, publishing),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISKMSV1KeyInfo_GeneratingError)
                                   messageName:@"GeneratingError"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISKMSV1KeyInfo_GeneratingError__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(KEYAPISKMSV1KeyInfo)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISKMSV1KeyInfo_GeneratingError_TransactionError


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

@end

#pragma mark - KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError

@implementation KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError


typedef struct KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError__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(KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError)
                                   messageName:@"PublishingKeyError"
                               fileDescription:&KEYAPISKMSV1KeyapisKmsKeyV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISKMSV1KeyInfo_GeneratingError_PublishingKeyError__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISKMSV1KeyInfo_GeneratingError)];
    #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
