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

#import "keyapis/subscription/v1/KeyapisSubscriptionPlanV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "google/protobuf/Descriptor.pbobjc.h"
#import "keyapis/subscription/v1/KeyapisSubscriptionPrivilegeV1.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(GPBStringValue);
GPBObjCClassDeclaration(GPBTimestamp);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanCountRequest);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanListRequest);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanListResponse);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanRequest);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1GetPlanResponse);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1Plan);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanFilter);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError_TextInvalid);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanPaging);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_LimitInvalid);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_OffsetInvalid);
GPBObjCClassDeclaration(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription);

#pragma mark - KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root

@implementation KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root

+ (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 KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription = {
  .package = "keyapis.subscription.v1",
  .prefix = "KEYAPISSUBSCRIPTIONV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISSUBSCRIPTIONV1Plan_IconType

GPBEnumDescriptor *KEYAPISSUBSCRIPTIONV1Plan_IconType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "IconTypeUnknown\000Fast\000FaceRec\000Safe\000";
    static const int32_t values[] = {
        KEYAPISSUBSCRIPTIONV1Plan_IconType_IconTypeUnknown,
        KEYAPISSUBSCRIPTIONV1Plan_IconType_Fast,
        KEYAPISSUBSCRIPTIONV1Plan_IconType_FaceRec,
        KEYAPISSUBSCRIPTIONV1Plan_IconType_Safe,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISSUBSCRIPTIONV1Plan_IconType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISSUBSCRIPTIONV1Plan_IconType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISSUBSCRIPTIONV1Plan_IconType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISSUBSCRIPTIONV1Plan_IconType_IconTypeUnknown:
    case KEYAPISSUBSCRIPTIONV1Plan_IconType_Fast:
    case KEYAPISSUBSCRIPTIONV1Plan_IconType_FaceRec:
    case KEYAPISSUBSCRIPTIONV1Plan_IconType_Safe:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType

GPBEnumDescriptor *KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "OrderByTypeUnknown\000Id\000";
    static const int32_t values[] = {
        KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_OrderByTypeUnknown,
        KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_Id,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_OrderByTypeUnknown:
    case KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_Id:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType

GPBEnumDescriptor *KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "DirectionTypeUnknown\000Desc\000Asc\000";
    static const int32_t values[] = {
        KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_DirectionTypeUnknown,
        KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_Desc,
        KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_Asc,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_DirectionTypeUnknown:
    case KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_Desc:
    case KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_Asc:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISSUBSCRIPTIONV1Plan

@implementation KEYAPISSUBSCRIPTIONV1Plan

@dynamic id_p;
@dynamic title;
@dynamic hasDescription_p, description_p;
@dynamic hasCreatedAt, createdAt;
@dynamic hasChangedAt, changedAt;
@dynamic parentIdsArray, parentIdsArray_Count;
@dynamic rfIdsArray, rfIdsArray_Count;
@dynamic hasSummary, summary;
@dynamic iconType;
@dynamic optionDescriptionsArray, optionDescriptionsArray_Count;
@dynamic privilegeTypesArray, privilegeTypesArray_Count;

typedef struct KEYAPISSUBSCRIPTIONV1Plan__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  KEYAPISSUBSCRIPTIONV1Plan_IconType iconType;
  NSString *title;
  GPBStringValue *description_p;
  GPBTimestamp *createdAt;
  GPBTimestamp *changedAt;
  GPBInt32Array *parentIdsArray;
  GPBInt32Array *rfIdsArray;
  GPBStringValue *summary;
  NSMutableArray *optionDescriptionsArray;
  GPBEnumArray *privilegeTypesArray;
} KEYAPISSUBSCRIPTIONV1Plan__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 = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_Title,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "description_p",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_Description_p,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, description_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "createdAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_CreatedAt,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, createdAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "changedAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_ChangedAt,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, changedAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "parentIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_ParentIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, parentIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "rfIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_RfIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, rfIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "summary",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_Summary,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, summary),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "iconType",
        .dataTypeSpecific.enumDescFunc = KEYAPISSUBSCRIPTIONV1Plan_IconType_EnumDescriptor,
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_IconType,
        .hasIndex = 6,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, iconType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "optionDescriptionsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription),
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_OptionDescriptionsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, optionDescriptionsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "privilegeTypesArray",
        .dataTypeSpecific.enumDescFunc = KEYAPISSUBSCRIPTIONV1Privilege_Type_EnumDescriptor,
        .number = KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_PrivilegeTypesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan__storage_, privilegeTypesArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked | GPBFieldHasEnumDescriptor),
        .dataType = GPBDataTypeEnum,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1Plan)
                                   messageName:@"Plan"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1Plan__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

int32_t KEYAPISSUBSCRIPTIONV1Plan_IconType_RawValue(KEYAPISSUBSCRIPTIONV1Plan *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1Plan descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_IconType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISSUBSCRIPTIONV1Plan_IconType_RawValue(KEYAPISSUBSCRIPTIONV1Plan *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1Plan descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1Plan_FieldNumber_IconType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISSUBSCRIPTIONV1Plan_OptionDescription

@implementation KEYAPISSUBSCRIPTIONV1Plan_OptionDescription

@dynamic iconType;
@dynamic title;
@dynamic hasSummary, summary;

typedef struct KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISSUBSCRIPTIONV1Plan_IconType iconType;
  NSString *title;
  GPBStringValue *summary;
} KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__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 = "iconType",
        .dataTypeSpecific.enumDescFunc = KEYAPISSUBSCRIPTIONV1Plan_IconType_EnumDescriptor,
        .number = KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_FieldNumber_IconType,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__storage_, iconType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_FieldNumber_Title,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "summary",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_FieldNumber_Summary,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__storage_, summary),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription)
                                   messageName:@"OptionDescription"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1Plan)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

