// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/vc/v1/keyapis_vc_camera_video_data_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/vc/v1/KeyapisVcCameraVideoDataV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "keyapis/vc/v1/KeyapisVcCameraV1.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(KEYAPISVCV1CameraVideoData);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoDataFilter);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoDataPaging);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoDataScope);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoData_Category);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoData_Location);
GPBObjCClassDeclaration(KEYAPISVCV1CameraVideoData_Status);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataCountRequest);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataCountResponse);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataCountResponse_Error);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataListRequest);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataListResponse);
GPBObjCClassDeclaration(KEYAPISVCV1GetCameraVideoDataListResponse_Error);
GPBObjCClassDeclaration(KEYAPISVCV1ValidationError);

#pragma mark - KEYAPISVCV1KeyapisVcCameraVideoDataV1Root

@implementation KEYAPISVCV1KeyapisVcCameraVideoDataV1Root

+ (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 KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription = {
  .package = "keyapis.vc.v1",
  .prefix = "KEYAPISVCV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISVCV1CameraVideoDataPaging_DirectionType

GPBEnumDescriptor *KEYAPISVCV1CameraVideoDataPaging_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[] = {
        KEYAPISVCV1CameraVideoDataPaging_DirectionType_DirectionTypeUnknown,
        KEYAPISVCV1CameraVideoDataPaging_DirectionType_Desc,
        KEYAPISVCV1CameraVideoDataPaging_DirectionType_Asc,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISVCV1CameraVideoDataPaging_DirectionType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISVCV1CameraVideoDataPaging_DirectionType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISVCV1CameraVideoDataPaging_DirectionType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISVCV1CameraVideoDataPaging_DirectionType_DirectionTypeUnknown:
    case KEYAPISVCV1CameraVideoDataPaging_DirectionType_Desc:
    case KEYAPISVCV1CameraVideoDataPaging_DirectionType_Asc:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISVCV1CameraVideoDataPaging_OrderByType

GPBEnumDescriptor *KEYAPISVCV1CameraVideoDataPaging_OrderByType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "OrderByTypeUnknown\000CreatedAt\000";
    static const int32_t values[] = {
        KEYAPISVCV1CameraVideoDataPaging_OrderByType_OrderByTypeUnknown,
        KEYAPISVCV1CameraVideoDataPaging_OrderByType_CreatedAt,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISVCV1CameraVideoDataPaging_OrderByType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISVCV1CameraVideoDataPaging_OrderByType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISVCV1CameraVideoDataPaging_OrderByType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISVCV1CameraVideoDataPaging_OrderByType_OrderByTypeUnknown:
    case KEYAPISVCV1CameraVideoDataPaging_OrderByType_CreatedAt:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISVCV1CameraVideoData

@implementation KEYAPISVCV1CameraVideoData

@dynamic uid;
@dynamic hasCategory, category;
@dynamic title;
@dynamic serialNumber;
@dynamic ip;
@dynamic streamerURL;
@dynamic mac;
@dynamic model;
@dynamic vendor;
@dynamic hasStatus, status;
@dynamic screenshotURLTemplate;
@dynamic screenshotPreciseURLTemplate;
@dynamic userToken;
@dynamic streamerToken;
@dynamic screenshotToken;
@dynamic archiveLength;
@dynamic hasLocation, location;
@dynamic hasCreatedAt, createdAt;
@dynamic hasUpdatedAt, updatedAt;
@dynamic utcOffset;

typedef struct KEYAPISVCV1CameraVideoData__storage_ {
  uint32_t _has_storage_[1];
  int32_t archiveLength;
  int32_t utcOffset;
  NSString *uid;
  KEYAPISVCV1CameraVideoData_Category *category;
  NSString *title;
  NSString *serialNumber;
  NSString *ip;
  NSString *streamerURL;
  NSString *mac;
  NSString *model;
  NSString *vendor;
  KEYAPISVCV1CameraVideoData_Status *status;
  NSString *screenshotURLTemplate;
  NSString *screenshotPreciseURLTemplate;
  NSString *userToken;
  NSString *streamerToken;
  NSString *screenshotToken;
  KEYAPISVCV1CameraVideoData_Location *location;
  GPBTimestamp *createdAt;
  GPBTimestamp *updatedAt;
} KEYAPISVCV1CameraVideoData__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 = "uid",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Uid,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, uid),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "category",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoData_Category),
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Category,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, category),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Title,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "serialNumber",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_SerialNumber,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, serialNumber),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "ip",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Ip,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, ip),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "streamerURL",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_StreamerURL,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, streamerURL),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldTextFormatNameCustom | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "mac",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Mac,
        .hasIndex = 6,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, mac),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "model",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Model,
        .hasIndex = 7,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, model),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "vendor",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Vendor,
        .hasIndex = 8,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, vendor),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "status",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoData_Status),
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Status,
        .hasIndex = 9,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, status),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "screenshotURLTemplate",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_ScreenshotURLTemplate,
        .hasIndex = 10,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, screenshotURLTemplate),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldTextFormatNameCustom | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "screenshotPreciseURLTemplate",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_ScreenshotPreciseURLTemplate,
        .hasIndex = 11,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, screenshotPreciseURLTemplate),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldTextFormatNameCustom | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "userToken",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_UserToken,
        .hasIndex = 12,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, userToken),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "streamerToken",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_StreamerToken,
        .hasIndex = 13,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, streamerToken),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "screenshotToken",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_ScreenshotToken,
        .hasIndex = 14,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, screenshotToken),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "archiveLength",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_ArchiveLength,
        .hasIndex = 15,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, archiveLength),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "location",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoData_Location),
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_Location,
        .hasIndex = 16,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, location),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "createdAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_CreatedAt,
        .hasIndex = 17,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, createdAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "updatedAt",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBTimestamp),
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_UpdatedAt,
        .hasIndex = 18,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, updatedAt),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "utcOffset",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_FieldNumber_UtcOffset,
        .hasIndex = 19,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData__storage_, utcOffset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoData)
                                   messageName:@"CameraVideoData"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoData__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
