|
28 | 28 | var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
|
29 | 29 |
|
30 | 30 | // Exported root namespace
|
31 |
| - var $root = $protobuf.roots._google_cloud_scheduler_1_6_0_protos || ($protobuf.roots._google_cloud_scheduler_1_6_0_protos = {}); |
| 31 | + var $root = $protobuf.roots._google_cloud_scheduler_2_0_0_protos || ($protobuf.roots._google_cloud_scheduler_2_0_0_protos = {}); |
32 | 32 |
|
33 | 33 | $root.google = (function() {
|
34 | 34 |
|
|
13114 | 13114 | * @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
|
13115 | 13115 | * @property {string|null} [jsonName] FieldDescriptorProto jsonName
|
13116 | 13116 | * @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
|
| 13117 | + * @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional |
13117 | 13118 | */
|
13118 | 13119 |
|
13119 | 13120 | /**
|
|
13211 | 13212 | */
|
13212 | 13213 | FieldDescriptorProto.prototype.options = null;
|
13213 | 13214 |
|
| 13215 | + /** |
| 13216 | + * FieldDescriptorProto proto3Optional. |
| 13217 | + * @member {boolean} proto3Optional |
| 13218 | + * @memberof google.protobuf.FieldDescriptorProto |
| 13219 | + * @instance |
| 13220 | + */ |
| 13221 | + FieldDescriptorProto.prototype.proto3Optional = false; |
| 13222 | + |
13214 | 13223 | /**
|
13215 | 13224 | * Creates a new FieldDescriptorProto instance using the specified properties.
|
13216 | 13225 | * @function create
|
|
13255 | 13264 | writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
|
13256 | 13265 | if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
|
13257 | 13266 | writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
|
| 13267 | + if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional")) |
| 13268 | + writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional); |
13258 | 13269 | return writer;
|
13259 | 13270 | };
|
13260 | 13271 |
|
|
13319 | 13330 | case 8:
|
13320 | 13331 | message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
|
13321 | 13332 | break;
|
| 13333 | + case 17: |
| 13334 | + message.proto3Optional = reader.bool(); |
| 13335 | + break; |
13322 | 13336 | default:
|
13323 | 13337 | reader.skipType(tag & 7);
|
13324 | 13338 | break;
|
|
13413 | 13427 | if (error)
|
13414 | 13428 | return "options." + error;
|
13415 | 13429 | }
|
| 13430 | + if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional")) |
| 13431 | + if (typeof message.proto3Optional !== "boolean") |
| 13432 | + return "proto3Optional: boolean expected"; |
13416 | 13433 | return null;
|
13417 | 13434 | };
|
13418 | 13435 |
|
|
13535 | 13552 | throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
|
13536 | 13553 | message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
|
13537 | 13554 | }
|
| 13555 | + if (object.proto3Optional != null) |
| 13556 | + message.proto3Optional = Boolean(object.proto3Optional); |
13538 | 13557 | return message;
|
13539 | 13558 | };
|
13540 | 13559 |
|
|
13562 | 13581 | object.options = null;
|
13563 | 13582 | object.oneofIndex = 0;
|
13564 | 13583 | object.jsonName = "";
|
| 13584 | + object.proto3Optional = false; |
13565 | 13585 | }
|
13566 | 13586 | if (message.name != null && message.hasOwnProperty("name"))
|
13567 | 13587 | object.name = message.name;
|
|
13583 | 13603 | object.oneofIndex = message.oneofIndex;
|
13584 | 13604 | if (message.jsonName != null && message.hasOwnProperty("jsonName"))
|
13585 | 13605 | object.jsonName = message.jsonName;
|
| 13606 | + if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional")) |
| 13607 | + object.proto3Optional = message.proto3Optional; |
13586 | 13608 | return object;
|
13587 | 13609 | };
|
13588 | 13610 |
|
|
15376 | 15398 | * @memberof google.protobuf.FileOptions
|
15377 | 15399 | * @instance
|
15378 | 15400 | */
|
15379 |
| - FileOptions.prototype.ccEnableArenas = false; |
| 15401 | + FileOptions.prototype.ccEnableArenas = true; |
15380 | 15402 |
|
15381 | 15403 | /**
|
15382 | 15404 | * FileOptions objcClassPrefix.
|
|
15862 | 15884 | object.javaGenerateEqualsAndHash = false;
|
15863 | 15885 | object.deprecated = false;
|
15864 | 15886 | object.javaStringCheckUtf8 = false;
|
15865 |
| - object.ccEnableArenas = false; |
| 15887 | + object.ccEnableArenas = true; |
15866 | 15888 | object.objcClassPrefix = "";
|
15867 | 15889 | object.csharpNamespace = "";
|
15868 | 15890 | object.swiftPrefix = "";
|
|
0 commit comments