aboutsummaryrefslogtreecommitdiff
path: root/objectivec/google/protobuf/FieldMask.pbobjc.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-04-19 13:13:04 -0400
committerThomas Van Lenten <thomasvl@google.com>2016-04-19 13:13:04 -0400
commite664aa6d91724c056e9573eee347bcf21d9e9490 (patch)
tree1d3a45516a4551e089f3d2d11ee585a6ddf240a2 /objectivec/google/protobuf/FieldMask.pbobjc.h
parent3633bcd5e4a2c4b38271c453cec6a8f5c365b949 (diff)
downloadprotobuf-e664aa6d91724c056e9573eee347bcf21d9e9490.tar.gz
protobuf-e664aa6d91724c056e9573eee347bcf21d9e9490.tar.bz2
protobuf-e664aa6d91724c056e9573eee347bcf21d9e9490.zip
Regenerate the WKT to pick up current changes to the proto files.
Diffstat (limited to 'objectivec/google/protobuf/FieldMask.pbobjc.h')
-rw-r--r--objectivec/google/protobuf/FieldMask.pbobjc.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/objectivec/google/protobuf/FieldMask.pbobjc.h b/objectivec/google/protobuf/FieldMask.pbobjc.h
index 931f664c..47a239ba 100644
--- a/objectivec/google/protobuf/FieldMask.pbobjc.h
+++ b/objectivec/google/protobuf/FieldMask.pbobjc.h
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
@@ -154,6 +157,33 @@ typedef GPB_ENUM(GPBFieldMask_FieldNumber) {
/// {
/// mask: "user.displayName,photo"
/// }
+///
+/// # Field Masks and Oneof Fields
+///
+/// Field masks treat fields in oneofs just as regular fields. Consider the
+/// following message:
+///
+/// message SampleMessage {
+/// oneof test_oneof {
+/// string name = 4;
+/// SubMessage sub_message = 9;
+/// }
+/// }
+///
+/// The field mask can be:
+///
+/// mask {
+/// paths: "name"
+/// }
+///
+/// Or:
+///
+/// mask {
+/// paths: "sub_message"
+/// }
+///
+/// Note that oneof type names ("test_oneof" in this case) cannot be used in
+/// paths.
@interface GPBFieldMask : GPBMessage
/// The set of field mask paths.
@@ -167,4 +197,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
+#pragma clang diagnostic pop
+
// @@protoc_insertion_point(global_scope)