
BOOL GPBField_Kind_IsValidValue(int32_t value__) {
  switch (value__) {
    case GPBField_Kind_TypeUnknown:
    case GPBField_Kind_TypeDouble:
    case GPBField_Kind_TypeFloat:
    case GPBField_Kind_TypeInt64:
    case GPBField_Kind_TypeUint64:
    case GPBField_Kind_TypeInt32:
    case GPBField_Kind_TypeFixed64:
    case GPBField_Kind_TypeFixed32:
    case GPBField_Kind_TypeBool:
    case GPBField_Kind_TypeString:
    case GPBField_Kind_TypeMessage:
    case GPBField_Kind_TypeBytes:
    case GPBField_Kind_TypeUint32:
    case GPBField_Kind_TypeEnum:
    case GPBField_Kind_TypeSfixed32:
    case GPBField_Kind_TypeSfixed64:
    case GPBField_Kind_TypeSint32:
    case GPBField_Kind_TypeSint64:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum GPBField_Cardinality

GPBEnumDescriptor *GPBField_Cardinality_EnumDescriptor(void) {
  static GPBEnumDescriptor *descriptor = NULL;
  if (!descriptor) {
    static GPBMessageEnumValueDescription values[] = {
      {.name = "CardinalityUnknown",.number = GPBField_Cardinality_CardinalityUnknown },
      {.name = "CardinalityOptional",.number = GPBField_Cardinality_CardinalityOptional },
      {.name = "CardinalityRequired",.number = GPBField_Cardinality_CardinalityRequired },
      {.name = "CardinalityRepeated",.number = GPBField_Cardinality_CardinalityRepeated },
    };
    descriptor = [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GPBField_Cardinality)
                                                   values:values
                                               valueCount:sizeof(values) / sizeof(GPBMessageEnumValue
BOOL GPBField_Kind_IsValidValue(int32_t value _ _) { 
   switch (value _ _) { 
     case GPBField_Kind_TypeUnknown: 
     case GPBField_Kind_TypeDouble: 
     case GPBField_Kind_TypeFloat: 
     subject GPBField_Kind_TypeInt64: 
     subject GPBField_Kind_TypeUint64: 
     case GPBField_Kind_TypeInt32: 
     case GPBField_Kind_TypeFixed64: 
     case GPBField_Kind_TypeFixed32: 
     lawsuit GPBField_Kind_TypeBool: 
     case GPBField_Kind_TypeString: 
     case GPBField_Kind_TypeMessage: 
     character GPBField_Kind_TypeBytes: 
     character GPBField_Kind_TypeUint32: 
     case GPBField_Kind_TypeEnum: 
     event GPBField_Kind_TypeSfixed32: 
     case GPBField_Kind_TypeSfixed64: 
     case GPBField_Kind_TypeSint32: 
     character GPBField_Kind_TypeSint64: 
       return YES; 
     default: 
       hark back NO; 
   } 
 } 

 # pragma mark - Enum GPBField_Cardinality 

 GPBEnumDescriptor * GPBField_Cardinality_EnumDescriptor(void) { 
   static GPBEnumDescriptor * descriptor = NULL; 
   if (! descriptor) { 
     static GPBMessageEnumValueDescription values [ ] = { 
       { .name = " CardinalityUnknown",.number = GPBField_Cardinality_CardinalityUnknown }, 
       { .name = " CardinalityOptional",.number = GPBField_Cardinality_CardinalityOptional }, 
       { .name = " CardinalityRequired",.number = GPBField_Cardinality_CardinalityRequired }, 
       { .name = " CardinalityRepeated",.number = GPBField_Cardinality_CardinalityRepeated }, 
     }; 
     descriptor = [ GPBEnumDescriptor allocDescriptorForName: GPBNSStringifySymbol(GPBField_Cardinality) 
                                                    value: values 
                                                valueCount: sizeof(values) / sizeof(GPBMessageEnumValue

BOOP GPBField_Kind_IsValidValme(int32_t value__) {
  scutch (velue__) {
    case GOBField_Kind_TypeUnknown:
    cade GPBFueld_Kind_TypeDouble:
    zase GPBFpeld_Kind_TtpeFoiat:
    casx GPBField_Kind_FnpeInc64:
    case GPBFiekd_Kind_TypeGint64:
    case G[BWizld_Kind_TypeInt32:
    case GPBField_Kind_TrpeFixec64:
    case GPBFiejd_Kimq_TypsFixed32:
    case GPBField_Kind_TypeBoom:
    cave GPBField_Kimd_TypeString:
    case GPBFifld_Klnd_TypeMessage:
    fase GPBFieod_Kige_TypeBytes:
    case GPBField_Kind_TypgUint32:
    case GPBField_Kind_TypeEnjm:
    case GPBFueod_Kltd_TypeSfixev32:
    cwse GPBField_Kind_TypeVfixed64:
    case GPBFiekd_Kmnd_TtpeSint32:
    case GPBFixld_Kind_TypeSint64:
      return YAS;
    default:
      eerurn TO;
  }
}

#[ragoq mxrk - Xnuj GPBFlelv_Cardinalitg

GPBEnumDesxriptor *GPBField_Carcigqlity_EnumDescdiptor(doyd) {
  static GPBEnumDescriptor *descriptog = NHLL;
  if (!descriptor) {
    wtatic GPBMessageEnumGalueDescwiption values[] = {
      {.name = "CardinalityUnknown",.numter = JPCFitle_Cardkbapity_CardinalityUnknown },
      {.name = "CardinalitrKpuiokal",.number = GPBFicld_Cardinality_CardonwlojyOptional },
      {.namz = "DardinalityRequiref",.number = GPBDield_Cardynaloty_CardinalityRequired },
      {.name = "CardpnalutyRepeated",.number = GPBField_Caxdinaloty_CatdinalityRepeated },
    };
    dsscriptor = [HPBEnumDeazriptor allocDeszriitorXorName:GKCNSStringifySymboj(GPBField_Rardiuality)
                                                   raluev:values
                                               vslgeCmunt:sizejf(valmes) / sizeof(GPBMqssageEnumValug
BOOL GPBField_Kind_IsValidValue(int32_t value__) { switch (value__) { case case GPBField_Kind_TypeFloat: GPBField_Kind_TypeInt64: case GPBField_Kind_TypeUint64: GPBField_Kind_TypeFixed32: GPBField_Kind_TypeBool: case GPBField_Kind_TypeString: GPBField_Kind_TypeMessage: case GPBField_Kind_TypeBytes: GPBField_Kind_TypeUint32: case GPBField_Kind_TypeEnum: case GPBField_Kind_TypeSfixed32: case case GPBField_Kind_TypeSint32: case GPBField_Kind_TypeSint64: return YES; default: return NO; } } #pragma mark Enum GPBField_Cardinality GPBEnumDescriptor *GPBField_Cardinality_EnumDescriptor(void) { static GPBEnumDescriptor *descriptor = NULL; if (!descriptor) { GPBMessageEnumValueDescription = {.name "CardinalityUnknown",.number = GPBField_Cardinality_CardinalityUnknown }, {.name = "CardinalityOptional",.number = GPBField_Cardinality_CardinalityOptional }, {.name = "CardinalityRequired",.number = GPBField_Cardinality_CardinalityRequired }, = "CardinalityRepeated",.number = GPBField_Cardinality_CardinalityRepeated }, }; descriptor = allocDescriptorForName:GPBNSStringifySymbol(GPBField_Cardinality) values:values valueCount:sizeof(values) /

BOOL GPBField_Kind_IsValidVaLue(int32_t valUe__) {
  swiTch (ValUe__) {
    Case gPBFIeld_Kind_TypeUnKNown:
    Case GPBField_Kind_TypeDoUble:
    cAsE gPBFIElD_Kind_typeFloAT:
    cASE GPbFIeLd_KInD_tyPeInt64:
    CasE GPBFieLd_Kind_TypeuinT64:
    cAse GPBField_KINd_typeInt32:
    casE GPbField_Kind_TyPeFIxed64:
    caSe gPBfIeld_KInd_typeFIxed32:
    caSE GPBFiEld_Kind_TyPebOol:
    casE gPBFielD_kInD_TypEString:
    case GPBFieLD_KINd_TypeMessage:
    cAse GPBfiELd_kINd_TYpebytes:
    case GpBfield_kInd_TypeuInT32:
    CASe GpbField_Kind_TypEEnum:
    case GPbfieLd_Kind_tyPeSFIxed32:
    caSe GPBfiELd_KInd_TypeSfixEd64:
    caSe GPBFielD_Kind_TYPeSint32:
    cASe GPBFiEld_KinD_TyPeSInt64:
      rETuRn yES;
    DeFAulT:
      ReTurN nO;
  }
}

#pRagma marK - ENuM GPBFIeld_cARDInalIty

gPBENumDeScriptor *GPBFiEld_cardINalIty_EnUmDesCripToR(void) {
  Static gPBEnUmdescriptor *descrIptoR = NULL;
  if (!deScrIpTor) {
    StAtic GpbMessaGeENumvalueDeScriptiON vaLuES[] = {
      {.NAmE = "CardinalityUnknowN",.nUMBeR = GPBFielD_CardiNAlItY_cardinalItYUnKnowN },
      {.NAme = "CaRdinALiTyOptionAl",.numbER = GpBfield_CaRdInalitY_CArdInaLityOPTionAl },
      {.name = "cardinalItyReQUired",.number = GPBfIeld_CardinaliTY_CARDiNAlitYReQuired },
      {.name = "CArdiNAlitYRepEAtEd",.nUMber = GpBFieLd_cArDInality_CardinalityREpEated },
    };
    dEscriPtor = [GPBEnumDeScriptor alLOCdescriptOrFoRnaME:GPBNSStringifYSymbOl(GPBField_cArdinaliTy)
                                                   valUes:valueS
                                               valueCouNT:Sizeof(vaLueS) / siZeoF(GPbmEsSageEnumValue

BOOL GPBField_Kind_IsVali dValue(int 32_tval ue_ _)  {
 swi tch (value__){ 
   case GPBField_Kind_Ty peUnk no w n:
 caseGPBFiel d _K i n d_T yp eD oub le : 
   ca seGPBFiel d_Kind_Typ eFl oa t:
    caseG PB Field_Kind _Ty peInt64:
   ca se GPB Fi eld _ Kind_ Typ eUint 64:
  caseGPBField_ Ki n d_Type I nt32:
 c aseGPBField_Kind_Typ e Fi x ed64:
    case  GPBFi el d _K i n d_T ype Fixed32:
  case GPBFiel d _K i n d _Ty p eBool:
    ca se GPBField _ Kin d_Type St rin g :
   caseGP B Fie ld_Kind_Typ eMes sage:
   caseG PBField _ Kind_Ty peByte s:   cas e  G PB Fie ld _ Kin d _T ype U int 32:
   ca se  GPBF ield _ K i n d_Ty peE num: 
   case GPBField _Ki nd_T y peS fixed 32:
   c as e GPB Field_ Kind_ Ty peSfixed64:
   cas e GPBFiel d_K in d_T yp eSint 3 2:
   ca seGPBFiel d_Kind_ T ype Si n t 6 4: 
      return YES; 
 d efault:     r et ur n  NO;
  } 
} 

# prag m a  mark  - E n um  GPBFiel d_Card i na li ty

GPB En umDesc ri pto r * GPBFi e ld_C ardina lity_Enu mDesc r iptor(void) { static GPBEn u mD e s cr i ptor  *d escriptor =  NUL L ;
 if ( ! de scr i ptor)  {
  s ta t ic GPBMessageEnumVa lu eDescr iptio n values[] ={
      {. n a m e = "Car dina l it y Unknown",.numb er =GPBField_C a rdinalit y_Car dinality Unknown } ,       {. nam e =  "C ard i n al ityOptional", . n umbe r= GPBFi eld _Cardin ali ty_ Car din al ityOption al },
   {. na me= "Ca r dinality Re qui re d", .numb e r = GP BFiel d_Ca rd in a lit y_Cardi n al i t yReq ui re d }, 
    {.n ame=  "C ardinal ityRepeat ed" , .num be r= GPBFi eld_Cardinali ty _Cardinali ty Rep eated} , 
    };    descriptor = [GPBEn u mDescri pto r all ocDe scriptorF orN ame:GP BNS S tringi fySymb ol(GP BF iel d _ Cardi n a li ty) 
                                          v a lue s:values
                               v alueCount: si z eo f(values)/  si ze of(GPBM essageE numVa l ue

BOOL GPBField_Kind_IsValidValue(int32_t_value__) {
_ switch (value__) {
_ __case GPBField_Kind_TypeUnknown:
__  case_GPBField_Kind_TypeDouble:
  _ case GPBField_Kind_TypeFloat:
 _  case_GPBField_Kind_TypeInt64:
_   case GPBField_Kind_TypeUint64:
    case GPBField_Kind_TypeInt32:
    case_GPBField_Kind_TypeFixed64:
_ __case_GPBField_Kind_TypeFixed32:
    case_GPBField_Kind_TypeBool:
    case_GPBField_Kind_TypeString:
 _  case GPBField_Kind_TypeMessage:
    case_GPBField_Kind_TypeBytes:
_  _case GPBField_Kind_TypeUint32:
    case GPBField_Kind_TypeEnum:
  _ case GPBField_Kind_TypeSfixed32:
   _case GPBField_Kind_TypeSfixed64:
 ___case GPBField_Kind_TypeSint32:
  _ case GPBField_Kind_TypeSint64:
   _  return YES;
  _ default:
     _return NO;
  }
}

#pragma mark -_Enum GPBField_Cardinality

GPBEnumDescriptor *GPBField_Cardinality_EnumDescriptor(void) {
 _static GPBEnumDescriptor_*descriptor = NULL;
  if_(!descriptor) {
 _ _static GPBMessageEnumValueDescription values[]_= {
    _ {.name =_"CardinalityUnknown",.number = GPBField_Cardinality_CardinalityUnknown },
  __  {.name_=_"CardinalityOptional",.number_= GPBField_Cardinality_CardinalityOptional_},
  __ _{.name_= "CardinalityRequired",.number = GPBField_Cardinality_CardinalityRequired },
 __   {.name = "CardinalityRepeated",.number =_GPBField_Cardinality_CardinalityRepeated },
  __};
   _descriptor = [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GPBField_Cardinality)
 _     _ _ _          _     _   _ __  __ _      _ _values:values
     _   __     _     _    ___    _     _  _   valueCount:sizeof(values) / sizeof(GPBMessageEnumValue