#if !GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS
    static const char *extraTextFormatInfo =
        "\003\006\010\241!!\000\013\n\241!!\250\000\014\n\247\241!!\250\000";
    [localDescriptor setupExtraTextInfo:extraTextFormatInfo];
#endif  // !GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1CameraVideoData_Category

@implementation KEYAPISVCV1CameraVideoData_Category

@dynamic id_p;
@dynamic type;
@dynamic title;

typedef struct KEYAPISVCV1CameraVideoData_Category__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  NSString *type;
  NSString *title;
} KEYAPISVCV1CameraVideoData_Category__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 = KEYAPISVCV1CameraVideoData_Category_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Category__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "type",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Category_FieldNumber_Type,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Category__storage_, type),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Category_FieldNumber_Title,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Category__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoData_Category)
                                   messageName:@"Category"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoData_Category__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1CameraVideoData)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1CameraVideoData_Location

@implementation KEYAPISVCV1CameraVideoData_Location

@dynamic lat;
@dynamic lng;

typedef struct KEYAPISVCV1CameraVideoData_Location__storage_ {
  uint32_t _has_storage_[1];
  double lat;
  double lng;
} KEYAPISVCV1CameraVideoData_Location__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 = "lat",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Location_FieldNumber_Lat,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Location__storage_, lat),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeDouble,
      },
      {
        .name = "lng",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Location_FieldNumber_Lng,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Location__storage_, lng),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeDouble,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoData_Location)
                                   messageName:@"Location"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoData_Location__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1CameraVideoData)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1CameraVideoData_Status

@implementation KEYAPISVCV1CameraVideoData_Status

@dynamic id_p;
@dynamic type;
@dynamic title;

typedef struct KEYAPISVCV1CameraVideoData_Status__storage_ {
  uint32_t _has_storage_[1];
  int32_t id_p;
  NSString *type;
  NSString *title;
} KEYAPISVCV1CameraVideoData_Status__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 = KEYAPISVCV1CameraVideoData_Status_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Status__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "type",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Status_FieldNumber_Type,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Status__storage_, type),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "title",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoData_Status_FieldNumber_Title,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoData_Status__storage_, title),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoData_Status)
                                   messageName:@"Status"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoData_Status__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISVCV1CameraVideoData)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISVCV1CameraVideoDataFilter

@implementation KEYAPISVCV1CameraVideoDataFilter

