Skip to content

Commit 0afc7fc

Browse files
build: update protos.js (#148)
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 4718889 commit 0afc7fc

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,9 @@ export namespace google {
15491549

15501550
/** FieldDescriptorProto options */
15511551
options?: (google.protobuf.IFieldOptions|null);
1552+
1553+
/** FieldDescriptorProto proto3Optional */
1554+
proto3Optional?: (boolean|null);
15521555
}
15531556

15541557
/** Represents a FieldDescriptorProto. */
@@ -1590,6 +1593,9 @@ export namespace google {
15901593
/** FieldDescriptorProto options. */
15911594
public options?: (google.protobuf.IFieldOptions|null);
15921595

1596+
/** FieldDescriptorProto proto3Optional. */
1597+
public proto3Optional: boolean;
1598+
15931599
/**
15941600
* Creates a new FieldDescriptorProto instance using the specified properties.
15951601
* @param [properties] Properties to set

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

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4038,6 +4038,7 @@
40384038
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
40394039
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
40404040
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
4041+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
40414042
*/
40424043

40434044
/**
@@ -4135,6 +4136,14 @@
41354136
*/
41364137
FieldDescriptorProto.prototype.options = null;
41374138

4139+
/**
4140+
* FieldDescriptorProto proto3Optional.
4141+
* @member {boolean} proto3Optional
4142+
* @memberof google.protobuf.FieldDescriptorProto
4143+
* @instance
4144+
*/
4145+
FieldDescriptorProto.prototype.proto3Optional = false;
4146+
41384147
/**
41394148
* Creates a new FieldDescriptorProto instance using the specified properties.
41404149
* @function create
@@ -4179,6 +4188,8 @@
41794188
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
41804189
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
41814190
writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
4191+
if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional"))
4192+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional);
41824193
return writer;
41834194
};
41844195

@@ -4243,6 +4254,9 @@
42434254
case 8:
42444255
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
42454256
break;
4257+
case 17:
4258+
message.proto3Optional = reader.bool();
4259+
break;
42464260
default:
42474261
reader.skipType(tag & 7);
42484262
break;
@@ -4337,6 +4351,9 @@
43374351
if (error)
43384352
return "options." + error;
43394353
}
4354+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
4355+
if (typeof message.proto3Optional !== "boolean")
4356+
return "proto3Optional: boolean expected";
43404357
return null;
43414358
};
43424359

@@ -4459,6 +4476,8 @@
44594476
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
44604477
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
44614478
}
4479+
if (object.proto3Optional != null)
4480+
message.proto3Optional = Boolean(object.proto3Optional);
44624481
return message;
44634482
};
44644483

@@ -4486,6 +4505,7 @@
44864505
object.options = null;
44874506
object.oneofIndex = 0;
44884507
object.jsonName = "";
4508+
object.proto3Optional = false;
44894509
}
44904510
if (message.name != null && message.hasOwnProperty("name"))
44914511
object.name = message.name;
@@ -4507,6 +4527,8 @@
45074527
object.oneofIndex = message.oneofIndex;
45084528
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
45094529
object.jsonName = message.jsonName;
4530+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
4531+
object.proto3Optional = message.proto3Optional;
45104532
return object;
45114533
};
45124534

@@ -6300,7 +6322,7 @@
63006322
* @memberof google.protobuf.FileOptions
63016323
* @instance
63026324
*/
6303-
FileOptions.prototype.ccEnableArenas = false;
6325+
FileOptions.prototype.ccEnableArenas = true;
63046326

63056327
/**
63066328
* FileOptions objcClassPrefix.
@@ -6786,7 +6808,7 @@
67866808
object.javaGenerateEqualsAndHash = false;
67876809
object.deprecated = false;
67886810
object.javaStringCheckUtf8 = false;
6789-
object.ccEnableArenas = false;
6811+
object.ccEnableArenas = true;
67906812
object.objcClassPrefix = "";
67916813
object.csharpNamespace = "";
67926814
object.swiftPrefix = "";

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,10 @@
483483
"options": {
484484
"type": "FieldOptions",
485485
"id": 8
486+
},
487+
"proto3Optional": {
488+
"type": "bool",
489+
"id": 17
486490
}
487491
},
488492
"nested": {
@@ -718,7 +722,7 @@
718722
"type": "bool",
719723
"id": 31,
720724
"options": {
721-
"default": false
725+
"default": true
722726
}
723727
},
724728
"objcClassPrefix": {

packages/google-cloud-phishingprotection/synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-phishing-protection.git",
7-
"sha": "fb742da98a4dfce28925b3cc0c903da0df816fab"
7+
"sha": "b5ec964526fa7a87bdfe5330e9eb7fdfc945ca49"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)