// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/exchange/v1/keyapis_exchange_events_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 "keyapis/exchange/v1/KeyapisExchangeEventsV1.pbobjc.h"
#import "google/api/FieldBehavior.pbobjc.h"
// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#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(KEYAPISEXCHANGEYV1SendingSmsTask);
GPBObjCClassDeclaration(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable);

#pragma mark - KEYAPISEXCHANGEYV1KeyapisExchangeEventsV1Root

@implementation KEYAPISEXCHANGEYV1KeyapisExchangeEventsV1Root

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

@end

static GPBFileDescription KEYAPISEXCHANGEYV1KeyapisExchangeEventsV1Root_FileDescription = {
  .package = "keyapis.exchange.v1",
  .prefix = "KEYAPISEXCHANGEYV1",
  .syntax = GPBFileSyntaxProto3
};

#pragma mark - KEYAPISEXCHANGEYV1SendingSmsTask

@implementation KEYAPISEXCHANGEYV1SendingSmsTask

@dynamic requestId;
@dynamic templateKind;
@dynamic destination;
@dynamic templateVariablesArray, templateVariablesArray_Count;

typedef struct KEYAPISEXCHANGEYV1SendingSmsTask__storage_ {
  uint32_t _has_storage_[1];
  NSString *requestId;
  NSString *templateKind;
  NSString *destination;
  NSMutableArray *templateVariablesArray;
} KEYAPISEXCHANGEYV1SendingSmsTask__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 = "requestId",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_FieldNumber_RequestId,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask__storage_, requestId),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "templateKind",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_FieldNumber_TemplateKind,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask__storage_, templateKind),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "destination",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_FieldNumber_Destination,
        .hasIndex = 2,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask__storage_, destination),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "templateVariablesArray",
        .dataTypeSpecific.clazz = GPBObjCClass(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable),
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_FieldNumber_TemplateVariablesArray,
        .hasIndex = GPBNoHasBit,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask__storage_, templateVariablesArray),
        .flags = GPBFieldRepeated,
        .dataType = GPBDataTypeMessage,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISEXCHANGEYV1SendingSmsTask)
                                   messageName:@"SendingSmsTask"
                               fileDescription:&KEYAPISEXCHANGEYV1KeyapisExchangeEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISEXCHANGEYV1SendingSmsTask__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 - KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable

@implementation KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable

@dynamic name;
@dynamic value;

typedef struct KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable__storage_ {
  uint32_t _has_storage_[1];
  NSString *name;
  NSString *value;
} KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable__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 = "name",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable_FieldNumber_Name,
        .hasIndex = 0,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable__storage_, name),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
      {
        .name = "value",
        .dataTypeSpecific.clazz = Nil,
        .number = KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable_FieldNumber_Value,
        .hasIndex = 1,
        .offset = (uint32_t)offsetof(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable__storage_, value),
        .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
        .dataType = GPBDataTypeString,
      },
    };
    GPBDescriptor *localDescriptor =
        [GPBDescriptor allocDescriptorForClass:GPBObjCClass(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable)
                                   messageName:@"TemplateVariable"
                               fileDescription:&KEYAPISEXCHANGEYV1KeyapisExchangeEventsV1Root_FileDescription
                                        fields:fields
                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
                                   storageSize:sizeof(KEYAPISEXCHANGEYV1SendingSmsTask_TemplateVariable__storage_)
                                         flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
    [localDescriptor setupContainingMessageClass:GPBObjCClass(KEYAPISEXCHANGEYV1SendingSmsTask)];
    #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
