grpc-tools 1.27.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/x86-linux/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86-linux/google/protobuf/descriptor.proto +25 -1
- data/bin/x86-linux/grpc_ruby_plugin +0 -0
- data/bin/x86-linux/protoc +0 -0
- data/bin/x86-macos/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86-macos/google/protobuf/descriptor.proto +25 -1
- data/bin/x86-macos/grpc_ruby_plugin +0 -0
- data/bin/x86-macos/protoc +0 -0
- data/bin/x86-windows/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86-windows/google/protobuf/descriptor.proto +25 -1
- data/bin/x86-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86-windows/protoc.exe +0 -0
- data/bin/x86_64-linux/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86_64-linux/google/protobuf/descriptor.proto +25 -1
- data/bin/x86_64-linux/grpc_ruby_plugin +0 -0
- data/bin/x86_64-linux/protoc +0 -0
- data/bin/x86_64-macos/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86_64-macos/google/protobuf/descriptor.proto +25 -1
- data/bin/x86_64-macos/grpc_ruby_plugin +0 -0
- data/bin/x86_64-macos/protoc +0 -0
- data/bin/x86_64-windows/google/protobuf/compiler/plugin.proto +10 -0
- data/bin/x86_64-windows/google/protobuf/descriptor.proto +25 -1
- data/bin/x86_64-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86_64-windows/protoc.exe +0 -0
- data/version.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: da61af80b575796bd5afc97d61ebc045e13cd8f14e8469b5b99402ceaab7187d
         | 
| 4 | 
            +
              data.tar.gz: 9f0d12556e66829917061a601ece2f5d1c3d29ad0b0acdbd151f93b403f17410
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4d65306e1ab9c160059d0defc042371f952760f4c0069ac63950734593470abc635811f9d433e4063419cd452b775feb674beca45ef26b4006e59a13ea0853f9
         | 
| 7 | 
            +
              data.tar.gz: f71f89a71d6650a594cbc840ca60e65b3e70e0aeead1742963c606b4376bbe782ae0ccafe37bd1b0d611142ea61a3ee1bc6253676372066e1e28a5c7bab90b07
         | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
    
        data/bin/x86-linux/protoc
    CHANGED
    
    | Binary file | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
    
        data/bin/x86-macos/protoc
    CHANGED
    
    | Binary file | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
    
        data/bin/x86-windows/protoc.exe
    CHANGED
    
    | Binary file | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
    
        data/bin/x86_64-linux/protoc
    CHANGED
    
    | Binary file | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
    
        data/bin/x86_64-macos/protoc
    CHANGED
    
    | Binary file | 
| @@ -107,6 +107,16 @@ message CodeGeneratorResponse { | |
| 107 107 | 
             
              // exiting with a non-zero status code.
         | 
| 108 108 | 
             
              optional string error = 1;
         | 
| 109 109 |  | 
| 110 | 
            +
              // A bitmask of supported features that the code generator supports.
         | 
| 111 | 
            +
              // This is a bitwise "or" of values from the Feature enum.
         | 
| 112 | 
            +
              optional uint64 supported_features = 2;
         | 
| 113 | 
            +
             | 
| 114 | 
            +
              // Sync with code_generator.h.
         | 
| 115 | 
            +
              enum Feature {
         | 
| 116 | 
            +
                FEATURE_NONE = 0;
         | 
| 117 | 
            +
                FEATURE_PROTO3_OPTIONAL = 1;
         | 
| 118 | 
            +
              }
         | 
| 119 | 
            +
             | 
| 110 120 | 
             
              // Represents a single generated file.
         | 
| 111 121 | 
             
              message File {
         | 
| 112 122 | 
             
                // The file name, relative to the output directory.  The name must not
         | 
| @@ -129,6 +129,7 @@ message ExtensionRangeOptions { | |
| 129 129 | 
             
              // The parser stores options it doesn't recognize here. See above.
         | 
| 130 130 | 
             
              repeated UninterpretedOption uninterpreted_option = 999;
         | 
| 131 131 |  | 
| 132 | 
            +
             | 
| 132 133 | 
             
              // Clients can define custom options in extensions of this message. See above.
         | 
| 133 134 | 
             
              extensions 1000 to max;
         | 
| 134 135 | 
             
            }
         | 
| @@ -212,6 +213,29 @@ message FieldDescriptorProto { | |
| 212 213 | 
             
              optional string json_name = 10;
         | 
| 213 214 |  | 
| 214 215 | 
             
              optional FieldOptions options = 8;
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              // If true, this is a proto3 "optional". When a proto3 field is optional, it
         | 
| 218 | 
            +
              // tracks presence regardless of field type.
         | 
| 219 | 
            +
              //
         | 
| 220 | 
            +
              // When proto3_optional is true, this field must be belong to a oneof to
         | 
| 221 | 
            +
              // signal to old proto3 clients that presence is tracked for this field. This
         | 
| 222 | 
            +
              // oneof is known as a "synthetic" oneof, and this field must be its sole
         | 
| 223 | 
            +
              // member (each proto3 optional field gets its own synthetic oneof). Synthetic
         | 
| 224 | 
            +
              // oneofs exist in the descriptor only, and do not generate any API. Synthetic
         | 
| 225 | 
            +
              // oneofs must be ordered after all "real" oneofs.
         | 
| 226 | 
            +
              //
         | 
| 227 | 
            +
              // For message fields, proto3_optional doesn't create any semantic change,
         | 
| 228 | 
            +
              // since non-repeated message fields always track presence. However it still
         | 
| 229 | 
            +
              // indicates the semantic detail of whether the user wrote "optional" or not.
         | 
| 230 | 
            +
              // This can be useful for round-tripping the .proto file. For consistency we
         | 
| 231 | 
            +
              // give message fields a synthetic oneof also, even though it is not required
         | 
| 232 | 
            +
              // to track presence. This is especially important because the parser can't
         | 
| 233 | 
            +
              // tell if a field is a message or an enum, so it must always create a
         | 
| 234 | 
            +
              // synthetic oneof.
         | 
| 235 | 
            +
              //
         | 
| 236 | 
            +
              // Proto2 optional fields do not set this flag, because they already indicate
         | 
| 237 | 
            +
              // optional with `LABEL_OPTIONAL`.
         | 
| 238 | 
            +
              optional bool proto3_optional = 17;
         | 
| 215 239 | 
             
            }
         | 
| 216 240 |  | 
| 217 241 | 
             
            // Describes a oneof.
         | 
| @@ -393,7 +417,7 @@ message FileOptions { | |
| 393 417 |  | 
| 394 418 | 
             
              // Enables the use of arenas for the proto messages in this file. This applies
         | 
| 395 419 | 
             
              // only to generated classes for C++.
         | 
| 396 | 
            -
              optional bool cc_enable_arenas = 31 [default =  | 
| 420 | 
            +
              optional bool cc_enable_arenas = 31 [default = true];
         | 
| 397 421 |  | 
| 398 422 |  | 
| 399 423 | 
             
              // Sets the objective c class prefix which is prepended to all objective c
         | 
| Binary file | 
| Binary file | 
    
        data/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: grpc-tools
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.30.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - grpc Authors
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-06-22 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies: []
         | 
| 13 13 | 
             
            description: protoc and the Ruby gRPC protoc plugin
         | 
| 14 14 | 
             
            email: grpc-io@googlegroups.com
         |