// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/device/v1/keyapis_device_sip_phone_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/device/v1/KeyapisDeviceSipPhoneV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "google/protobuf/Descriptor.pbobjc.h"
#import "keyapis/device/v1/KeyapisDeviceDeviceV1.pbobjc.h"
#import "google/api/Visibility.pbobjc.h"
// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic ignored "-Wdirect-ivar-access"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"

#pragma mark - Objective-C Class declarations
// Forward declarations of Objective-C classes that we can use as
// static values in struct initializers.
// We don't use [Foo class] because it is not a static value.
GPBObjCClassDeclaration(GPBTimestamp);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneCountRequest);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneCountResponse);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneCountResponse_Error);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneListRequest);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneListResponse);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneListResponse_Error);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneRequest);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneResponse);
GPBObjCClassDeclaration(KEYAPISDEVICEV1GetSipPhoneResponse_Error);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetCountRequest);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetCountResponse);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetListRequest);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetListResponse);
GPBObjCClassDeclaration(KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error);
GPBObjCClassDeclaration(KEYAPISDEVICEV1SipPhone);
GPBObjCClassDeclaration(KEYAPISDEVICEV1SipPhoneFilter);
GPBObjCClassDeclaration(KEYAPISDEVICEV1SipPhonePaging);
GPBObjCClassDeclaration(KEYAPISDEVICEV1SipPhone_SavingError);
GPBObjCClassDeclaration(KEYAPISDEVICEV1SipPhone_SavingError_Conflict);
GPBObjCClassDeclaration(KEYAPISDEVICEV1ValidationError);

#pragma mark - KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root

@implementation KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root

+ (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]];
    [registry addExtensions:[GAPIVisibilityRoot extensionRegistry]];
  }
  return registry;
}

@end

