Skip to content

Commit 2b2adda

Browse files
build: update protos.js (#402)
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 ea45523 commit 2b2adda

4 files changed

Lines changed: 36 additions & 4 deletions

File tree

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

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

2526225262
/** FieldDescriptorProto options */
2526325263
options?: (google.protobuf.IFieldOptions|null);
25264+
25265+
/** FieldDescriptorProto proto3Optional */
25266+
proto3Optional?: (boolean|null);
2526425267
}
2526525268

2526625269
/** Represents a FieldDescriptorProto. */
@@ -25302,6 +25305,9 @@ export namespace google {
2530225305
/** FieldDescriptorProto options. */
2530325306
public options?: (google.protobuf.IFieldOptions|null);
2530425307

25308+
/** FieldDescriptorProto proto3Optional. */
25309+
public proto3Optional: boolean;
25310+
2530525311
/**
2530625312
* Creates a new FieldDescriptorProto instance using the specified properties.
2530725313
* @param [properties] Properties to set

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

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60771,6 +60771,7 @@
6077160771
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
6077260772
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
6077360773
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
60774+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
6077460775
*/
6077560776

6077660777
/**
@@ -60868,6 +60869,14 @@
6086860869
*/
6086960870
FieldDescriptorProto.prototype.options = null;
6087060871

60872+
/**
60873+
* FieldDescriptorProto proto3Optional.
60874+
* @member {boolean} proto3Optional
60875+
* @memberof google.protobuf.FieldDescriptorProto
60876+
* @instance
60877+
*/
60878+
FieldDescriptorProto.prototype.proto3Optional = false;
60879+
6087160880
/**
6087260881
* Creates a new FieldDescriptorProto instance using the specified properties.
6087360882
* @function create
@@ -60912,6 +60921,8 @@
6091260921
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
6091360922
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
6091460923
writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
60924+
if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional"))
60925+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional);
6091560926
return writer;
6091660927
};
6091760928

@@ -60976,6 +60987,9 @@
6097660987
case 8:
6097760988
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
6097860989
break;
60990+
case 17:
60991+
message.proto3Optional = reader.bool();
60992+
break;
6097960993
default:
6098060994
reader.skipType(tag & 7);
6098160995
break;
@@ -61070,6 +61084,9 @@
6107061084
if (error)
6107161085
return "options." + error;
6107261086
}
61087+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
61088+
if (typeof message.proto3Optional !== "boolean")
61089+
return "proto3Optional: boolean expected";
6107361090
return null;
6107461091
};
6107561092

@@ -61192,6 +61209,8 @@
6119261209
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
6119361210
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
6119461211
}
61212+
if (object.proto3Optional != null)
61213+
message.proto3Optional = Boolean(object.proto3Optional);
6119561214
return message;
6119661215
};
6119761216

@@ -61219,6 +61238,7 @@
6121961238
object.options = null;
6122061239
object.oneofIndex = 0;
6122161240
object.jsonName = "";
61241+
object.proto3Optional = false;
6122261242
}
6122361243
if (message.name != null && message.hasOwnProperty("name"))
6122461244
object.name = message.name;
@@ -61240,6 +61260,8 @@
6124061260
object.oneofIndex = message.oneofIndex;
6124161261
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
6124261262
object.jsonName = message.jsonName;
61263+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
61264+
object.proto3Optional = message.proto3Optional;
6124361265
return object;
6124461266
};
6124561267

@@ -63033,7 +63055,7 @@
6303363055
* @memberof google.protobuf.FileOptions
6303463056
* @instance
6303563057
*/
63036-
FileOptions.prototype.ccEnableArenas = false;
63058+
FileOptions.prototype.ccEnableArenas = true;
6303763059

6303863060
/**
6303963061
* FileOptions objcClassPrefix.
@@ -63519,7 +63541,7 @@
6351963541
object.javaGenerateEqualsAndHash = false;
6352063542
object.deprecated = false;
6352163543
object.javaStringCheckUtf8 = false;
63522-
object.ccEnableArenas = false;
63544+
object.ccEnableArenas = true;
6352363545
object.objcClassPrefix = "";
6352463546
object.csharpNamespace = "";
6352563547
object.swiftPrefix = "";

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5123,6 +5123,10 @@
51235123
"options": {
51245124
"type": "FieldOptions",
51255125
"id": 8
5126+
},
5127+
"proto3Optional": {
5128+
"type": "bool",
5129+
"id": 17
51265130
}
51275131
},
51285132
"nested": {
@@ -5358,7 +5362,7 @@
53585362
"type": "bool",
53595363
"id": 31,
53605364
"options": {
5361-
"default": false
5365+
"default": true
53625366
}
53635367
},
53645368
"objcClassPrefix": {

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

0 commit comments

Comments
 (0)