diff options
author | Bo Yang <teboring@google.com> | 2016-12-19 16:00:01 -0800 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-12-19 16:00:01 -0800 |
commit | 199d82fde1734ab5bc931cd0de93309e50cd7ab9 (patch) | |
tree | 4911a4d324f0fcd0f4a0b9f528e6d84b99351fab /objectivec/google | |
parent | 607b92149948393311d66329b9851f5971662f19 (diff) | |
download | protobuf-199d82fde1734ab5bc931cd0de93309e50cd7ab9.tar.gz protobuf-199d82fde1734ab5bc931cd0de93309e50cd7ab9.tar.bz2 protobuf-199d82fde1734ab5bc931cd0de93309e50cd7ab9.zip |
Down-integrate internal changes to github.
Diffstat (limited to 'objectivec/google')
-rw-r--r-- | objectivec/google/protobuf/Type.pbobjc.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/objectivec/google/protobuf/Type.pbobjc.h b/objectivec/google/protobuf/Type.pbobjc.h index 06e75480..17986970 100644 --- a/objectivec/google/protobuf/Type.pbobjc.h +++ b/objectivec/google/protobuf/Type.pbobjc.h @@ -411,10 +411,20 @@ typedef GPB_ENUM(GPBOption_FieldNumber) { **/ @interface GPBOption : GPBMessage -/** The option's name. For example, `"java_package"`. */ +/** + * The option's name. For protobuf built-in options (options defined in + * descriptor.proto), this is the short name. For example, `"map_entry"`. + * For custom options, it should be the fully-qualified name. For example, + * `"google.api.http"`. + **/ @property(nonatomic, readwrite, copy, null_resettable) NSString *name; -/** The option's value. For example, `"com.google.protobuf"`. */ +/** + * The option's value packed in an Any message. If the value is a primitive, + * the corresponding wrapper type defined in google/protobuf/wrappers.proto + * should be used. If the value is an enum, it should be stored as an int32 + * value using the google.protobuf.Int32Value type. + **/ @property(nonatomic, readwrite, strong, null_resettable) GPBAny *value; /** Test to see if @c value has been set. */ @property(nonatomic, readwrite) BOOL hasValue; |