Skip to content

Commit a72af2a

Browse files
build: update protos.js (#419)
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 d7ed3f8 commit a72af2a

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

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

+6
Original file line numberDiff line numberDiff line change
@@ -11149,6 +11149,9 @@ export namespace google {
1114911149

1115011150
/** FieldDescriptorProto options */
1115111151
options?: (google.protobuf.IFieldOptions|null);
11152+
11153+
/** FieldDescriptorProto proto3Optional */
11154+
proto3Optional?: (boolean|null);
1115211155
}
1115311156

1115411157
/** Represents a FieldDescriptorProto. */
@@ -11190,6 +11193,9 @@ export namespace google {
1119011193
/** FieldDescriptorProto options. */
1119111194
public options?: (google.protobuf.IFieldOptions|null);
1119211195

11196+
/** FieldDescriptorProto proto3Optional. */
11197+
public proto3Optional: boolean;
11198+
1119311199
/**
1119411200
* Creates a new FieldDescriptorProto instance using the specified properties.
1119511201
* @param [properties] Properties to set

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

+24-2
Original file line numberDiff line numberDiff line change
@@ -26479,6 +26479,7 @@
2647926479
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
2648026480
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
2648126481
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
26482+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
2648226483
*/
2648326484

2648426485
/**
@@ -26576,6 +26577,14 @@
2657626577
*/
2657726578
FieldDescriptorProto.prototype.options = null;
2657826579

26580+
/**
26581+
* FieldDescriptorProto proto3Optional.
26582+
* @member {boolean} proto3Optional
26583+
* @memberof google.protobuf.FieldDescriptorProto
26584+
* @instance
26585+
*/
26586+
FieldDescriptorProto.prototype.proto3Optional = false;
26587+
2657926588
/**
2658026589
* Creates a new FieldDescriptorProto instance using the specified properties.
2658126590
* @function create
@@ -26620,6 +26629,8 @@
2662026629
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
2662126630
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
2662226631
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);
2662326634
return writer;
2662426635
};
2662526636

@@ -26684,6 +26695,9 @@
2668426695
case 8:
2668526696
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
2668626697
break;
26698+
case 17:
26699+
message.proto3Optional = reader.bool();
26700+
break;
2668726701
default:
2668826702
reader.skipType(tag & 7);
2668926703
break;
@@ -26778,6 +26792,9 @@
2677826792
if (error)
2677926793
return "options." + error;
2678026794
}
26795+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
26796+
if (typeof message.proto3Optional !== "boolean")
26797+
return "proto3Optional: boolean expected";
2678126798
return null;
2678226799
};
2678326800

@@ -26900,6 +26917,8 @@
2690026917
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
2690126918
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
2690226919
}
26920+
if (object.proto3Optional != null)
26921+
message.proto3Optional = Boolean(object.proto3Optional);
2690326922
return message;
2690426923
};
2690526924

@@ -26927,6 +26946,7 @@
2692726946
object.options = null;
2692826947
object.oneofIndex = 0;
2692926948
object.jsonName = "";
26949+
object.proto3Optional = false;
2693026950
}
2693126951
if (message.name != null && message.hasOwnProperty("name"))
2693226952
object.name = message.name;
@@ -26948,6 +26968,8 @@
2694826968
object.oneofIndex = message.oneofIndex;
2694926969
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
2695026970
object.jsonName = message.jsonName;
26971+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
26972+
object.proto3Optional = message.proto3Optional;
2695126973
return object;
2695226974
};
2695326975

@@ -28741,7 +28763,7 @@
2874128763
* @memberof google.protobuf.FileOptions
2874228764
* @instance
2874328765
*/
28744-
FileOptions.prototype.ccEnableArenas = false;
28766+
FileOptions.prototype.ccEnableArenas = true;
2874528767

2874628768
/**
2874728769
* FileOptions objcClassPrefix.
@@ -29227,7 +29249,7 @@
2922729249
object.javaGenerateEqualsAndHash = false;
2922829250
object.deprecated = false;
2922929251
object.javaStringCheckUtf8 = false;
29230-
object.ccEnableArenas = false;
29252+
object.ccEnableArenas = true;
2923129253
object.objcClassPrefix = "";
2923229254
object.csharpNamespace = "";
2923329255
object.swiftPrefix = "";

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -2651,6 +2651,10 @@
26512651
"options": {
26522652
"type": "FieldOptions",
26532653
"id": 8
2654+
},
2655+
"proto3Optional": {
2656+
"type": "bool",
2657+
"id": 17
26542658
}
26552659
},
26562660
"nested": {
@@ -2886,7 +2890,7 @@
28862890
"type": "bool",
28872891
"id": 31,
28882892
"options": {
2889-
"default": false
2893+
"default": true
28902894
}
28912895
},
28922896
"objcClassPrefix": {

packages/google-cloud-tasks/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-tasks.git",
7-
"sha": "b05145eacbee28c7ca7f801f1c250269a3ab91b2"
7+
"sha": "b860452e4e8c164bc118273c4e615f3ad91845b5"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)