Skip to content

Commit 0c8d05c

Browse files
build: update protos.js (#253)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/041f5df7-f5d3-4b2a-9ede-0752bf41c185/targets
1 parent 1b748cc commit 0c8d05c

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed

packages/google-cloud-scheduler/protos/protos.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -5288,6 +5288,9 @@ export namespace google {
52885288

52895289
/** FieldDescriptorProto options */
52905290
options?: (google.protobuf.IFieldOptions|null);
5291+
5292+
/** FieldDescriptorProto proto3Optional */
5293+
proto3Optional?: (boolean|null);
52915294
}
52925295

52935296
/** Represents a FieldDescriptorProto. */
@@ -5329,6 +5332,9 @@ export namespace google {
53295332
/** FieldDescriptorProto options. */
53305333
public options?: (google.protobuf.IFieldOptions|null);
53315334

5335+
/** FieldDescriptorProto proto3Optional. */
5336+
public proto3Optional: boolean;
5337+
53325338
/**
53335339
* Creates a new FieldDescriptorProto instance using the specified properties.
53345340
* @param [properties] Properties to set

packages/google-cloud-scheduler/protos/protos.js

+25-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
2929

3030
// 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 = {});
3232

3333
$root.google = (function() {
3434

@@ -13114,6 +13114,7 @@
1311413114
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
1311513115
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
1311613116
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
13117+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
1311713118
*/
1311813119

1311913120
/**
@@ -13211,6 +13212,14 @@
1321113212
*/
1321213213
FieldDescriptorProto.prototype.options = null;
1321313214

13215+
/**
13216+
* FieldDescriptorProto proto3Optional.
13217+
* @member {boolean} proto3Optional
13218+
* @memberof google.protobuf.FieldDescriptorProto
13219+
* @instance
13220+
*/
13221+
FieldDescriptorProto.prototype.proto3Optional = false;
13222+
1321413223
/**
1321513224
* Creates a new FieldDescriptorProto instance using the specified properties.
1321613225
* @function create
@@ -13255,6 +13264,8 @@
1325513264
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
1325613265
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
1325713266
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);
1325813269
return writer;
1325913270
};
1326013271

@@ -13319,6 +13330,9 @@
1331913330
case 8:
1332013331
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
1332113332
break;
13333+
case 17:
13334+
message.proto3Optional = reader.bool();
13335+
break;
1332213336
default:
1332313337
reader.skipType(tag & 7);
1332413338
break;
@@ -13413,6 +13427,9 @@
1341313427
if (error)
1341413428
return "options." + error;
1341513429
}
13430+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
13431+
if (typeof message.proto3Optional !== "boolean")
13432+
return "proto3Optional: boolean expected";
1341613433
return null;
1341713434
};
1341813435

@@ -13535,6 +13552,8 @@
1353513552
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
1353613553
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
1353713554
}
13555+
if (object.proto3Optional != null)
13556+
message.proto3Optional = Boolean(object.proto3Optional);
1353813557
return message;
1353913558
};
1354013559

@@ -13562,6 +13581,7 @@
1356213581
object.options = null;
1356313582
object.oneofIndex = 0;
1356413583
object.jsonName = "";
13584+
object.proto3Optional = false;
1356513585
}
1356613586
if (message.name != null && message.hasOwnProperty("name"))
1356713587
object.name = message.name;
@@ -13583,6 +13603,8 @@
1358313603
object.oneofIndex = message.oneofIndex;
1358413604
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
1358513605
object.jsonName = message.jsonName;
13606+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
13607+
object.proto3Optional = message.proto3Optional;
1358613608
return object;
1358713609
};
1358813610

@@ -15376,7 +15398,7 @@
1537615398
* @memberof google.protobuf.FileOptions
1537715399
* @instance
1537815400
*/
15379-
FileOptions.prototype.ccEnableArenas = false;
15401+
FileOptions.prototype.ccEnableArenas = true;
1538015402

1538115403
/**
1538215404
* FileOptions objcClassPrefix.
@@ -15862,7 +15884,7 @@
1586215884
object.javaGenerateEqualsAndHash = false;
1586315885
object.deprecated = false;
1586415886
object.javaStringCheckUtf8 = false;
15865-
object.ccEnableArenas = false;
15887+
object.ccEnableArenas = true;
1586615888
object.objcClassPrefix = "";
1586715889
object.csharpNamespace = "";
1586815890
object.swiftPrefix = "";

packages/google-cloud-scheduler/protos/protos.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,10 @@
13591359
"options": {
13601360
"type": "FieldOptions",
13611361
"id": 8
1362+
},
1363+
"proto3Optional": {
1364+
"type": "bool",
1365+
"id": 17
13621366
}
13631367
},
13641368
"nested": {
@@ -1594,7 +1598,7 @@
15941598
"type": "bool",
15951599
"id": 31,
15961600
"options": {
1597-
"default": false
1601+
"default": true
15981602
}
15991603
},
16001604
"objcClassPrefix": {

packages/google-cloud-scheduler/synth.metadata

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-scheduler.git",
7-
"sha": "d2ffc6e4c8775251eeeb8b6a49cdf3c86bf74fc2"
7+
"sha": "bfdb5781e9bb708e2b444aaff1c9bf7ee17b9fc8"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)