Skip to content

Commit 55a38b3

Browse files
build: update protos.js (#343)
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 4fbed6c commit 55a38b3

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

packages/google-container/protos/protos.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -11001,6 +11001,9 @@ export namespace google {
1100111001

1100211002
/** FieldDescriptorProto options */
1100311003
options?: (google.protobuf.IFieldOptions|null);
11004+
11005+
/** FieldDescriptorProto proto3Optional */
11006+
proto3Optional?: (boolean|null);
1100411007
}
1100511008

1100611009
/** Represents a FieldDescriptorProto. */
@@ -11042,6 +11045,9 @@ export namespace google {
1104211045
/** FieldDescriptorProto options. */
1104311046
public options?: (google.protobuf.IFieldOptions|null);
1104411047

11048+
/** FieldDescriptorProto proto3Optional. */
11049+
public proto3Optional: boolean;
11050+
1104511051
/**
1104611052
* Creates a new FieldDescriptorProto instance using the specified properties.
1104711053
* @param [properties] Properties to set

packages/google-container/protos/protos.js

+24-2
Original file line numberDiff line numberDiff line change
@@ -27341,6 +27341,7 @@
2734127341
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
2734227342
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
2734327343
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
27344+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
2734427345
*/
2734527346

2734627347
/**
@@ -27438,6 +27439,14 @@
2743827439
*/
2743927440
FieldDescriptorProto.prototype.options = null;
2744027441

27442+
/**
27443+
* FieldDescriptorProto proto3Optional.
27444+
* @member {boolean} proto3Optional
27445+
* @memberof google.protobuf.FieldDescriptorProto
27446+
* @instance
27447+
*/
27448+
FieldDescriptorProto.prototype.proto3Optional = false;
27449+
2744127450
/**
2744227451
* Creates a new FieldDescriptorProto instance using the specified properties.
2744327452
* @function create
@@ -27482,6 +27491,8 @@
2748227491
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex);
2748327492
if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName"))
2748427493
writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName);
27494+
if (message.proto3Optional != null && Object.hasOwnProperty.call(message, "proto3Optional"))
27495+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional);
2748527496
return writer;
2748627497
};
2748727498

@@ -27546,6 +27557,9 @@
2754627557
case 8:
2754727558
message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32());
2754827559
break;
27560+
case 17:
27561+
message.proto3Optional = reader.bool();
27562+
break;
2754927563
default:
2755027564
reader.skipType(tag & 7);
2755127565
break;
@@ -27640,6 +27654,9 @@
2764027654
if (error)
2764127655
return "options." + error;
2764227656
}
27657+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
27658+
if (typeof message.proto3Optional !== "boolean")
27659+
return "proto3Optional: boolean expected";
2764327660
return null;
2764427661
};
2764527662

@@ -27762,6 +27779,8 @@
2776227779
throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");
2776327780
message.options = $root.google.protobuf.FieldOptions.fromObject(object.options);
2776427781
}
27782+
if (object.proto3Optional != null)
27783+
message.proto3Optional = Boolean(object.proto3Optional);
2776527784
return message;
2776627785
};
2776727786

@@ -27789,6 +27808,7 @@
2778927808
object.options = null;
2779027809
object.oneofIndex = 0;
2779127810
object.jsonName = "";
27811+
object.proto3Optional = false;
2779227812
}
2779327813
if (message.name != null && message.hasOwnProperty("name"))
2779427814
object.name = message.name;
@@ -27810,6 +27830,8 @@
2781027830
object.oneofIndex = message.oneofIndex;
2781127831
if (message.jsonName != null && message.hasOwnProperty("jsonName"))
2781227832
object.jsonName = message.jsonName;
27833+
if (message.proto3Optional != null && message.hasOwnProperty("proto3Optional"))
27834+
object.proto3Optional = message.proto3Optional;
2781327835
return object;
2781427836
};
2781527837

@@ -29601,7 +29623,7 @@
2960129623
* @memberof google.protobuf.FileOptions
2960229624
* @instance
2960329625
*/
29604-
FileOptions.prototype.ccEnableArenas = false;
29626+
FileOptions.prototype.ccEnableArenas = true;
2960529627

2960629628
/**
2960729629
* FileOptions objcClassPrefix.
@@ -30050,7 +30072,7 @@
3005030072
object.javaGenerateEqualsAndHash = false;
3005130073
object.deprecated = false;
3005230074
object.javaStringCheckUtf8 = false;
30053-
object.ccEnableArenas = false;
30075+
object.ccEnableArenas = true;
3005430076
object.objcClassPrefix = "";
3005530077
object.csharpNamespace = "";
3005630078
object.swiftPrefix = "";

packages/google-container/protos/protos.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3029,6 +3029,10 @@
30293029
"options": {
30303030
"type": "FieldOptions",
30313031
"id": 8
3032+
},
3033+
"proto3Optional": {
3034+
"type": "bool",
3035+
"id": 17
30323036
}
30333037
},
30343038
"nested": {
@@ -3264,7 +3268,7 @@
32643268
"type": "bool",
32653269
"id": 31,
32663270
"options": {
3267-
"default": false
3271+
"default": true
32683272
}
32693273
},
32703274
"objcClassPrefix": {

packages/google-container/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-cloud-container.git",
7-
"sha": "29b309db935655a6ab5add27e111f72f7d053c07"
7+
"sha": "9c2b006b21d92137b2178a20dd0e1579c6dd38ef"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)