// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: deviceapis/device/v1/deviceapis_device_sip_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 "deviceapis/device/v1/DeviceapisDeviceSipV1.pbobjc.h"
#import "google/api/Annotations.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
#import "deviceapis/device/v1/DeviceapisDeviceCommonV1.pbobjc.h"
#import "protoc-gen-openapiv2/options/Annotations.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(DEVICEAPISDEVICEV1EditSipAccountRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1EditSipAccountResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1EditSipAccountResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_Error);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipAccountListRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipAccountListResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipAccountStatusListRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SipAccount);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1SipTimeoutSettings);
GPBObjCClassDeclaration(DEVICEAPISDEVICEV1ValidationError);
GPBObjCClassDeclaration(GPBFieldMask);
GPBObjCClassDeclaration(GPBStringValue);

#pragma mark - DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root

@implementation DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root

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

@end

static GPBFileDescription DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription = {
  .package = "deviceapis.device.v1",
  .prefix = "DEVICEAPISDEVICEV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - Enum DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType

GPBEnumDescriptor *DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_EnumDescriptor(void) {
  static _Atomic(GPBEnumDescriptor*) descriptor = nil;
  if (!descriptor) {
    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
    static const char *valueNames =
        "StateTypeUnknown\000Registering\000Registered\000"
        "Unregistered\000RegistrationFailed\000Timeout\000"
        "Disabled\000";
    static const int32_t values[] = {
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_StateTypeUnknown,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Registering,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Registered,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Unregistered,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_RegistrationFailed,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Timeout,
        DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Disabled,
    };
    GPBEnumDescriptor *worker =
        [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType)
                                       valueNames:valueNames
                                           values:values
                                            count:(uint32_t)(sizeof(values) / sizeof(int32_t))
                                     enumVerifier:DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_IsValidValue
                                            flags:GPBEnumDescriptorInitializationFlag_None];
    GPBEnumDescriptor *expected = nil;
    if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
      [worker release];
    }
  }
  return descriptor;
}

BOOL DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_IsValidValue(int32_t value__) {
  switch (value__) {
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_StateTypeUnknown:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Registering:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Registered:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Unregistered:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_RegistrationFailed:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Timeout:
    case DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_Disabled:
      return YES;
    default:
      return NO;
  }
}

#pragma mark - DEVICEAPISDEVICEV1GetSipAccountListRequest

@implementation DEVICEAPISDEVICEV1GetSipAccountListRequest


typedef struct DEVICEAPISDEVICEV1GetSipAccountListRequest__storage_ {
  uint32_t _has_storage_[1];
} DEVICEAPISDEVICEV1GetSipAccountListRequest__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(DEVICEAPISDEVICEV1GetSipAccountListRequest)
                                   messageName:@"GetSipAccountListRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipAccountListRequest__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 - DEVICEAPISDEVICEV1GetSipAccountListResponse

@implementation DEVICEAPISDEVICEV1GetSipAccountListResponse

@dynamic dataArray, dataArray_Count;

typedef struct DEVICEAPISDEVICEV1GetSipAccountListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
} DEVICEAPISDEVICEV1GetSipAccountListResponse__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(DEVICEAPISDEVICEV1SipAccount),
        .number = DEVICEAPISDEVICEV1GetSipAccountListResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipAccountListResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetSipAccountListResponse)
                                   messageName:@"GetSipAccountListResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipAccountListResponse__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 - DEVICEAPISDEVICEV1EditSipAccountRequest

@implementation DEVICEAPISDEVICEV1EditSipAccountRequest

@dynamic hasData_p, data_p;
@dynamic hasUpdateMask, updateMask;

typedef struct DEVICEAPISDEVICEV1EditSipAccountRequest__storage_ {
  uint32_t _has_storage_[1];
  DEVICEAPISDEVICEV1SipAccount *data_p;
  GPBFieldMask *updateMask;
} DEVICEAPISDEVICEV1EditSipAccountRequest__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(DEVICEAPISDEVICEV1SipAccount),
        .number = DEVICEAPISDEVICEV1EditSipAccountRequest_FieldNumber_Data_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipAccountRequest__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "updateMask",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBFieldMask),
        .number = DEVICEAPISDEVICEV1EditSipAccountRequest_FieldNumber_UpdateMask,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipAccountRequest__storage_, updateMask),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1EditSipAccountRequest)
                                   messageName:@"EditSipAccountRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1EditSipAccountRequest__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 - DEVICEAPISDEVICEV1SipAccount

