Skip to content

Commit e79ace4

Browse files
build: update protos.js (#277)
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 4589e27 commit e79ace4

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed

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

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

1487914879
/** FieldDescriptorProto options */
1488014880
options?: (google.protobuf.IFieldOptions|null);
14881+
14882+
/** FieldDescriptorProto proto3Optional */
14883+
proto3Optional?: (boolean|null);
1488114884
}
1488214885

1488314886
/** Represents a FieldDescriptorProto. */
@@ -14919,6 +14922,9 @@ export namespace google {
1491914922
/** FieldDescriptorProto options. */
1492014923
public options?: (google.protobuf.IFieldOptions|null);
1492114924

14925+
/** FieldDescriptorProto proto3Optional. */
14926+
public proto3Optional: boolean;
14927+
1492214928
/**
1492314929
* Creates a new FieldDescriptorProto instance using the specified properties.
1492414930
* @param [properties] Properties to set

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

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35503,6 +35503,7 @@
3550335503
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
3550435504
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
3550535505
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
35506+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
3550635507
*/
3550735508

3550835509
/**
@@ -35600,6 +35601,14 @@
3560035601
*/
3560135602
FieldDescriptorProto.prototype.options = null;
3560235603

35604+
/**
35605+
* FieldDescriptorProto proto3Optional.
35606+
* @member {boolean} proto3Optional
35607+
* @memberof google.protobuf.FieldDescriptorProto
35608+
* @instance
35609+
*/
35610+
FieldDescriptorProto.prototype.proto3Optional = false;
35611+
3560335612
/**
3560435613
* Creates a new FieldDescriptorProto instance using the specified properties.
3560535614
* @function create
@@ -35644,6 +35653,8 @@
3564435653
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
3564535654
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
3564635655
writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
35656+
if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional"))
35657+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional);
3564735658
return writer;
3564835659
};
3564935660

@@ -35708,6 +35719,9 @@
3570835719
case 8:
3570935720
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
3571035721
break;
35722+
case 17:
35723+
message.proto3Optional = reader.bool();
35724+
break;
3571135725
default:
3571235726
reader.skipType(tag & 7);
3571335727
break;
@@ -35802,6 +35816,9 @@
3580235816
if (error)
3580335817
return "options." + error;
3580435818
}
35819+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
35820+
if (typeof message.proto3Optional !== "boolean")
35821+
return "proto3Optional: boolean expected";
3580535822
return null;
3580635823
};
3580735824

@@ -35924,6 +35941,8 @@
3592435941
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
3592535942
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
3592635943
}
35944+
if (object.proto3Optional != null)
35945+
message.proto3Optional = Boolean(object.proto3Optional);
3592735946
return message;
3592835947
};
3592935948

@@ -35951,6 +35970,7 @@
3595135970
object.options = null;
3595235971
object.oneofIndex = 0;
3595335972
object.jsonName = "";
35973+
object.proto3Optional = false;
3595435974
}
3595535975
if (message.name != null && message.hasOwnProperty("name"))
3595635976
object.name = message.name;
@@ -35972,6 +35992,8 @@
3597235992
object.oneofIndex = message.oneofIndex;
3597335993
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
3597435994
object.jsonName = message.jsonName;
35995+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
35996+
object.proto3Optional = message.proto3Optional;
3597535997
return object;
3597635998
};
3597735999

@@ -37765,7 +37787,7 @@
3776537787
* @memberof google.protobuf.FileOptions
3776637788
* @instance
3776737789
*/
37768-
FileOptions.prototype.ccEnableArenas = false;
37790+
FileOptions.prototype.ccEnableArenas = true;
3776937791

3777037792
/**
3777137793
* FileOptions objcClassPrefix.
@@ -38251,7 +38273,7 @@
3825138273
object.javaGenerateEqualsAndHash = false;
3825238274
object.deprecated = false;
3825338275
object.javaStringCheckUtf8 = false;
38254-
object.ccEnableArenas = false;
38276+
object.ccEnableArenas = true;
3825538277
object.objcClassPrefix = "";
3825638278
object.csharpNamespace = "";
3825738279
object.swiftPrefix = "";

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3694,6 +3694,10 @@
36943694
"options": {
36953695
"type": "FieldOptions",
36963696
"id": 8
3697+
},
3698+
"proto3Optional": {
3699+
"type": "bool",
3700+
"id": 17
36973701
}
36983702
},
36993703
"nested": {
@@ -3929,7 +3933,7 @@
39293933
"type": "bool",
39303934
"id": 31,
39313935
"options": {
3932-
"default": false
3936+
"default": true
39333937
}
39343938
},
39353939
"objcClassPrefix": {

packages/google-cloud-securitycenter/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{
44
"git": {
55
"name": ".",
6-
"remote": "git@github.com:googleapis/nodejs-security-center.git",
7-
"sha": "dd0f4d1866ec61e37392c79cf7f148e339d04d1b"
6+
"remote": "https://github.com/googleapis/nodejs-security-center.git",
7+
"sha": "6ce252eb770d1a4304301bfbaeacb9d165f8a3e9"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)