فهرست منبع

Update objectivec/google/protobuf/Type.pbobjc.m

commit e841bac4fcf47f809e089a70d5f84ac37b3883df seems to have updated the
generated .pbobjc.h but not the .pbobjc.m to match.
Thomas Van Lenten 10 سال پیش
والد
کامیت
fcce7842fc
1فایلهای تغییر یافته به همراه13 افزوده شده و 0 حذف شده
  1. 13 0
      objectivec/google/protobuf/Type.pbobjc.m

+ 13 - 0
objectivec/google/protobuf/Type.pbobjc.m

@@ -208,6 +208,7 @@ void SetGPBType_Syntax_RawValue(GPBType *message, int32_t value) {
 @dynamic packed;
 @dynamic optionsArray, optionsArray_Count;
 @dynamic jsonName;
+@dynamic defaultValue;
 
 typedef struct GPBField__storage_ {
   uint32_t _has_storage_[1];
@@ -220,6 +221,7 @@ typedef struct GPBField__storage_ {
   NSString *typeURL;
   NSMutableArray *optionsArray;
   NSString *jsonName;
+  NSString *defaultValue;
 } GPBField__storage_;
 
 // This method is threadsafe because it is initially called
@@ -327,6 +329,17 @@ typedef struct GPBField__storage_ {
         .dataTypeSpecific.className = NULL,
         .fieldOptions = NULL,
       },
+      {
+        .name = "defaultValue",
+        .number = GPBField_FieldNumber_DefaultValue,
+        .hasIndex = 9,
+        .flags = GPBFieldOptional,
+        .dataType = GPBDataTypeString,
+        .offset = offsetof(GPBField__storage_, defaultValue),
+        .defaultValue.valueString = nil,
+        .dataTypeSpecific.className = NULL,
+        .fieldOptions = NULL,
+      },
     };
     static GPBMessageEnumDescription enums[] = {
       { .enumDescriptorFunc = GPBField_Kind_EnumDescriptor },