static GPBFileDescription KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription = {
  .package = "keyapis.device.v1",
  .prefix = "KEYAPISDEVICEV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISDEVICEV1SipPhone_StatusType

GPBEnumDescriptor *KEYAPISDEVICEV1SipPhone_StatusType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "StatusTypeUnknown\000Active\000Blocked\000";
    static const int32_t values[] = {
        KEYAPISDEVICEV1SipPhone_StatusType_StatusTypeUnknown,
        KEYAPISDEVICEV1SipPhone_StatusType_Active,
        KEYAPISDEVICEV1SipPhone_StatusType_Blocked,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISDEVICEV1SipPhone_StatusType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISDEVICEV1SipPhone_StatusType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISDEVICEV1SipPhone_StatusType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISDEVICEV1SipPhone_StatusType_StatusTypeUnknown:
    case KEYAPISDEVICEV1SipPhone_StatusType_Active:
    case KEYAPISDEVICEV1SipPhone_StatusType_Blocked:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISDEVICEV1SipPhonePaging_OrderByType

GPBEnumDescriptor *KEYAPISDEVICEV1SipPhonePaging_OrderByType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "OrderByTypeUnknown\000Id\000Status\000ChangedAt\000C"
        "reatedAt\000";
    static const int32_t values[] = {
        KEYAPISDEVICEV1SipPhonePaging_OrderByType_OrderByTypeUnknown,
        KEYAPISDEVICEV1SipPhonePaging_OrderByType_Id,
        KEYAPISDEVICEV1SipPhonePaging_OrderByType_Status,
        KEYAPISDEVICEV1SipPhonePaging_OrderByType_ChangedAt,
        KEYAPISDEVICEV1SipPhonePaging_OrderByType_CreatedAt,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISDEVICEV1SipPhonePaging_OrderByType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISDEVICEV1SipPhonePaging_OrderByType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISDEVICEV1SipPhonePaging_OrderByType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISDEVICEV1SipPhonePaging_OrderByType_OrderByTypeUnknown:
    case KEYAPISDEVICEV1SipPhonePaging_OrderByType_Id:
    case KEYAPISDEVICEV1SipPhonePaging_OrderByType_Status:
    case KEYAPISDEVICEV1SipPhonePaging_OrderByType_ChangedAt:
    case KEYAPISDEVICEV1SipPhonePaging_OrderByType_CreatedAt:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISDEVICEV1SipPhonePaging_DirectionType

GPBEnumDescriptor *KEYAPISDEVICEV1SipPhonePaging_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[] = {
        KEYAPISDEVICEV1SipPhonePaging_DirectionType_DirectionTypeUnknown,
        KEYAPISDEVICEV1SipPhonePaging_DirectionType_Desc,
        KEYAPISDEVICEV1SipPhonePaging_DirectionType_Asc,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISDEVICEV1SipPhonePaging_DirectionType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISDEVICEV1SipPhonePaging_DirectionType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISDEVICEV1SipPhonePaging_DirectionType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISDEVICEV1SipPhonePaging_DirectionType_DirectionTypeUnknown:
    case KEYAPISDEVICEV1SipPhonePaging_DirectionType_Desc:
    case KEYAPISDEVICEV1SipPhonePaging_DirectionType_Asc:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISDEVICEV1SipPhone

@implementation KEYAPISDEVICEV1SipPhone

@dynamic id_p;
@dynamic roomId;
@dynamic sipNumber;
@dynamic statusType;
@dynamic hasCreatedAt, createdAt;
@dynamic hasChangedAt, changedAt;

typedef struct KEYAPISDEVICEV1SipPhone__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  int32_t roomId;
  KEYAPISDEVICEV1SipPhone_StatusType statusType;
  NSString *sipNumber;
  GPBTimestamp *createdAt;
  GPBTimestamp *changedAt;
} KEYAPISDEVICEV1SipPhone__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 = KEYAPISDEVICEV1SipPhone_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "roomId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhone_FieldNumber_RoomId,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, roomId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "sipNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhone_FieldNumber_SipNumber,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, sipNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "statusType",
        .dataTypeSpecific.enumDescFunc = KEYAPISDEVICEV1SipPhone_StatusType_EnumDescriptor,
        .number = KEYAPISDEVICEV1SipPhone_FieldNumber_StatusType,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, statusType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "createdAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISDEVICEV1SipPhone_FieldNumber_CreatedAt,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, createdAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "changedAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISDEVICEV1SipPhone_FieldNumber_ChangedAt,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone__storage_, changedAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1SipPhone)
                                   messageName:@"SipPhone"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1SipPhone__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 KEYAPISDEVICEV1SipPhone_StatusType_RawValue(KEYAPISDEVICEV1SipPhone *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhone descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhone_FieldNumber_StatusType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISDEVICEV1SipPhone_StatusType_RawValue(KEYAPISDEVICEV1SipPhone *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhone descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhone_FieldNumber_StatusType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISDEVICEV1SipPhone_SavingError

@implementation KEYAPISDEVICEV1SipPhone_SavingError

@dynamic reasonOneOfCase;
@dynamic conflict;

typedef struct KEYAPISDEVICEV1SipPhone_SavingError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1SipPhone_SavingError_Conflict *conflict;
} KEYAPISDEVICEV1SipPhone_SavingError__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static GPBMessageFieldDescription fields[] = {
      {
        .name = "conflict",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1SipPhone_SavingError_Conflict),
        .number = KEYAPISDEVICEV1SipPhone_SavingError_FieldNumber_Conflict,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhone_SavingError__storage_, conflict),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1SipPhone_SavingError)
                                   messageName:@"SavingError"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1SipPhone_SavingError__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "reason",
    };
    [localDescriptor setupOneofs:oneofs
                           count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
                   firstHasIndex:-1];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISDEVICEV1SipPhone)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISDEVICEV1SipPhone_SavingError_Conflict


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

@end

#pragma mark - KEYAPISDEVICEV1SipPhoneFilter

@implementation KEYAPISDEVICEV1SipPhoneFilter

@dynamic sipNumbersArray, sipNumbersArray_Count;
@dynamic roomIdsArray, roomIdsArray_Count;