@dynamic uidsArray, uidsArray_Count;
@dynamic titleArray, titleArray_Count;
@dynamic macArray, macArray_Count;
@dynamic ipArray, ipArray_Count;
@dynamic serialNumberArray, serialNumberArray_Count;
@dynamic categoryArray, categoryArray_Count;

typedef struct KEYAPISVCV1CameraVideoDataFilter__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *uidsArray;
  NSMutableArray *titleArray;
  NSMutableArray *macArray;
  NSMutableArray *ipArray;
  NSMutableArray *serialNumberArray;
  NSMutableArray *categoryArray;
} KEYAPISVCV1CameraVideoDataFilter__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 = "uidsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_UidsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, uidsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "titleArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_TitleArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, titleArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "macArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_MacArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, macArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "ipArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_IpArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, ipArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "serialNumberArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_SerialNumberArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, serialNumberArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "categoryArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataFilter_FieldNumber_CategoryArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataFilter__storage_, categoryArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoDataFilter)
                                   messageName:@"CameraVideoDataFilter"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoDataFilter__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 - KEYAPISVCV1CameraVideoDataPaging

@implementation KEYAPISVCV1CameraVideoDataPaging

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

typedef struct KEYAPISVCV1CameraVideoDataPaging__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISVCV1CameraVideoDataPaging_OrderByType orderByType;
  KEYAPISVCV1CameraVideoDataPaging_DirectionType directionType;
  int32_t limit;
  int32_t offset;
} KEYAPISVCV1CameraVideoDataPaging__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 = KEYAPISVCV1CameraVideoDataPaging_OrderByType_EnumDescriptor,
        .number = KEYAPISVCV1CameraVideoDataPaging_FieldNumber_OrderByType,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataPaging__storage_, orderByType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "directionType",
        .dataTypeSpecific.enumDescFunc = KEYAPISVCV1CameraVideoDataPaging_DirectionType_EnumDescriptor,
        .number = KEYAPISVCV1CameraVideoDataPaging_FieldNumber_DirectionType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataPaging__storage_, directionType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "limit",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataPaging_FieldNumber_Limit,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataPaging__storage_, limit),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataPaging_FieldNumber_Offset,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataPaging__storage_, offset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoDataPaging)
                                   messageName:@"CameraVideoDataPaging"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoDataPaging__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 KEYAPISVCV1CameraVideoDataPaging_OrderByType_RawValue(KEYAPISVCV1CameraVideoDataPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CameraVideoDataPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CameraVideoDataPaging_FieldNumber_OrderByType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISVCV1CameraVideoDataPaging_OrderByType_RawValue(KEYAPISVCV1CameraVideoDataPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CameraVideoDataPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CameraVideoDataPaging_FieldNumber_OrderByType];
  GPBSetMessageRawEnumField(message, field, value);
}

int32_t KEYAPISVCV1CameraVideoDataPaging_DirectionType_RawValue(KEYAPISVCV1CameraVideoDataPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CameraVideoDataPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CameraVideoDataPaging_FieldNumber_DirectionType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISVCV1CameraVideoDataPaging_DirectionType_RawValue(KEYAPISVCV1CameraVideoDataPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CameraVideoDataPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISVCV1CameraVideoDataPaging_FieldNumber_DirectionType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISVCV1CameraVideoDataScope

@implementation KEYAPISVCV1CameraVideoDataScope

@dynamic scopeOneOfCase;
@dynamic companyId;
@dynamic userId;

typedef struct KEYAPISVCV1CameraVideoDataScope__storage_ {
  uint32_t _has_storage_[2];
  int32_t userId;
  int64_t companyId;
} KEYAPISVCV1CameraVideoDataScope__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 = "companyId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataScope_FieldNumber_CompanyId,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataScope__storage_, companyId),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt64,
      },
      {
        .name = "userId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISVCV1CameraVideoDataScope_FieldNumber_UserId,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1CameraVideoDataScope__storage_, userId),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1CameraVideoDataScope)
                                   messageName:@"CameraVideoDataScope"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1CameraVideoDataScope__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    static const char *oneofs[] = {
      "scope",
    };
    [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 KEYAPISVCV1CameraVideoDataScope_ClearScopeOneOfCase(KEYAPISVCV1CameraVideoDataScope *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1CameraVideoDataScope descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetCameraVideoDataCountRequest

@implementation KEYAPISVCV1GetCameraVideoDataCountRequest

@dynamic hasScope, scope;
@dynamic hasFilter, filter;

typedef struct KEYAPISVCV1GetCameraVideoDataCountRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISVCV1CameraVideoDataScope *scope;
  KEYAPISVCV1CameraVideoDataFilter *filter;
} KEYAPISVCV1GetCameraVideoDataCountRequest__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 = "scope",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoDataScope),
        .number = KEYAPISVCV1GetCameraVideoDataCountRequest_FieldNumber_Scope,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataCountRequest__storage_, scope),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "filter",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoDataFilter),
        .number = KEYAPISVCV1GetCameraVideoDataCountRequest_FieldNumber_Filter,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataCountRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetCameraVideoDataCountRequest)
                                   messageName:@"GetCameraVideoDataCountRequest"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetCameraVideoDataCountRequest__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 - KEYAPISVCV1GetCameraVideoDataCountResponse