@implementation DEVICEAPISDEVICEV1SipAccount

@dynamic accountId;
@dynamic hasName, name;
@dynamic hasNumber, number;
@dynamic hasUser, user;
@dynamic hasPassword, password;
@dynamic hasRegServerAddress, regServerAddress;
@dynamic hasSipServerAddress, sipServerAddress;
@dynamic hasSipProxyAddress, sipProxyAddress;

typedef struct DEVICEAPISDEVICEV1SipAccount__storage_ {
  uint32_t _has_storage_[1];
  NSString *accountId;
  GPBStringValue *name;
  GPBStringValue *number;
  GPBStringValue *user;
  GPBStringValue *password;
  GPBStringValue *regServerAddress;
  GPBStringValue *sipServerAddress;
  GPBStringValue *sipProxyAddress;
} DEVICEAPISDEVICEV1SipAccount__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 = "accountId",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_AccountId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, accountId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "name",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_Name,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, name),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "number",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_Number,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, number),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "user",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_User,
        .hasIndex = 3,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, user),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "password",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_Password,
        .hasIndex = 4,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, password),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "regServerAddress",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_RegServerAddress,
        .hasIndex = 5,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, regServerAddress),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "sipServerAddress",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_SipServerAddress,
        .hasIndex = 6,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, sipServerAddress),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "sipProxyAddress",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBStringValue),
        .number = DEVICEAPISDEVICEV1SipAccount_FieldNumber_SipProxyAddress,
        .hasIndex = 7,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipAccount__storage_, sipProxyAddress),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SipAccount)
                                   messageName:@"SipAccount"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SipAccount__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 - DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest

@implementation DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest

@dynamic hasData_p, data_p;
@dynamic hasUpdateMask, updateMask;

typedef struct DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest__storage_ {
  uint32_t _has_storage_[1];
  DEVICEAPISDEVICEV1SipTimeoutSettings *data_p;
  GPBFieldMask *updateMask;
} DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest__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(DEVICEAPISDEVICEV1SipTimeoutSettings),
        .number = DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest_FieldNumber_Data_p,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
      {
        .name = "updateMask",
        .dataTypeSpecific.clazz = GPBObjCClass(GPBFieldMask),
        .number = DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest_FieldNumber_UpdateMask,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest__storage_, updateMask),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest)
                                   messageName:@"EditSipTimeoutSettingsRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1EditSipTimeoutSettingsRequest__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 - DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest

@implementation DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest


typedef struct DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest__storage_ {
  uint32_t _has_storage_[1];
} DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest__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(DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest)
                                   messageName:@"GetSipTimeoutSettingsRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipTimeoutSettingsRequest__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 - DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse

@implementation DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse

@dynamic typeOneOfCase;
@dynamic data_p;

typedef struct DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1SipTimeoutSettings *data_p;
} DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse__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(DEVICEAPISDEVICEV1SipTimeoutSettings),
        .number = DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse_FieldNumber_Data_p,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse__storage_, data_p),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse)
                                   messageName:@"GetSipTimeoutSettingsResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse__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 DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetSipTimeoutSettingsResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1EditSipAccountResponse

@implementation DEVICEAPISDEVICEV1EditSipAccountResponse

@dynamic typeOneOfCase;
@dynamic error;

typedef struct DEVICEAPISDEVICEV1EditSipAccountResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1EditSipAccountResponse_Error *error;
} DEVICEAPISDEVICEV1EditSipAccountResponse__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 = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1EditSipAccountResponse_Error),
        .number = DEVICEAPISDEVICEV1EditSipAccountResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipAccountResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1EditSipAccountResponse)
                                   messageName:@"EditSipAccountResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1EditSipAccountResponse__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 DEVICEAPISDEVICEV1EditSipAccountResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1EditSipAccountResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1EditSipAccountResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1EditSipAccountResponse_Error

@implementation DEVICEAPISDEVICEV1EditSipAccountResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

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

@end

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

@implementation DEVICEAPISDEVICEV1SipTimeoutSettings

@dynamic callTimeout;
@dynamic talkTimeout;

