|
26479 | 26479 | * @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
|
26480 | 26480 | * @property {string|null} [jsonName] FieldDescriptorProto jsonName
|
26481 | 26481 | * @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
|
| 26482 | + * @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional |
26482 | 26483 | */
|
26483 | 26484 |
|
26484 | 26485 | /**
|
|
26576 | 26577 | */
|
26577 | 26578 | FieldDescriptorProto.prototype.options = null;
|
26578 | 26579 |
|
| 26580 | + /** |
| 26581 | + * FieldDescriptorProto proto3Optional. |
| 26582 | + * @member {boolean} proto3Optional |
| 26583 | + * @memberof google.protobuf.FieldDescriptorProto |
| 26584 | + * @instance |
| 26585 | + */ |
| 26586 | + FieldDescriptorProto.prototype.proto3Optional = false; |
| 26587 | + |
26579 | 26588 | /**
|
26580 | 26589 | * Creates a new FieldDescriptorProto instance using the specified properties.
|
26581 | 26590 | * @function create
|
|
26620 | 26629 | writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
|
26621 | 26630 | if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
|
26622 | 26631 | writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
|
| 26632 | + if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional")) |
| 26633 | + writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional); |
26623 | 26634 | return writer;
|
26624 | 26635 | };
|
26625 | 26636 |
|
|
26684 | 26695 | case 8:
|
26685 | 26696 | message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
|
26686 | 26697 | break;
|
| 26698 | + case 17: |
| 26699 | + message.proto3Optional = reader.bool(); |
| 26700 | + break; |
26687 | 26701 | default:
|
26688 | 26702 | reader.skipType(tag & 7);
|
26689 | 26703 | break;
|
|
26778 | 26792 | if (error)
|
26779 | 26793 | return "options." + error;
|
26780 | 26794 | }
|
| 26795 | + if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional")) |
| 26796 | + if (typeof message.proto3Optional !== "boolean") |
| 26797 | + return "proto3Optional: boolean expected"; |
26781 | 26798 | return null;
|
26782 | 26799 | };
|
26783 | 26800 |
|
|
26900 | 26917 | throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
|
26901 | 26918 | message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
|
26902 | 26919 | }
|
| 26920 | + if (object.proto3Optional != null) |
| 26921 | + message.proto3Optional = Boolean(object.proto3Optional); |
26903 | 26922 | return message;
|
26904 | 26923 | };
|
26905 | 26924 |
|
|
26927 | 26946 | object.options = null;
|
26928 | 26947 | object.oneofIndex = 0;
|
26929 | 26948 | object.jsonName = "";
|
| 26949 | + object.proto3Optional = false; |
26930 | 26950 | }
|
26931 | 26951 | if (message.name != null && message.hasOwnProperty("name"))
|
26932 | 26952 | object.name = message.name;
|
|
26948 | 26968 | object.oneofIndex = message.oneofIndex;
|
26949 | 26969 | if (message.jsonName != null && message.hasOwnProperty("jsonName"))
|
26950 | 26970 | object.jsonName = message.jsonName;
|
| 26971 | + if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional")) |
| 26972 | + object.proto3Optional = message.proto3Optional; |
26951 | 26973 | return object;
|
26952 | 26974 | };
|
26953 | 26975 |
|
|
28741 | 28763 | * @memberof google.protobuf.FileOptions
|
28742 | 28764 | * @instance
|
28743 | 28765 | */
|
28744 |
| - FileOptions.prototype.ccEnableArenas = false; |
| 28766 | + FileOptions.prototype.ccEnableArenas = true; |
28745 | 28767 |
|
28746 | 28768 | /**
|
28747 | 28769 | * FileOptions objcClassPrefix.
|
|
29227 | 29249 | object.javaGenerateEqualsAndHash = false;
|
29228 | 29250 | object.deprecated = false;
|
29229 | 29251 | object.javaStringCheckUtf8 = false;
|
29230 |
| - object.ccEnableArenas = false; |
| 29252 | + object.ccEnableArenas = true; |
29231 | 29253 | object.objcClassPrefix = "";
|
29232 | 29254 | object.csharpNamespace = "";
|
29233 | 29255 | object.swiftPrefix = "";
|
|
0 commit comments