// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/telemetry_control/v1/keyapis_telemetry_control_metric_point_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/telemetry_control/v1/KeyapisTelemetryControlMetricPointV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "keyapis/telemetry_control/v1/KeyapisTelemetryControlDeviceV1.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(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1Device_MetricPoint);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_Error);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointFilter);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointFilter_ValidationError);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointPaging);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_Error);
GPBObjCClassDeclaration(KEYAPISTELEMETRYCONTROLV1ValidationError);

#pragma mark - KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root

@implementation KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root

+ (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 KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription = {
  .package = "keyapis.telemetry_control.v1",
  .prefix = "KEYAPISTELEMETRYCONTROLV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType

GPBEnumDescriptor *KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "OrderByTypeUnknown\000Id\000MetricType\000StatusT"
        "ype\000RoomNumber\000RoomLabel\000BuildingId\000";
    static const int32_t values[] = {
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_OrderByTypeUnknown,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_Id,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_MetricType,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_StatusType,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RoomNumber,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RoomLabel,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_BuildingId,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_OrderByTypeUnknown:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_Id:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_MetricType:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_StatusType:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RoomNumber:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RoomLabel:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_BuildingId:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - Enum KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType

GPBEnumDescriptor *KEYAPISTELEMETRYCONTROLV1MetricPointPaging_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[] = {
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_DirectionTypeUnknown,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_Desc,
        KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_Asc,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_IsValidValue(int32_t value__) {
  switch (value__) {
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_DirectionTypeUnknown:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_Desc:
    case KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_Asc:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest

@dynamic id_p;

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest__storage_ {
  uint32_t _has_storage_[1];
  NSString *id_p;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest__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 = KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest)
                                   messageName:@"GetMetricPointRequest"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointRequest__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 - KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1Device_MetricPoint *data_p;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse__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(KEYAPISTELEMETRYCONTROLV1Device_MetricPoint),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse)
                                   messageName:@"GetMetricPointResponse"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse__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 KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse_ClearTypeOneOfCase(KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1GetMetricPointResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest

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

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1MetricPointFilter *filter;
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging *paging;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest__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(KEYAPISTELEMETRYCONTROLV1MetricPointFilter),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "paging",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest_FieldNumber_Paging,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest__storage_, paging),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest)
                                   messageName:@"GetMetricPointListRequest"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest__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 KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest_ClearPaginationOneOfCase(KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1GetMetricPointListRequest descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISTELEMETRYCONTROLV1MetricPointPaging

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointPaging

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

typedef struct KEYAPISTELEMETRYCONTROLV1MetricPointPaging__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType orderByType;
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType directionType;
  int32_t limit;
  int32_t offset;
} KEYAPISTELEMETRYCONTROLV1MetricPointPaging__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 = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_EnumDescriptor,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_OrderByType,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging__storage_, orderByType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "directionType",
        .dataTypeSpecific.enumDescFunc = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_EnumDescriptor,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_DirectionType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging__storage_, directionType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "limit",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_Limit,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging__storage_, limit),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "offset",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_Offset,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging__storage_, offset),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging)
                                   messageName:@"MetricPointPaging"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging__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 KEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RawValue(KEYAPISTELEMETRYCONTROLV1MetricPointPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1MetricPointPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_OrderByType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISTELEMETRYCONTROLV1MetricPointPaging_OrderByType_RawValue(KEYAPISTELEMETRYCONTROLV1MetricPointPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1MetricPointPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_OrderByType];
  GPBSetMessageRawEnumField(message, field, value);
}

int32_t KEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_RawValue(KEYAPISTELEMETRYCONTROLV1MetricPointPaging *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1MetricPointPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_DirectionType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetKEYAPISTELEMETRYCONTROLV1MetricPointPaging_DirectionType_RawValue(KEYAPISTELEMETRYCONTROLV1MetricPointPaging *message, int32_t value) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1MetricPointPaging descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:KEYAPISTELEMETRYCONTROLV1MetricPointPaging_FieldNumber_DirectionType];
  GPBSetMessageRawEnumField(message, field, value);
}

#pragma mark - KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError

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

typedef struct KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid *limit;
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid *offset;
} KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError__storage_;

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

@end

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

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid


typedef struct KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid)
                                   messageName:@"LimitInvalid"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_LimitInvalid__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid


typedef struct KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid__storage_;

// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
  static GPBDescriptor *descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid)
                                   messageName:@"OffsetInvalid"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError_OffsetInvalid__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

#pragma mark - KEYAPISTELEMETRYCONTROLV1MetricPointFilter

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointFilter

@dynamic deviceMetricPointMetricTypesArray, deviceMetricPointMetricTypesArray_Count;
@dynamic deviceMetricPointStatusTypesArray, deviceMetricPointStatusTypesArray_Count;
@dynamic roomNumbersArray, roomNumbersArray_Count;
@dynamic roomLabelsArray, roomLabelsArray_Count;
@dynamic buildingIdsArray, buildingIdsArray_Count;
@dynamic fiasIdsArray, fiasIdsArray_Count;
@dynamic deviceIdsArray, deviceIdsArray_Count;
@dynamic deviceSerialNumbersArray, deviceSerialNumbersArray_Count;
@dynamic orponsArray, orponsArray_Count;