typedef struct KEYAPISDEVICEV1SipPhoneFilter__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *sipNumbersArray;
  GPBInt32Array *roomIdsArray;
} KEYAPISDEVICEV1SipPhoneFilter__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 = "sipNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhoneFilter_FieldNumber_SipNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhoneFilter__storage_, sipNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhoneFilter_FieldNumber_RoomIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhoneFilter__storage_, roomIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1SipPhoneFilter)
                                   messageName:@"SipPhoneFilter"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1SipPhoneFilter__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 - KEYAPISDEVICEV1SipPhonePaging

@implementation KEYAPISDEVICEV1SipPhonePaging

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

typedef struct KEYAPISDEVICEV1SipPhonePaging__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISDEVICEV1SipPhonePaging_OrderByType orderByType;
  KEYAPISDEVICEV1SipPhonePaging_DirectionType directionType;
  int32_t limit;
  int32_t offset;
} KEYAPISDEVICEV1SipPhonePaging__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 = KEYAPISDEVICEV1SipPhonePaging_OrderByType_EnumDescriptor,
        .number = KEYAPISDEVICEV1SipPhonePaging_FieldNumber_OrderByType,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhonePaging__storage_, orderByType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "directionType",
        .dataTypeSpecific.enumDescFunc = KEYAPISDEVICEV1SipPhonePaging_DirectionType_EnumDescriptor,
        .number = KEYAPISDEVICEV1SipPhonePaging_FieldNumber_DirectionType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhonePaging__storage_, directionType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "limit",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhonePaging_FieldNumber_Limit,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhonePaging__storage_, limit),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISDEVICEV1SipPhonePaging_FieldNumber_Offset,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1SipPhonePaging__storage_, offset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1SipPhonePaging)
                                   messageName:@"SipPhonePaging"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1SipPhonePaging__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 KEYAPISDEVICEV1SipPhonePaging_OrderByType_RawValue(KEYAPISDEVICEV1SipPhonePaging *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhonePaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhonePaging_FieldNumber_OrderByType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISDEVICEV1SipPhonePaging_OrderByType_RawValue(KEYAPISDEVICEV1SipPhonePaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhonePaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhonePaging_FieldNumber_OrderByType];
  GPBSetMessageRawEnumField(message, field, value);
}

int32_t KEYAPISDEVICEV1SipPhonePaging_DirectionType_RawValue(KEYAPISDEVICEV1SipPhonePaging *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhonePaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhonePaging_FieldNumber_DirectionType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISDEVICEV1SipPhonePaging_DirectionType_RawValue(KEYAPISDEVICEV1SipPhonePaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1SipPhonePaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISDEVICEV1SipPhonePaging_FieldNumber_DirectionType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISDEVICEV1GetSipPhoneRequest

@implementation KEYAPISDEVICEV1GetSipPhoneRequest

@dynamic id_p;

typedef struct KEYAPISDEVICEV1GetSipPhoneRequest__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
} KEYAPISDEVICEV1GetSipPhoneRequest__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 = KEYAPISDEVICEV1GetSipPhoneRequest_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneRequest__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneRequest)
                                   messageName:@"GetSipPhoneRequest"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneRequest__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 - KEYAPISDEVICEV1GetSipPhoneResponse

@implementation KEYAPISDEVICEV1GetSipPhoneResponse

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

