From 94c213d737a386e1f2a83746efc623aaa3305ece Mon Sep 17 00:00:00 2001 From: Alan Parra Date: Mon, 17 Jun 2024 15:59:25 -0300 Subject: [PATCH] chore: Bump Buf to v1.33.0 (#43120) * chore: Bump Buf to v1.33.0 * Update generated protos --- build.assets/versions.mk | 2 +- gen/proto/ts/google/protobuf/descriptor_pb.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/build.assets/versions.mk b/build.assets/versions.mk index 2fba052fddf73..b1f58314e608d 100644 --- a/build.assets/versions.mk +++ b/build.assets/versions.mk @@ -17,7 +17,7 @@ LIBPCSCLITE_VERSION ?= 1.9.9-teleport DEVTOOLSET ?= devtoolset-12 # Protogen related versions. -BUF_VERSION ?= v1.32.1 +BUF_VERSION ?= v1.33.0 # Keep in sync with api/proto/buf.yaml (and buf.lock). GOGO_PROTO_TAG ?= v1.3.2 NODE_GRPC_TOOLS_VERSION ?= 1.12.4 diff --git a/gen/proto/ts/google/protobuf/descriptor_pb.ts b/gen/proto/ts/google/protobuf/descriptor_pb.ts index 7c9bf3394df2b..391723fe0e258 100644 --- a/gen/proto/ts/google/protobuf/descriptor_pb.ts +++ b/gen/proto/ts/google/protobuf/descriptor_pb.ts @@ -1419,6 +1419,12 @@ export interface EnumValueOptions { * @generated from protobuf field: optional bool debug_redact = 3; */ debugRedact?: boolean; + /** + * Information about the support window of a feature value. + * + * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; + */ + featureSupport?: FieldOptions_FeatureSupport; /** * The parser stores options it doesn't recognize here. See above. * @@ -3837,6 +3843,7 @@ class EnumValueOptions$Type extends MessageType { { no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }, { no: 2, name: "features", kind: "message", T: () => FeatureSet }, { no: 3, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }, + { no: 4, name: "feature_support", kind: "message", T: () => FieldOptions_FeatureSupport }, { no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption } ]); } @@ -3861,6 +3868,9 @@ class EnumValueOptions$Type extends MessageType { case /* optional bool debug_redact */ 3: message.debugRedact = reader.bool(); break; + case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 4: + message.featureSupport = FieldOptions_FeatureSupport.internalBinaryRead(reader, reader.uint32(), options, message.featureSupport); + break; case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999: message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options)); break; @@ -3885,6 +3895,9 @@ class EnumValueOptions$Type extends MessageType { /* optional bool debug_redact = 3; */ if (message.debugRedact !== undefined) writer.tag(3, WireType.Varint).bool(message.debugRedact); + /* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; */ + if (message.featureSupport) + FieldOptions_FeatureSupport.internalBinaryWrite(message.featureSupport, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */ for (let i = 0; i < message.uninterpretedOption.length; i++) UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();