@implementation KEYAPISVCV1GetCameraVideoDataCountResponse

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

typedef struct KEYAPISVCV1GetCameraVideoDataCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  KEYAPISVCV1GetCameraVideoDataCountResponse_Error *error;
} KEYAPISVCV1GetCameraVideoDataCountResponse__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 = KEYAPISVCV1GetCameraVideoDataCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1GetCameraVideoDataCountResponse_Error),
        .number = KEYAPISVCV1GetCameraVideoDataCountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataCountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetCameraVideoDataCountResponse)
                                   messageName:@"GetCameraVideoDataCountResponse"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetCameraVideoDataCountResponse__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 KEYAPISVCV1GetCameraVideoDataCountResponse_ClearTypeOneOfCase(KEYAPISVCV1GetCameraVideoDataCountResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1GetCameraVideoDataCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetCameraVideoDataCountResponse_Error

@implementation KEYAPISVCV1GetCameraVideoDataCountResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

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

@end

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

@implementation KEYAPISVCV1GetCameraVideoDataListRequest

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

typedef struct KEYAPISVCV1GetCameraVideoDataListRequest__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISVCV1CameraVideoDataScope *scope;
  KEYAPISVCV1CameraVideoDataFilter *filter;
  KEYAPISVCV1CameraVideoDataPaging *paging;
} KEYAPISVCV1GetCameraVideoDataListRequest__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 = "scope",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoDataScope),
        .number = KEYAPISVCV1GetCameraVideoDataListRequest_FieldNumber_Scope,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataListRequest__storage_, scope),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "filter",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoDataFilter),
        .number = KEYAPISVCV1GetCameraVideoDataListRequest_FieldNumber_Filter,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoDataPaging),
        .number = KEYAPISVCV1GetCameraVideoDataListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetCameraVideoDataListRequest)
                                   messageName:@"GetCameraVideoDataListRequest"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetCameraVideoDataListRequest__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 KEYAPISVCV1GetCameraVideoDataListRequest_ClearPaginationOneOfCase(KEYAPISVCV1GetCameraVideoDataListRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISVCV1GetCameraVideoDataListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISVCV1GetCameraVideoDataListResponse

@implementation KEYAPISVCV1GetCameraVideoDataListResponse

@dynamic dataArray, dataArray_Count;
@dynamic hasError, error;

typedef struct KEYAPISVCV1GetCameraVideoDataListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
  KEYAPISVCV1GetCameraVideoDataListResponse_Error *error;
} KEYAPISVCV1GetCameraVideoDataListResponse__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 = "dataArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1CameraVideoData),
        .number = KEYAPISVCV1GetCameraVideoDataListResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataListResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISVCV1GetCameraVideoDataListResponse_Error),
        .number = KEYAPISVCV1GetCameraVideoDataListResponse_FieldNumber_Error,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISVCV1GetCameraVideoDataListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISVCV1GetCameraVideoDataListResponse)
                                   messageName:@"GetCameraVideoDataListResponse"
                               fileDescription:&KEYAPISVCV1KeyapisVcCameraVideoDataV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISVCV1GetCameraVideoDataListResponse__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 - KEYAPISVCV1GetCameraVideoDataListResponse_Error

@implementation KEYAPISVCV1GetCameraVideoDataListResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

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

@end

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

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
