blob: d3d54cfac44b9cc7081415406a83f8065d4b9294 [file] [log] [blame] [edit]
// Generated by the protocol buffer compiler. DO NOT EDIT!
#import "Weave_operation.pb.h"
// @@protoc_insertion_point(imports)
@implementation WeaveOperationRoot
static PBExtensionRegistry* extensionRegistry = nil;
+ (PBExtensionRegistry*) extensionRegistry {
return extensionRegistry;
}
+ (void) initialize {
if (self == [WeaveOperationRoot class]) {
PBMutableExtensionRegistry* registry = [PBMutableExtensionRegistry registry];
[self registerAllExtensions:registry];
extensionRegistry = registry;
}
}
+ (void) registerAllExtensions:(PBMutableExtensionRegistry*) registry {
}
@end
BOOL WeaveOperationIsValidValue(WeaveOperation value) {
switch (value) {
case WeaveOperationNone:
case WeaveOperationConnect:
case WeaveOperationRendezvous:
case WeaveOperationReconnect:
case WeaveOperationIdentify:
case WeaveOperationScanNetworks:
case WeaveOperationGetNetworks:
case WeaveOperationAddNetwork:
case WeaveOperationUpdateNetwork:
case WeaveOperationRemoveNetwork:
case WeaveOperationEnableNetwork:
case WeaveOperationDisableNetwork:
case WeaveOperationTestNetwork:
case WeaveOperationGetRendezvousMode:
case WeaveOperationSetRendezvousMode:
case WeaveOperationGetLastNetworkProvisioningResult:
case WeaveOperationRegisterServicePairAccount:
case WeaveOperationUnregisterService:
case WeaveOperationCreateFabric:
case WeaveOperationLeaveFabric:
case WeaveOperationGetFabricConfig:
case WeaveOperationJoinExistingFabric:
case WeaveOperationArmFailsafe:
case WeaveOperationDisarmFailsafe:
case WeaveOperationResetConfig:
case WeaveOperationPing:
case WeaveOperationEnableConnectionMonitor:
case WeaveOperationDisableConnectionMonitor:
case WeaveOperationConnectBle:
case WeaveOperationHush:
case WeaveOperationStartSystemTest:
case WeaveOperationStopSystemTest:
return YES;
default:
return NO;
}
}
// @@protoc_insertion_point(global_scope)