int32_t KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_IconType_RawValue(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1Plan_OptionDescription descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_FieldNumber_IconType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISSUBSCRIPTIONV1Plan_OptionDescription_IconType_RawValue(KEYAPISSUBSCRIPTIONV1Plan_OptionDescription *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1Plan_OptionDescription descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1Plan_OptionDescription_FieldNumber_IconType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISSUBSCRIPTIONV1PlanFilter

@implementation KEYAPISSUBSCRIPTIONV1PlanFilter

@dynamic hasText, text;
@dynamic rfIdsArray, rfIdsArray_Count;

typedef struct KEYAPISSUBSCRIPTIONV1PlanFilter__storage_ {
  uint32_t _has_storage_[1];
  GPBStringValue *text;
  GPBInt32Array *rfIdsArray;
} KEYAPISSUBSCRIPTIONV1PlanFilter__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 = "text",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = KEYAPISSUBSCRIPTIONV1PlanFilter_FieldNumber_Text,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanFilter__storage_, text),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "rfIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1PlanFilter_FieldNumber_RfIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanFilter__storage_, rfIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter)
                                   messageName:@"PlanFilter"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1PlanFilter__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 - KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError

@implementation KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError

@dynamic reasonOneOfCase;
@dynamic text;

typedef struct KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError_TextInvalid *text;
} KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError__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 = "text",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError_TextInvalid),
        .number = KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError_FieldNumber_Text,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError__storage_, text),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError)
                                   messageName:@"ValidationError"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError__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(KEYAPISSUBSCRIPTIONV1PlanFilter)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError_TextInvalid


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

@end

#pragma mark - KEYAPISSUBSCRIPTIONV1PlanPaging

@implementation KEYAPISSUBSCRIPTIONV1PlanPaging

@dynamic orderByType;
@dynamic directionType;
@dynamic limit;
@dynamic offset;

typedef struct KEYAPISSUBSCRIPTIONV1PlanPaging__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType orderByType;
  KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType directionType;
  int32_t limit;
  int32_t offset;
} KEYAPISSUBSCRIPTIONV1PlanPaging__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 = "orderByType",
        .dataTypeSpecific.enumDescFunc = KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_EnumDescriptor,
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_OrderByType,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging__storage_, orderByType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "directionType",
        .dataTypeSpecific.enumDescFunc = KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_EnumDescriptor,
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_DirectionType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging__storage_, directionType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "limit",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_Limit,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging__storage_, limit),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_Offset,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging__storage_, offset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging)
                                   messageName:@"PlanPaging"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1PlanPaging__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

int32_t KEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_RawValue(KEYAPISSUBSCRIPTIONV1PlanPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1PlanPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_OrderByType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISSUBSCRIPTIONV1PlanPaging_OrderByType_RawValue(KEYAPISSUBSCRIPTIONV1PlanPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1PlanPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_OrderByType];
  GPBSetMessageRawEnumField(message, field, value);
}

int32_t KEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_RawValue(KEYAPISSUBSCRIPTIONV1PlanPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1PlanPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_DirectionType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISSUBSCRIPTIONV1PlanPaging_DirectionType_RawValue(KEYAPISSUBSCRIPTIONV1PlanPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1PlanPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISSUBSCRIPTIONV1PlanPaging_FieldNumber_DirectionType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError

@implementation KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError

@dynamic reasonOneOfCase;
@dynamic limit;
@dynamic offset;

typedef struct KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_LimitInvalid *limit;
  KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_OffsetInvalid *offset;
} KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError__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 = "limit",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_LimitInvalid),
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_FieldNumber_Limit,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError__storage_, limit),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_OffsetInvalid),
        .number = KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_FieldNumber_Offset,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError__storage_, offset),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError)
                                   messageName:@"ValidationError"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError__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(KEYAPISSUBSCRIPTIONV1PlanPaging)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_LimitInvalid


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

