aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/google
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2015-05-18 12:48:21 -0400
committerGravatar Thomas Van Lenten <thomasvl@google.com>2015-05-18 12:57:33 -0400
commitffa2e377f3fc884f2c59ac0b942ad55b4037f76b (patch)
tree562ffef8eb638988b3a75060359ab5d1729a3a10 /objectivec/google
parent17ca0fee20029c571e1002938ef9bc2b5cf53266 (diff)
Post csharp landing fixup.
Re-add the objc prefix that got removed by accident. Regenerate the generated descriptors (C++ and ObjC).
Diffstat (limited to 'objectivec/google')
-rw-r--r--objectivec/google/protobuf/Descriptor.pbobjc.h5
-rw-r--r--objectivec/google/protobuf/Descriptor.pbobjc.m13
2 files changed, 18 insertions, 0 deletions
diff --git a/objectivec/google/protobuf/Descriptor.pbobjc.h b/objectivec/google/protobuf/Descriptor.pbobjc.h
index 7b11d899..e3dacf25 100644
--- a/objectivec/google/protobuf/Descriptor.pbobjc.h
+++ b/objectivec/google/protobuf/Descriptor.pbobjc.h
@@ -467,6 +467,7 @@ typedef GPB_ENUM(GPBFileOptions_FieldNumber) {
GPBFileOptions_FieldNumber_JavaStringCheckUtf8 = 27,
GPBFileOptions_FieldNumber_CcEnableArenas = 31,
GPBFileOptions_FieldNumber_ObjcClassPrefix = 36,
+ GPBFileOptions_FieldNumber_CsharpNamespace = 37,
GPBFileOptions_FieldNumber_UninterpretedOptionArray = 999,
};
@@ -565,6 +566,10 @@ typedef GPB_ENUM(GPBFileOptions_FieldNumber) {
@property(nonatomic, readwrite) BOOL hasObjcClassPrefix;
@property(nonatomic, readwrite, copy) NSString *objcClassPrefix;
+// Namespace for generated classes; defaults to the package.
+@property(nonatomic, readwrite) BOOL hasCsharpNamespace;
+@property(nonatomic, readwrite, copy) NSString *csharpNamespace;
+
// The parser stores options it doesn't recognize here. See above.
// |uninterpretedOptionArray| contains |GPBUninterpretedOption|
@property(nonatomic, readwrite, strong) NSMutableArray *uninterpretedOptionArray;
diff --git a/objectivec/google/protobuf/Descriptor.pbobjc.m b/objectivec/google/protobuf/Descriptor.pbobjc.m
index b7d2e64f..25e4cc73 100644
--- a/objectivec/google/protobuf/Descriptor.pbobjc.m
+++ b/objectivec/google/protobuf/Descriptor.pbobjc.m
@@ -1105,6 +1105,7 @@ typedef struct GPBMethodDescriptorProto_Storage {
@dynamic hasDeprecated, deprecated;
@dynamic hasCcEnableArenas, ccEnableArenas;
@dynamic hasObjcClassPrefix, objcClassPrefix;
+@dynamic hasCsharpNamespace, csharpNamespace;
@dynamic uninterpretedOptionArray;
typedef struct GPBFileOptions_Storage {
@@ -1122,6 +1123,7 @@ typedef struct GPBFileOptions_Storage {
NSString *javaOuterClassname;
NSString *goPackage;
NSString *objcClassPrefix;
+ NSString *csharpNamespace;
NSMutableArray *uninterpretedOptionArray;
} GPBFileOptions_Storage;
@@ -1275,6 +1277,17 @@ typedef struct GPBFileOptions_Storage {
.fieldOptions = NULL,
},
{
+ .name = "csharpNamespace",
+ .number = GPBFileOptions_FieldNumber_CsharpNamespace,
+ .hasIndex = 13,
+ .flags = GPBFieldOptional,
+ .type = GPBTypeString,
+ .offset = offsetof(GPBFileOptions_Storage, csharpNamespace),
+ .defaultValue.valueString = nil,
+ .typeSpecific.className = NULL,
+ .fieldOptions = NULL,
+ },
+ {
.name = "uninterpretedOptionArray",
.number = GPBFileOptions_FieldNumber_UninterpretedOptionArray,
.hasIndex = GPBNoHasBit,