diff --git a/Makefile b/Makefile index 6445ee25670..f296fbf0085 100644 --- a/Makefile +++ b/Makefile @@ -140,7 +140,7 @@ proto/generate: proto/vendor .PHONY: proto/vendor proto/vendor: proto/google/pprof/profile.proto - cd proto && buf mod update + cd proto && buf dep update proto/google/pprof/profile.proto: mkdir -p proto/google/pprof diff --git a/buf.gen.yaml b/buf.gen.yaml index a7ad774eff2..2c1b9949636 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -8,7 +8,7 @@ managed: plugins: # renovate: datasource=github-releases depName=protocolbuffers/protobuf-go - - plugin: buf.build/protocolbuffers/go:v1.36.6 + - plugin: buf.build/protocolbuffers/go:v1.36.9 out: gen/proto/go opt: paths=source_relative diff --git a/gen/proto/go/google/api/annotations.pb.go b/gen/proto/go/google/api/annotations.pb.go index b58d076e048..78b15c211e6 100644 --- a/gen/proto/go/google/api/annotations.pb.go +++ b/gen/proto/go/google/api/annotations.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: google/api/annotations.proto diff --git a/gen/proto/go/google/api/http.pb.go b/gen/proto/go/google/api/http.pb.go index 14f7b4eff11..8613ed3acae 100644 --- a/gen/proto/go/google/api/http.pb.go +++ b/gen/proto/go/google/api/http.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: google/api/http.proto diff --git a/gen/proto/go/google/pprof/profile.pb.go b/gen/proto/go/google/pprof/profile.pb.go index 16ef5baa8e3..ae13fa37eed 100644 --- a/gen/proto/go/google/pprof/profile.pb.go +++ b/gen/proto/go/google/pprof/profile.pb.go @@ -38,7 +38,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: google/pprof/profile.proto diff --git a/gen/proto/go/grpc/health/v1/health.pb.go b/gen/proto/go/grpc/health/v1/health.pb.go index 1dbb379bc1a..d16d54f8a52 100644 --- a/gen/proto/go/grpc/health/v1/health.pb.go +++ b/gen/proto/go/grpc/health/v1/health.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: grpc/health/v1/health.proto diff --git a/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go b/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go index 3a9df635557..1223ab50e68 100644 --- a/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go +++ b/gen/proto/go/parca/debuginfo/v1alpha1/debuginfo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/debuginfo/v1alpha1/debuginfo.proto diff --git a/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go b/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go index 398964a4e23..3e0ea04cc15 100644 --- a/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go +++ b/gen/proto/go/parca/metastore/v1alpha1/metastore.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/metastore/v1alpha1/metastore.proto diff --git a/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go b/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go index 3c114c0c4af..a28ec87cd8a 100644 --- a/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go +++ b/gen/proto/go/parca/profilestore/v1alpha1/profilestore.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/profilestore/v1alpha1/profilestore.proto diff --git a/gen/proto/go/parca/query/v1alpha1/query.pb.go b/gen/proto/go/parca/query/v1alpha1/query.pb.go index 4893cc54198..34b2a7a0276 100644 --- a/gen/proto/go/parca/query/v1alpha1/query.pb.go +++ b/gen/proto/go/parca/query/v1alpha1/query.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/query/v1alpha1/query.proto diff --git a/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go b/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go index 51a8c27aece..1b3c343ee05 100644 --- a/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go +++ b/gen/proto/go/parca/scrape/v1alpha1/scrape.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/scrape/v1alpha1/scrape.proto diff --git a/gen/proto/go/parca/share/v1alpha1/share.pb.go b/gen/proto/go/parca/share/v1alpha1/share.pb.go index 4318dba566c..dcd9f5eaa0b 100644 --- a/gen/proto/go/parca/share/v1alpha1/share.pb.go +++ b/gen/proto/go/parca/share/v1alpha1/share.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/share/v1alpha1/share.proto diff --git a/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go b/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go index d075c457a8a..113b7523384 100644 --- a/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go +++ b/gen/proto/go/parca/telemetry/v1alpha1/telemetry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.6 +// protoc-gen-go v1.36.9 // protoc (unknown) // source: parca/telemetry/v1alpha1/telemetry.proto diff --git a/go.mod b/go.mod index 9cf7a7a3102..9218c576fc3 100644 --- a/go.mod +++ b/go.mod @@ -63,7 +63,7 @@ require ( google.golang.org/api v0.248.0 google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 google.golang.org/grpc v1.75.0 - google.golang.org/protobuf v1.36.8 + google.golang.org/protobuf v1.36.9 gopkg.in/dnaeon/go-vcr.v3 v3.2.2 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 2011e856694..47101f6196b 100644 --- a/go.sum +++ b/go.sum @@ -1164,8 +1164,8 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc= -google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= +google.golang.org/protobuf v1.36.9 h1:w2gp2mA27hUeUzj9Ex9FBjsBm40zfaDtEWow293U7Iw= +google.golang.org/protobuf v1.36.9/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/ui/packages/shared/client/src/google/protobuf/descriptor.ts b/ui/packages/shared/client/src/google/protobuf/descriptor.ts index cd3b2286ec4..92e4d97de8c 100644 --- a/ui/packages/shared/client/src/google/protobuf/descriptor.ts +++ b/ui/packages/shared/client/src/google/protobuf/descriptor.ts @@ -95,13 +95,6 @@ export interface FileDescriptorProto { * @generated from protobuf field: repeated int32 weak_dependency = 11; */ weakDependency: number[]; - /** - * Names of files imported by this file purely for the purpose of providing - * option extensions. These are excluded from the dependency list above. - * - * @generated from protobuf field: repeated string option_dependency = 15; - */ - optionDependency: string[]; /** * All top-level definitions in this file. * @@ -138,18 +131,12 @@ export interface FileDescriptorProto { * The supported values are "proto2", "proto3", and "editions". * * If `edition` is present, this value must be "editions". - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional string syntax = 12; */ syntax?: string; /** * The edition of the proto file. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.Edition edition = 14; */ @@ -204,12 +191,6 @@ export interface DescriptorProto { * @generated from protobuf field: repeated string reserved_name = 10; */ reservedName: string[]; - /** - * Support for `export` and `local` keywords on enums. - * - * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11; - */ - visibility?: SymbolVisibility; } /** * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange @@ -613,12 +594,6 @@ export interface EnumDescriptorProto { * @generated from protobuf field: repeated string reserved_name = 5; */ reservedName: string[]; - /** - * Support for `export` and `local` keywords on enums. - * - * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6; - */ - visibility?: SymbolVisibility; } /** * Range of reserved numeric values. Reserved values may not be used by @@ -912,9 +887,6 @@ export interface FileOptions { rubyPackage?: string; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50; */ @@ -1046,9 +1018,6 @@ export interface MessageOptions { deprecatedLegacyJsonFieldConflicts?: boolean; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12; */ @@ -1175,9 +1144,6 @@ export interface FieldOptions { editionDefaults: FieldOptions_EditionDefault[]; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21; */ @@ -1366,9 +1332,6 @@ export enum FieldOptions_OptionTargetType { export interface OneofOptions { /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1; */ @@ -1414,9 +1377,6 @@ export interface EnumOptions { deprecatedLegacyJsonFieldConflicts?: boolean; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7; */ @@ -1443,9 +1403,6 @@ export interface EnumValueOptions { deprecated?: boolean; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2; */ @@ -1477,9 +1434,6 @@ export interface EnumValueOptions { export interface ServiceOptions { /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34; */ @@ -1529,9 +1483,6 @@ export interface MethodOptions { idempotencyLevel?: MethodOptions_IdempotencyLevel; /** * Any features defined in the specific edition. - * WARNING: This field should only be used by protobuf plugins or special - * cases like the proto compiler. Other uses are discouraged and - * developers should rely on the protoreflect APIs for their client language. * * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35; */ @@ -1668,54 +1619,6 @@ export interface FeatureSet { * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */ jsonFormat?: FeatureSet_JsonFormat; - /** - * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; - */ - enforceNamingStyle?: FeatureSet_EnforceNamingStyle; - /** - * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; - */ - defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility; -} -/** - * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature - */ -export interface FeatureSet_VisibilityFeature { -} -/** - * @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - */ -export enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility { - /** - * @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0; - */ - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - /** - * Default pre-EDITION_2024, all UNSET visibility are export. - * - * @generated from protobuf enum value: EXPORT_ALL = 1; - */ - EXPORT_ALL = 1, - /** - * All top-level symbols default to export, nested default to local. - * - * @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2; - */ - EXPORT_TOP_LEVEL = 2, - /** - * All symbols default to local. - * - * @generated from protobuf enum value: LOCAL_ALL = 3; - */ - LOCAL_ALL = 3, - /** - * All symbols local by default. Nested types cannot be exported. - * With special case caveat for message { enum {} reserved 1 to max; } - * This is the recommended setting for new protos. - * - * @generated from protobuf enum value: STRICT = 4; - */ - STRICT = 4 } /** * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence @@ -1823,23 +1726,6 @@ export enum FeatureSet_JsonFormat { */ LEGACY_BEST_EFFORT = 2 } -/** - * @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle - */ -export enum FeatureSet_EnforceNamingStyle { - /** - * @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0; - */ - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - /** - * @generated from protobuf enum value: STYLE2024 = 1; - */ - STYLE2024 = 1, - /** - * @generated from protobuf enum value: STYLE_LEGACY = 2; - */ - STYLE_LEGACY = 2 -} /** * A compiled specification for the defaults of a set of features. These * messages are generated from FeatureSet extensions and can be used to seed @@ -2211,29 +2097,6 @@ export enum Edition { */ EDITION_MAX = 2147483647 } -/** - * Describes the 'visibility' of a symbol with respect to the proto import - * system. Symbols can only be imported when the visibility rules do not prevent - * it (ex: local symbols cannot be imported). Visibility modifiers can only set - * on `message` and `enum` as they are the only types available to be referenced - * from other files. - * - * @generated from protobuf enum google.protobuf.SymbolVisibility - */ -export enum SymbolVisibility { - /** - * @generated from protobuf enum value: VISIBILITY_UNSET = 0; - */ - VISIBILITY_UNSET = 0, - /** - * @generated from protobuf enum value: VISIBILITY_LOCAL = 1; - */ - VISIBILITY_LOCAL = 1, - /** - * @generated from protobuf enum value: VISIBILITY_EXPORT = 2; - */ - VISIBILITY_EXPORT = 2 -} // @generated message type with reflection information, may provide speed optimized methods class FileDescriptorSet$Type extends MessageType { constructor() { @@ -2290,7 +2153,6 @@ class FileDescriptorProto$Type extends MessageType { { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ }, { no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ }, - { no: 15, name: "option_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto }, { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto }, { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto }, @@ -2306,7 +2168,6 @@ class FileDescriptorProto$Type extends MessageType { message.dependency = []; message.publicDependency = []; message.weakDependency = []; - message.optionDependency = []; message.messageType = []; message.enumType = []; message.service = []; @@ -2343,9 +2204,6 @@ class FileDescriptorProto$Type extends MessageType { else message.weakDependency.push(reader.int32()); break; - case /* repeated string option_dependency */ 15: - message.optionDependency.push(reader.string()); - break; case /* repeated google.protobuf.DescriptorProto message_type */ 4: message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options)); break; @@ -2397,9 +2255,6 @@ class FileDescriptorProto$Type extends MessageType { /* repeated int32 weak_dependency = 11; */ for (let i = 0; i < message.weakDependency.length; i++) writer.tag(11, WireType.Varint).int32(message.weakDependency[i]); - /* repeated string option_dependency = 15; */ - for (let i = 0; i < message.optionDependency.length; i++) - writer.tag(15, WireType.LengthDelimited).string(message.optionDependency[i]); /* repeated google.protobuf.DescriptorProto message_type = 4; */ for (let i = 0; i < message.messageType.length; i++) DescriptorProto.internalBinaryWrite(message.messageType[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); @@ -2447,8 +2302,7 @@ class DescriptorProto$Type extends MessageType { { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto }, { no: 7, name: "options", kind: "message", T: () => MessageOptions }, { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange }, - { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, - { no: 11, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] } + { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } ]); } create(value?: PartialMessage): DescriptorProto { @@ -2500,9 +2354,6 @@ class DescriptorProto$Type extends MessageType { case /* repeated string reserved_name */ 10: message.reservedName.push(reader.string()); break; - case /* optional google.protobuf.SymbolVisibility visibility */ 11: - message.visibility = reader.int32(); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -2545,9 +2396,6 @@ class DescriptorProto$Type extends MessageType { /* repeated string reserved_name = 10; */ for (let i = 0; i < message.reservedName.length; i++) writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]); - /* optional google.protobuf.SymbolVisibility visibility = 11; */ - if (message.visibility !== undefined) - writer.tag(11, WireType.Varint).int32(message.visibility); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -2991,8 +2839,7 @@ class EnumDescriptorProto$Type extends MessageType { { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto }, { no: 3, name: "options", kind: "message", T: () => EnumOptions }, { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange }, - { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, - { no: 6, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] } + { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } ]); } create(value?: PartialMessage): EnumDescriptorProto { @@ -3024,9 +2871,6 @@ class EnumDescriptorProto$Type extends MessageType { case /* repeated string reserved_name */ 5: message.reservedName.push(reader.string()); break; - case /* optional google.protobuf.SymbolVisibility visibility */ 6: - message.visibility = reader.int32(); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -3054,9 +2898,6 @@ class EnumDescriptorProto$Type extends MessageType { /* repeated string reserved_name = 5; */ for (let i = 0; i < message.reservedName.length; i++) writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]); - /* optional google.protobuf.SymbolVisibility visibility = 6; */ - if (message.visibility !== undefined) - writer.tag(6, WireType.Varint).int32(message.visibility); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -4348,9 +4189,7 @@ class FeatureSet$Type extends MessageType { { no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] }, { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] }, { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] }, - { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] }, - { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] }, - { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] } + { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] } ]); } create(value?: PartialMessage): FeatureSet { @@ -4382,12 +4221,6 @@ class FeatureSet$Type extends MessageType { case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6: message.jsonFormat = reader.int32(); break; - case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7: - message.enforceNamingStyle = reader.int32(); - break; - case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8: - message.defaultSymbolVisibility = reader.int32(); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -4418,12 +4251,6 @@ class FeatureSet$Type extends MessageType { /* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */ if (message.jsonFormat !== undefined) writer.tag(6, WireType.Varint).int32(message.jsonFormat); - /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */ - if (message.enforceNamingStyle !== undefined) - writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle); - /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */ - if (message.defaultSymbolVisibility !== undefined) - writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -4435,44 +4262,6 @@ class FeatureSet$Type extends MessageType { */ export const FeatureSet = new FeatureSet$Type(); // @generated message type with reflection information, may provide speed optimized methods -class FeatureSet_VisibilityFeature$Type extends MessageType { - constructor() { - super("google.protobuf.FeatureSet.VisibilityFeature", []); - } - create(value?: PartialMessage): FeatureSet_VisibilityFeature { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature - */ -export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type(); -// @generated message type with reflection information, may provide speed optimized methods class FeatureSetDefaults$Type extends MessageType { constructor() { super("google.protobuf.FeatureSetDefaults", [