typedef struct KEYAPISDEVICEV1GetSipPhoneResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1SipPhone *data_p;
  KEYAPISDEVICEV1GetSipPhoneResponse_Error *error;
} KEYAPISDEVICEV1GetSipPhoneResponse__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(KEYAPISDEVICEV1SipPhone),
        .number = KEYAPISDEVICEV1GetSipPhoneResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneResponse_Error),
        .number = KEYAPISDEVICEV1GetSipPhoneResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneResponse)
                                   messageName:@"GetSipPhoneResponse"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneResponse__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 KEYAPISDEVICEV1GetSipPhoneResponse_ClearTypeOneOfCase(KEYAPISDEVICEV1GetSipPhoneResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1GetSipPhoneResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1GetSipPhoneResponse_Error

@implementation KEYAPISDEVICEV1GetSipPhoneResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct KEYAPISDEVICEV1GetSipPhoneResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1ValidationError *validation;
} KEYAPISDEVICEV1GetSipPhoneResponse_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(KEYAPISDEVICEV1ValidationError),
        .number = KEYAPISDEVICEV1GetSipPhoneResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneResponse_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(KEYAPISDEVICEV1GetSipPhoneResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISDEVICEV1GetSipPhoneListRequest

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

typedef struct KEYAPISDEVICEV1GetSipPhoneListRequest__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1SipPhoneFilter *filter;
  KEYAPISDEVICEV1SipPhonePaging *paging;
} KEYAPISDEVICEV1GetSipPhoneListRequest__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(KEYAPISDEVICEV1SipPhoneFilter),
        .number = KEYAPISDEVICEV1GetSipPhoneListRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1SipPhonePaging),
        .number = KEYAPISDEVICEV1GetSipPhoneListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneListRequest)
                                   messageName:@"GetSipPhoneListRequest"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneListRequest__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 KEYAPISDEVICEV1GetSipPhoneListRequest_ClearPaginationOneOfCase(KEYAPISDEVICEV1GetSipPhoneListRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1GetSipPhoneListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1GetSipPhoneListResponse

@implementation KEYAPISDEVICEV1GetSipPhoneListResponse

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

typedef struct KEYAPISDEVICEV1GetSipPhoneListResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1SipPhone *data_p;
  KEYAPISDEVICEV1GetSipPhoneListResponse_Error *error;
} KEYAPISDEVICEV1GetSipPhoneListResponse__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(KEYAPISDEVICEV1SipPhone),
        .number = KEYAPISDEVICEV1GetSipPhoneListResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneListResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneListResponse_Error),
        .number = KEYAPISDEVICEV1GetSipPhoneListResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneListResponse)
                                   messageName:@"GetSipPhoneListResponse"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneListResponse__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 KEYAPISDEVICEV1GetSipPhoneListResponse_ClearTypeOneOfCase(KEYAPISDEVICEV1GetSipPhoneListResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1GetSipPhoneListResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1GetSipPhoneListResponse_Error

@implementation KEYAPISDEVICEV1GetSipPhoneListResponse_Error

@dynamic hasValidationError, validationError;

typedef struct KEYAPISDEVICEV1GetSipPhoneListResponse_Error__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISDEVICEV1ValidationError *validationError;
} KEYAPISDEVICEV1GetSipPhoneListResponse_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 = "validationError",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1ValidationError),
        .number = KEYAPISDEVICEV1GetSipPhoneListResponse_Error_FieldNumber_ValidationError,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneListResponse_Error__storage_, validationError),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneListResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISDEVICEV1GetSipPhoneCountRequest

@implementation KEYAPISDEVICEV1GetSipPhoneCountRequest

@dynamic hasFilter, filter;

typedef struct KEYAPISDEVICEV1GetSipPhoneCountRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISDEVICEV1SipPhoneFilter *filter;
} KEYAPISDEVICEV1GetSipPhoneCountRequest__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(KEYAPISDEVICEV1SipPhoneFilter),
        .number = KEYAPISDEVICEV1GetSipPhoneCountRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneCountRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneCountRequest)
                                   messageName:@"GetSipPhoneCountRequest"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneCountRequest__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 - KEYAPISDEVICEV1GetSipPhoneCountResponse

@implementation KEYAPISDEVICEV1GetSipPhoneCountResponse

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