typedef struct DEVICEAPISDEVICEV1SipTimeoutSettings__storage_ {
  uint32_t _has_storage_[1];
  int32_t callTimeout;
  int32_t talkTimeout;
} DEVICEAPISDEVICEV1SipTimeoutSettings__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 = "callTimeout",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1SipTimeoutSettings_FieldNumber_CallTimeout,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipTimeoutSettings__storage_, callTimeout),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
      {
        .name = "talkTimeout",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1SipTimeoutSettings_FieldNumber_TalkTimeout,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1SipTimeoutSettings__storage_, talkTimeout),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1SipTimeoutSettings)
                                   messageName:@"SipTimeoutSettings"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1SipTimeoutSettings__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 - DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse

@implementation DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse

@dynamic typeOneOfCase;
@dynamic error;

typedef struct DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse__storage_ {
  uint32_t _has_storage_[2];
  DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_Error *error;
} DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse__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 = "error",
        .dataTypeSpecific.clazz = GPBObjCClass(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_Error),
        .number = DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_FieldNumber_Error,
        .hasIndex = -1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse__storage_, error),
        .flags = GPBFieldOptional,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse)
                                   messageName:@"EditSipTimeoutSettingsResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse__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 DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse descriptor];
  GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
  GPBClearOneof(message, oneof);
}
#pragma mark - DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_Error

@implementation DEVICEAPISDEVICEV1EditSipTimeoutSettingsResponse_Error

@dynamic reasonOneOfCase;
@dynamic validation;

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

@end

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

@implementation DEVICEAPISDEVICEV1GetSipAccountStatusListRequest


typedef struct DEVICEAPISDEVICEV1GetSipAccountStatusListRequest__storage_ {
  uint32_t _has_storage_[1];
} DEVICEAPISDEVICEV1GetSipAccountStatusListRequest__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(DEVICEAPISDEVICEV1GetSipAccountStatusListRequest)
                                   messageName:@"GetSipAccountStatusListRequest"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:NULL
                                    fieldCount:0
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipAccountStatusListRequest__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 - DEVICEAPISDEVICEV1GetSipAccountStatusListResponse

@implementation DEVICEAPISDEVICEV1GetSipAccountStatusListResponse

@dynamic dataArray, dataArray_Count;

typedef struct DEVICEAPISDEVICEV1GetSipAccountStatusListResponse__storage_ {
  uint32_t _has_storage_[1];
  NSMutableArray *dataArray;
} DEVICEAPISDEVICEV1GetSipAccountStatusListResponse__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(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus),
        .number = DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_FieldNumber_DataArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse__storage_, dataArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse)
                                   messageName:@"GetSipAccountStatusListResponse"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse__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 - DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus

@implementation DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus

@dynamic sipAccountId;
@dynamic stateType;
@dynamic lastAttemptRegisterAt;

typedef struct DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__storage_ {
  uint32_t _has_storage_[1];
  DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType stateType;
  int32_t lastAttemptRegisterAt;
  NSString *sipAccountId;
} DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__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 = "sipAccountId",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_FieldNumber_SipAccountId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__storage_, sipAccountId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "stateType",
        .dataTypeSpecific.enumDescFunc = DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_EnumDescriptor,
        .number = DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_FieldNumber_StateType,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__storage_, stateType),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeEnum,
      },
      {
        .name = "lastAttemptRegisterAt",
        .dataTypeSpecific.clazz = Nil,
        .number = DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_FieldNumber_LastAttemptRegisterAt,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__storage_, lastAttemptRegisterAt),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeInt32,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus)
                                   messageName:@"SipStatus"
                               fileDescription:&DEVICEAPISDEVICEV1DeviceapisDeviceSipV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse)];
    #if defined(DEBUG) && DEBUG
      NSAssert(descriptor == nil, @"Startup recursed!");
    #endif  // DEBUG
    descriptor = localDescriptor;
  }
  return descriptor;
}

@end

int32_t DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_RawValue(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus *message) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_FieldNumber_StateType];
  return GPBGetMessageRawEnumField(message, field);
}

void SetDEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_StateType_RawValue(DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus *message, int32_t value) {
  GPBDescriptor *descriptor = [DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus descriptor];
  GPBFieldDescriptor *field = [descriptor fieldWithNumber:DEVICEAPISDEVICEV1GetSipAccountStatusListResponse_SipStatus_FieldNumber_StateType];
  GPBSetMessageRawEnumField(message, field, value);
}


#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
