// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/ecosystem/v1/keyapis_ecosystem_lego_adapter_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/ecosystem/v1/KeyapisEcosystemLegoAdapterV1.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(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest);
GPBObjCClassDeclaration(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse);
GPBObjCClassDeclaration(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error);
GPBObjCClassDeclaration(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error_EcosystemApiError);
GPBObjCClassDeclaration(KEYAPISECOSYSTEMV1Service);
GPBObjCClassDeclaration(KEYAPISECOSYSTEMV1ValidationError);

#pragma mark - KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root

@implementation KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root

+ (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 KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root_FileDescription = {
  .package = "keyapis.ecosystem.v1",
  .prefix = "KEYAPISECOSYSTEMV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISECOSYSTEMV1Service_Type

GPBEnumDescriptor *KEYAPISECOSYSTEMV1Service_Type_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "TypeUnknown\000SotovayaSvyazMvno\000Iptv\000Shpd\000"
        "KabelnoeTv\000FiksirovannayaSvyaz\000Rosteleco"
        "mLyceum\000SmartHouse\000Jurist\000Wink\000SaleEquip"
        "ment\000SmartIntercom\000SmartBarrier\000Warranty"
        "Plus\000AnalogCableTv\000OttPerson\000Wifi\000";
    static const int32_t values[] = {
        KEYAPISECOSYSTEMV1Service_Type_TypeUnknown,
        KEYAPISECOSYSTEMV1Service_Type_SotovayaSvyazMvno,
        KEYAPISECOSYSTEMV1Service_Type_Iptv,
        KEYAPISECOSYSTEMV1Service_Type_Shpd,
        KEYAPISECOSYSTEMV1Service_Type_KabelnoeTv,
        KEYAPISECOSYSTEMV1Service_Type_FiksirovannayaSvyaz,
        KEYAPISECOSYSTEMV1Service_Type_RostelecomLyceum,
        KEYAPISECOSYSTEMV1Service_Type_SmartHouse,
        KEYAPISECOSYSTEMV1Service_Type_Jurist,
        KEYAPISECOSYSTEMV1Service_Type_Wink,
        KEYAPISECOSYSTEMV1Service_Type_SaleEquipment,
        KEYAPISECOSYSTEMV1Service_Type_SmartIntercom,
        KEYAPISECOSYSTEMV1Service_Type_SmartBarrier,
        KEYAPISECOSYSTEMV1Service_Type_WarrantyPlus,
        KEYAPISECOSYSTEMV1Service_Type_AnalogCableTv,
        KEYAPISECOSYSTEMV1Service_Type_OttPerson,
        KEYAPISECOSYSTEMV1Service_Type_Wifi,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISECOSYSTEMV1Service_Type)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISECOSYSTEMV1Service_Type_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISECOSYSTEMV1Service_Type_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISECOSYSTEMV1Service_Type_TypeUnknown:
    case KEYAPISECOSYSTEMV1Service_Type_SotovayaSvyazMvno:
    case KEYAPISECOSYSTEMV1Service_Type_Iptv:
    case KEYAPISECOSYSTEMV1Service_Type_Shpd:
    case KEYAPISECOSYSTEMV1Service_Type_KabelnoeTv:
    case KEYAPISECOSYSTEMV1Service_Type_FiksirovannayaSvyaz:
    case KEYAPISECOSYSTEMV1Service_Type_RostelecomLyceum:
    case KEYAPISECOSYSTEMV1Service_Type_SmartHouse:
    case KEYAPISECOSYSTEMV1Service_Type_Jurist:
    case KEYAPISECOSYSTEMV1Service_Type_Wink:
    case KEYAPISECOSYSTEMV1Service_Type_SaleEquipment:
    case KEYAPISECOSYSTEMV1Service_Type_SmartIntercom:
    case KEYAPISECOSYSTEMV1Service_Type_SmartBarrier:
    case KEYAPISECOSYSTEMV1Service_Type_WarrantyPlus:
    case KEYAPISECOSYSTEMV1Service_Type_AnalogCableTv:
    case KEYAPISECOSYSTEMV1Service_Type_OttPerson:
    case KEYAPISECOSYSTEMV1Service_Type_Wifi:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISECOSYSTEMV1Service

@implementation KEYAPISECOSYSTEMV1Service


typedef struct KEYAPISECOSYSTEMV1Service__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISECOSYSTEMV1Service__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(KEYAPISECOSYSTEMV1Service)
                                   messageName:@"Service"
                               fileDescription:&KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISECOSYSTEMV1Service__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 - KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest

@implementation KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest

@dynamic orpon;
@dynamic roomNumber;
@dynamic serviceType;

typedef struct KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISECOSYSTEMV1Service_Type serviceType;
  NSString *roomNumber;
  int64_t orpon;
} KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__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 = "orpon",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_FieldNumber_Orpon,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__storage_, orpon),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "roomNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_FieldNumber_RoomNumber,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__storage_, roomNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "serviceType",
        .dataTypeSpecific.enumDescFunc = KEYAPISECOSYSTEMV1Service_Type_EnumDescriptor,
        .number = KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_FieldNumber_ServiceType,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__storage_, serviceType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest)
                                   messageName:@"GetLegoAdapterServiceCheckRequest"
                               fileDescription:&KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest__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 KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_ServiceType_RawValue(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_FieldNumber_ServiceType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_ServiceType_RawValue(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckRequest_FieldNumber_ServiceType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse

@implementation KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse

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

typedef struct KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error *error;
} KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse__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 = KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = 0,  // Stored in _has_storage_ to save space.
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeBool,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error),
        .number = KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse)
                                   messageName:@"GetLegoAdapterServiceCheckResponse"
                               fileDescription:&KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse__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 KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_ClearTypeOneOfCase(KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error

@implementation KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;
@dynamic ecosystemApiError;

typedef struct KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISECOSYSTEMV1ValidationError *validation;
  KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error_EcosystemApiError *ecosystemApiError;
} KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error__storage_;

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

@end

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

@implementation KEYAPISECOSYSTEMV1GetLegoAdapterServiceCheckResponse_Error_EcosystemApiError


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

@end

#pragma mark - KEYAPISECOSYSTEMV1ValidationError

@implementation KEYAPISECOSYSTEMV1ValidationError

@dynamic path;
@dynamic message;

typedef struct KEYAPISECOSYSTEMV1ValidationError__storage_ {
  uint32_t _has_storage_[1];
  NSString *path;
  NSString *message;
} KEYAPISECOSYSTEMV1ValidationError__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "path",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISECOSYSTEMV1ValidationError_FieldNumber_Path,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1ValidationError__storage_, path),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "message",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISECOSYSTEMV1ValidationError_FieldNumber_Message,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISECOSYSTEMV1ValidationError__storage_, message),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISECOSYSTEMV1ValidationError)
                                   messageName:@"ValidationError"
                               fileDescription:&KEYAPISECOSYSTEMV1KeyapisEcosystemLegoAdapterV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISECOSYSTEMV1ValidationError__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end


#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