typedef struct KEYAPISDEVICEV1GetSipPhoneCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  KEYAPISDEVICEV1GetSipPhoneCountResponse_Error *error;
} KEYAPISDEVICEV1GetSipPhoneCountResponse__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 = KEYAPISDEVICEV1GetSipPhoneCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneCountResponse_Error),
        .number = KEYAPISDEVICEV1GetSipPhoneCountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1GetSipPhoneCountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneCountResponse)
                                   messageName:@"GetSipPhoneCountResponse"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneCountResponse__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 KEYAPISDEVICEV1GetSipPhoneCountResponse_ClearTypeOneOfCase(KEYAPISDEVICEV1GetSipPhoneCountResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1GetSipPhoneCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1GetSipPhoneCountResponse_Error

@implementation KEYAPISDEVICEV1GetSipPhoneCountResponse_Error


typedef struct KEYAPISDEVICEV1GetSipPhoneCountResponse_Error__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISDEVICEV1GetSipPhoneCountResponse_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();
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneCountResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISDEVICEV1GetSipPhoneCountResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISDEVICEV1GetSipPhoneCountResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISDEVICEV1PostSipPhoneGetListRequest

@implementation KEYAPISDEVICEV1PostSipPhoneGetListRequest

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

typedef struct KEYAPISDEVICEV1PostSipPhoneGetListRequest__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1SipPhoneFilter *filter;
  KEYAPISDEVICEV1SipPhonePaging *paging;
} KEYAPISDEVICEV1PostSipPhoneGetListRequest__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(KEYAPISDEVICEV1SipPhoneFilter),
        .number = KEYAPISDEVICEV1PostSipPhoneGetListRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1SipPhonePaging),
        .number = KEYAPISDEVICEV1PostSipPhoneGetListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetListRequest)
                                   messageName:@"PostSipPhoneGetListRequest"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetListRequest__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 KEYAPISDEVICEV1PostSipPhoneGetListRequest_ClearPaginationOneOfCase(KEYAPISDEVICEV1PostSipPhoneGetListRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1PostSipPhoneGetListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1PostSipPhoneGetListResponse

@implementation KEYAPISDEVICEV1PostSipPhoneGetListResponse

@dynamic itemsArray, itemsArray_Count;
@dynamic hasError, error;

typedef struct KEYAPISDEVICEV1PostSipPhoneGetListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *itemsArray;
  KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error *error;
} KEYAPISDEVICEV1PostSipPhoneGetListResponse__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 = "itemsArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1SipPhone),
        .number = KEYAPISDEVICEV1PostSipPhoneGetListResponse_FieldNumber_ItemsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetListResponse__storage_, itemsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error),
        .number = KEYAPISDEVICEV1PostSipPhoneGetListResponse_FieldNumber_Error,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetListResponse)
                                   messageName:@"PostSipPhoneGetListResponse"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetListResponse__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 - KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error

@implementation KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

typedef struct KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISDEVICEV1ValidationError *validation;
} KEYAPISDEVICEV1PostSipPhoneGetListResponse_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(KEYAPISDEVICEV1ValidationError),
        .number = KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error_FieldNumber_Validation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error__storage_, validation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetListResponse_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(KEYAPISDEVICEV1PostSipPhoneGetListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISDEVICEV1PostSipPhoneGetCountRequest

@dynamic hasFilter, filter;

typedef struct KEYAPISDEVICEV1PostSipPhoneGetCountRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISDEVICEV1SipPhoneFilter *filter;
} KEYAPISDEVICEV1PostSipPhoneGetCountRequest__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(KEYAPISDEVICEV1SipPhoneFilter),
        .number = KEYAPISDEVICEV1PostSipPhoneGetCountRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetCountRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetCountRequest)
                                   messageName:@"PostSipPhoneGetCountRequest"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetCountRequest__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 - KEYAPISDEVICEV1PostSipPhoneGetCountResponse

@implementation KEYAPISDEVICEV1PostSipPhoneGetCountResponse

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

typedef struct KEYAPISDEVICEV1PostSipPhoneGetCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error *error;
} KEYAPISDEVICEV1PostSipPhoneGetCountResponse__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 = KEYAPISDEVICEV1PostSipPhoneGetCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error),
        .number = KEYAPISDEVICEV1PostSipPhoneGetCountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISDEVICEV1PostSipPhoneGetCountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetCountResponse)
                                   messageName:@"PostSipPhoneGetCountResponse"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetCountResponse__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 KEYAPISDEVICEV1PostSipPhoneGetCountResponse_ClearTypeOneOfCase(KEYAPISDEVICEV1PostSipPhoneGetCountResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISDEVICEV1PostSipPhoneGetCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error

@implementation KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error


typedef struct KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISDEVICEV1PostSipPhoneGetCountResponse_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();
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISDEVICEV1KeyapisDeviceSipPhoneV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISDEVICEV1PostSipPhoneGetCountResponse_Error__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISDEVICEV1PostSipPhoneGetCountResponse)];
    #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