typedef struct KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_ {
  uint32_t _has_storage_[1];
  GPBEnumArray *deviceMetricPointMetricTypesArray;
  GPBEnumArray *deviceMetricPointStatusTypesArray;
  NSMutableArray *roomNumbersArray;
  NSMutableArray *roomLabelsArray;
  GPBInt32Array *buildingIdsArray;
  NSMutableArray *fiasIdsArray;
  GPBInt32Array *deviceIdsArray;
  NSMutableArray *deviceSerialNumbersArray;
  GPBInt64Array *orponsArray;
} KEYAPISTELEMETRYCONTROLV1MetricPointFilter__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 = "deviceMetricPointMetricTypesArray",
        .dataTypeSpecific.enumDescFunc = KEYAPISTELEMETRYCONTROLV1Device_MetricPoint_MetricType_EnumDescriptor,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_DeviceMetricPointMetricTypesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, deviceMetricPointMetricTypesArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked | GPBFieldHasEnumDescriptor),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "deviceMetricPointStatusTypesArray",
        .dataTypeSpecific.enumDescFunc = KEYAPISTELEMETRYCONTROLV1Device_MetricPoint_StatusType_EnumDescriptor,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_DeviceMetricPointStatusTypesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, deviceMetricPointStatusTypesArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked | GPBFieldHasEnumDescriptor),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "roomNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_RoomNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, roomNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "roomLabelsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_RoomLabelsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, roomLabelsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "buildingIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_BuildingIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, buildingIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "fiasIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_FiasIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, fiasIdsArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "deviceIdsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_DeviceIdsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, deviceIdsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "deviceSerialNumbersArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_DeviceSerialNumbersArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, deviceSerialNumbersArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeString,
      },
      {
        .name = "orponsArray",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISTELEMETRYCONTROLV1MetricPointFilter_FieldNumber_OrponsArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__storage_, orponsArray),
        .flags = (GPBFieldFlags)(GPBFieldRepeated | GPBFieldPacked),
        .dataType = GPBDataTypeInt64,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointFilter)
                                   messageName:@"MetricPointFilter"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1MetricPointFilter__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 - KEYAPISTELEMETRYCONTROLV1MetricPointFilter_ValidationError

@implementation KEYAPISTELEMETRYCONTROLV1MetricPointFilter_ValidationError

@dynamic path;
@dynamic message;

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

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

@end

#pragma mark - KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse

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

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1Device_MetricPoint *data_p;
  KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error *error;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse__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(KEYAPISTELEMETRYCONTROLV1Device_MetricPoint),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse)
                                   messageName:@"GetMetricPointListResponse"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse__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 KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_ClearTypeOneOfCase(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error

@dynamic reasonOneOfCase;
@dynamic metricPointFilterValidation;
@dynamic metricPointPagingValidation;

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1MetricPointFilter_ValidationError *metricPointFilterValidation;
  KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError *metricPointPagingValidation;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_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 = "metricPointFilterValidation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointFilter_ValidationError),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error_FieldNumber_MetricPointFilterValidation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error__storage_, metricPointFilterValidation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "metricPointPagingValidation",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1MetricPointPaging_ValidationError),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error_FieldNumber_MetricPointPagingValidation,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error__storage_, metricPointPagingValidation),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_Error)
                                   messageName:@"Error"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse_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(KEYAPISTELEMETRYCONTROLV1GetMetricPointListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

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

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest

@dynamic hasFilter, filter;

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISTELEMETRYCONTROLV1MetricPointFilter *filter;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest__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(KEYAPISTELEMETRYCONTROLV1MetricPointFilter),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest_FieldNumber_Filter,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest__storage_, filter),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest)
                                   messageName:@"GetMetricPointCountRequest"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountRequest__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 - KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse

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

typedef struct KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse__storage_ {
  uint32_t _has_storage_[2];
  int32_t data_p;
  KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_Error *error;
} KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse__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 = KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_Error),
        .number = KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse)
                                   messageName:@"GetMetricPointCountResponse"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse__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 KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_ClearTypeOneOfCase(KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_Error

@implementation KEYAPISTELEMETRYCONTROLV1GetMetricPointCountResponse_Error

@dynamic reasonOneOfCase;
@dynamic metricPointFilterValidation;

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

@end

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

@implementation KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest

@dynamic hasData_p, data_p;

typedef struct KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest__storage_ {
  uint32_t _has_storage_[1];
  KEYAPISTELEMETRYCONTROLV1Device_MetricPoint *data_p;
} KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest__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(KEYAPISTELEMETRYCONTROLV1Device_MetricPoint),
        .number = KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest_FieldNumber_Data_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest)
                                   messageName:@"PostMetricPointRequest"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1PostMetricPointRequest__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 - KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse

@implementation KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse

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

typedef struct KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse__storage_ {
  uint32_t _has_storage_[2];
  KEYAPISTELEMETRYCONTROLV1Device_MetricPoint *data_p;
  KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_Error *error;
} KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse__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(KEYAPISTELEMETRYCONTROLV1Device_MetricPoint),
        .number = KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_Error),
        .number = KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse)
                                   messageName:@"PostMetricPointResponse"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse__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 KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_ClearTypeOneOfCase(KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse *message) {
  GPBDescriptor *descriptor = [KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_Error

@implementation KEYAPISTELEMETRYCONTROLV1PostMetricPointResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

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

@end

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

@implementation KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest

@dynamic id_p;

typedef struct KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest__storage_ {
  uint32_t _has_storage_[1];
  NSString *id_p;
} KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest__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 = KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest_FieldNumber_Id_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest__storage_, id_p),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest)
                                   messageName:@"DeleteMetricPointRequest"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointRequest__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 - KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse

@implementation KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse


typedef struct KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse__storage_ {
  uint32_t _has_storage_[1];
} KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse__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(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse)
                                   messageName:@"DeleteMetricPointResponse"
                               fileDescription:&KEYAPISTELEMETRYCONTROLV1KeyapisTelemetryControlMetricPointV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(KEYAPISTELEMETRYCONTROLV1DeleteMetricPointResponse__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 - KEYAPISTELEMETRYCONTROLV1ValidationError

@implementation KEYAPISTELEMETRYCONTROLV1ValidationError

@dynamic path;
@dynamic message;

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

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

@end


#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
