ソースを参照

Update descriptor protos

Jisi Liu 8 年 前
コミット
ecf2957106

+ 2 - 1
csharp/src/Google.Protobuf/Reflection/Descriptor.cs

@@ -3478,7 +3478,8 @@ namespace Google.Protobuf.Reflection {
         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
     /// <summary>
-    /// The parser stores options it doesn't recognize here. See above.
+    /// The parser stores options it doesn't recognize here.
+    /// See the documentation for the "Options" section above.
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {

+ 6 - 0
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs

@@ -239,6 +239,12 @@ namespace Google.Protobuf.WellKnownTypes {
   ///
   /// Note that oneof type names ("test_oneof" in this case) cannot be used in
   /// paths.
+  ///
+  /// ## Field Mask Verification
+  ///
+  /// The implementation of the all the API methods, which have any FieldMask type
+  /// field in the request, should verify the included field paths, and return
+  /// `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
   /// </summary>
   public sealed partial class FieldMask : pb::IMessage<FieldMask> {
     private static readonly pb::MessageParser<FieldMask> _parser = new pb::MessageParser<FieldMask>(() => new FieldMask());

+ 6 - 0
objectivec/google/protobuf/FieldMask.pbobjc.h

@@ -252,6 +252,12 @@ typedef GPB_ENUM(GPBFieldMask_FieldNumber) {
  *
  * Note that oneof type names ("test_oneof" in this case) cannot be used in
  * paths.
+ *
+ * ## Field Mask Verification
+ *
+ * The implementation of the all the API methods, which have any FieldMask type
+ * field in the request, should verify the included field paths, and return
+ * `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
  **/
 @interface GPBFieldMask : GPBMessage
 

+ 6 - 3
php/src/Google/Protobuf/Internal/FileOptions.php

@@ -174,7 +174,8 @@ class FileOptions extends \Google\Protobuf\Internal\Message
     private $php_namespace = '';
     private $has_php_namespace = false;
     /**
-     * The parser stores options it doesn't recognize here. See above.
+     * The parser stores options it doesn't recognize here.
+     * See the documentation for the "Options" section above.
      *
      * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
      */
@@ -827,7 +828,8 @@ class FileOptions extends \Google\Protobuf\Internal\Message
     }
 
     /**
-     * The parser stores options it doesn't recognize here. See above.
+     * The parser stores options it doesn't recognize here.
+     * See the documentation for the "Options" section above.
      *
      * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
      * @return \Google\Protobuf\Internal\RepeatedField
@@ -838,7 +840,8 @@ class FileOptions extends \Google\Protobuf\Internal\Message
     }
 
     /**
-     * The parser stores options it doesn't recognize here. See above.
+     * The parser stores options it doesn't recognize here.
+     * See the documentation for the "Options" section above.
      *
      * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
      * @param \Google\Protobuf\Internal\UninterpretedOption[]|\Google\Protobuf\Internal\RepeatedField $var