@end

#pragma mark - KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_OffsetInvalid

@implementation KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError_OffsetInvalid


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

@end

#pragma mark - KEYAPISSUBSCRIPTIONV1GetPlanRequest

@implementation KEYAPISSUBSCRIPTIONV1GetPlanRequest

@dynamic id_p;

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanRequest__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
} KEYAPISSUBSCRIPTIONV1GetPlanRequest__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 = KEYAPISSUBSCRIPTIONV1GetPlanRequest_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanRequest__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanRequest)
                                   messageName:@"GetPlanRequest"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanRequest__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 - KEYAPISSUBSCRIPTIONV1GetPlanResponse

@implementation KEYAPISSUBSCRIPTIONV1GetPlanResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1Plan *data_p;
} KEYAPISSUBSCRIPTIONV1GetPlanResponse__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(KEYAPISSUBSCRIPTIONV1Plan),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanResponse)
                                   messageName:@"GetPlanResponse"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanResponse__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 KEYAPISSUBSCRIPTIONV1GetPlanResponse_ClearTypeOneOfCase(KEYAPISSUBSCRIPTIONV1GetPlanResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1GetPlanResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISSUBSCRIPTIONV1GetPlanListRequest

@implementation KEYAPISSUBSCRIPTIONV1GetPlanListRequest

@dynamic paginationOneOfCase;
@dynamic hasFilter, filter;
@dynamic paging;

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanListRequest__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1PlanFilter *filter;
  KEYAPISSUBSCRIPTIONV1PlanPaging *paging;
} KEYAPISSUBSCRIPTIONV1GetPlanListRequest__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 = "filter",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanListRequest)
                                   messageName:@"GetPlanListRequest"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanListRequest__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "pagination",
    };
    [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 KEYAPISSUBSCRIPTIONV1GetPlanListRequest_ClearPaginationOneOfCase(KEYAPISSUBSCRIPTIONV1GetPlanListRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1GetPlanListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISSUBSCRIPTIONV1GetPlanListResponse

@implementation KEYAPISSUBSCRIPTIONV1GetPlanListResponse

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

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanListResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1Plan *data_p;
  KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error *error;
} KEYAPISSUBSCRIPTIONV1GetPlanListResponse__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(KEYAPISSUBSCRIPTIONV1Plan),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanListResponse)
                                   messageName:@"GetPlanListResponse"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse__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 KEYAPISSUBSCRIPTIONV1GetPlanListResponse_ClearTypeOneOfCase(KEYAPISSUBSCRIPTIONV1GetPlanListResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1GetPlanListResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error

@implementation KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error

@dynamic reasonOneOfCase;
@dynamic planFilterValidation;
@dynamic planPagingValidation;

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError *planFilterValidation;
  KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError *planPagingValidation;
} KEYAPISSUBSCRIPTIONV1GetPlanListResponse_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 = "planFilterValidation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter_ValidationError),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error_FieldNumber_PlanFilterValidation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error__storage_, planFilterValidation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "planPagingValidation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanPaging_ValidationError),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error_FieldNumber_PlanPagingValidation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error__storage_, planPagingValidation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanListResponse_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(KEYAPISSUBSCRIPTIONV1GetPlanListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISSUBSCRIPTIONV1GetPlanCountRequest

@dynamic hasFilter, filter;

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanCountRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISSUBSCRIPTIONV1PlanFilter *filter;
} KEYAPISSUBSCRIPTIONV1GetPlanCountRequest__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 = "filter",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1PlanFilter),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanCountRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanCountRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanCountRequest)
                                   messageName:@"GetPlanCountRequest"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanCountRequest__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 - KEYAPISSUBSCRIPTIONV1GetPlanCountResponse

@implementation KEYAPISSUBSCRIPTIONV1GetPlanCountResponse

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

typedef struct KEYAPISSUBSCRIPTIONV1GetPlanCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error *error;
} KEYAPISSUBSCRIPTIONV1GetPlanCountResponse__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 = KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error),
        .number = KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse)
                                   messageName:@"GetPlanCountResponse"
                               fileDescription:&KEYAPISSUBSCRIPTIONV1KeyapisSubscriptionPlanV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse__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 KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_ClearTypeOneOfCase(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1GetPlanCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error

@implementation KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error

@dynamic reasonOneOfCase;
@dynamic planFilterValidation;

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

@end

void KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error_ClearReasonOneOfCase(KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error *message) {
  GPBDescriptor *descriptor = [KEYAPISSUBSCRIPTIONV1GetPlanCountResponse_Error descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
