• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Generated by the protocol buffer compiler.  DO NOT EDIT!
2// source: google/protobuf/field_mask.proto
3
4// This CPP symbol can be defined to use imports that match up to the framework
5// imports needed when using CocoaPods.
6#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
7 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
8#endif
9
10#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
11 #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
12#else
13 #import "GPBProtocolBuffers_RuntimeSupport.h"
14#endif
15
16#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
17 #import <Protobuf/FieldMask.pbobjc.h>
18#else
19 #import "google/protobuf/FieldMask.pbobjc.h"
20#endif
21// @@protoc_insertion_point(imports)
22
23#pragma clang diagnostic push
24#pragma clang diagnostic ignored "-Wdeprecated-declarations"
25
26#pragma mark - GPBFieldMaskRoot
27
28@implementation GPBFieldMaskRoot
29
30// No extensions in the file and no imports, so no need to generate
31// +extensionRegistry.
32
33@end
34
35#pragma mark - GPBFieldMaskRoot_FileDescriptor
36
37static GPBFileDescriptor *GPBFieldMaskRoot_FileDescriptor(void) {
38  // This is called by +initialize so there is no need to worry
39  // about thread safety of the singleton.
40  static GPBFileDescriptor *descriptor = NULL;
41  if (!descriptor) {
42    GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
43    descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
44                                                 objcPrefix:@"GPB"
45                                                     syntax:GPBFileSyntaxProto3];
46  }
47  return descriptor;
48}
49
50#pragma mark - GPBFieldMask
51
52@implementation GPBFieldMask
53
54@dynamic pathsArray, pathsArray_Count;
55
56typedef struct GPBFieldMask__storage_ {
57  uint32_t _has_storage_[1];
58  NSMutableArray *pathsArray;
59} GPBFieldMask__storage_;
60
61// This method is threadsafe because it is initially called
62// in +initialize for each subclass.
63+ (GPBDescriptor *)descriptor {
64  static GPBDescriptor *descriptor = nil;
65  if (!descriptor) {
66    static GPBMessageFieldDescription fields[] = {
67      {
68        .name = "pathsArray",
69        .dataTypeSpecific.className = NULL,
70        .number = GPBFieldMask_FieldNumber_PathsArray,
71        .hasIndex = GPBNoHasBit,
72        .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray),
73        .flags = GPBFieldRepeated,
74        .dataType = GPBDataTypeString,
75      },
76    };
77    GPBDescriptor *localDescriptor =
78        [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class]
79                                     rootClass:[GPBFieldMaskRoot class]
80                                          file:GPBFieldMaskRoot_FileDescriptor()
81                                        fields:fields
82                                    fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
83                                   storageSize:sizeof(GPBFieldMask__storage_)
84                                         flags:GPBDescriptorInitializationFlag_None];
85    #if defined(DEBUG) && DEBUG
86      NSAssert(descriptor == nil, @"Startup recursed!");
87    #endif  // DEBUG
88    descriptor = localDescriptor;
89  }
90  return descriptor;
91}
92
93@end
94
95
96#pragma clang diagnostic pop
97
98// @@protoc_insertion_point(global_scope)
99