aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/golang
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-03-06 21:12:12 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-03-06 21:56:52 +0300
commit4dc63fc585b6d17b7da64c6ad1b7c02bab04a4de (patch)
tree6db954bff800e50fffe3e32622f8341be1e06eac /vendor/github.com/golang
parentc41cfed807da2d4a723dba98f18d93afeba5425d (diff)
downloadydb-4dc63fc585b6d17b7da64c6ad1b7c02bab04a4de.tar.gz
Update vendor/google.golang.org/protobuf to 1.33.0
https://groups.google.com/g/golang-announce/c/ArQ6CDgtEjY `CVE-2024-24786` Update vendor/github.com/golang/protobuf to 1.5.4 Update vendor/google.golang.org/protobuf to 1.33.0 49932bde4d66dcc904cbf736caa0272baf07833b
Diffstat (limited to 'vendor/github.com/golang')
-rw-r--r--vendor/github.com/golang/protobuf/internal/gengogrpc/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/internal/testprotos/proto2_proto/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/internal/testprotos/proto3_proto/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/jsonpb/decode.go1
-rw-r--r--vendor/github.com/golang/protobuf/jsonpb/encode.go1
-rw-r--r--vendor/github.com/golang/protobuf/jsonpb/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/proto/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go128
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go2
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/ya.make8
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/generator/ya.make8
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/grpc/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/main.go4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go1
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/plugin/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/protoc-gen-go/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/any.go7
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/any/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/duration/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/empty/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/struct/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/timestamp/ya.make4
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/wrappers/ya.make4
25 files changed, 199 insertions, 25 deletions
diff --git a/vendor/github.com/golang/protobuf/internal/gengogrpc/ya.make b/vendor/github.com/golang/protobuf/internal/gengogrpc/ya.make
index 0d9ef1ecee..3c94f9e302 100644
--- a/vendor/github.com/golang/protobuf/internal/gengogrpc/ya.make
+++ b/vendor/github.com/golang/protobuf/internal/gengogrpc/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(grpc.go)
+SRCS(
+ grpc.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/internal/testprotos/proto2_proto/ya.make b/vendor/github.com/golang/protobuf/internal/testprotos/proto2_proto/ya.make
index adcd14d710..3036f3ee78 100644
--- a/vendor/github.com/golang/protobuf/internal/testprotos/proto2_proto/ya.make
+++ b/vendor/github.com/golang/protobuf/internal/testprotos/proto2_proto/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(test.pb.go)
+SRCS(
+ test.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/internal/testprotos/proto3_proto/ya.make b/vendor/github.com/golang/protobuf/internal/testprotos/proto3_proto/ya.make
index adcd14d710..3036f3ee78 100644
--- a/vendor/github.com/golang/protobuf/internal/testprotos/proto3_proto/ya.make
+++ b/vendor/github.com/golang/protobuf/internal/testprotos/proto3_proto/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(test.pb.go)
+SRCS(
+ test.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/jsonpb/decode.go b/vendor/github.com/golang/protobuf/jsonpb/decode.go
index 6c16c255ff..c6f66f1039 100644
--- a/vendor/github.com/golang/protobuf/jsonpb/decode.go
+++ b/vendor/github.com/golang/protobuf/jsonpb/decode.go
@@ -56,6 +56,7 @@ type Unmarshaler struct {
// implement JSONPBMarshaler so that the custom format can be produced.
//
// The JSON unmarshaling must follow the JSON to proto specification:
+//
// https://developers.google.com/protocol-buffers/docs/proto3#json
//
// Deprecated: Custom types should implement protobuf reflection instead.
diff --git a/vendor/github.com/golang/protobuf/jsonpb/encode.go b/vendor/github.com/golang/protobuf/jsonpb/encode.go
index 685c80a62b..e9438a93f3 100644
--- a/vendor/github.com/golang/protobuf/jsonpb/encode.go
+++ b/vendor/github.com/golang/protobuf/jsonpb/encode.go
@@ -55,6 +55,7 @@ type Marshaler struct {
// implement JSONPBUnmarshaler so that the custom format can be parsed.
//
// The JSON marshaling must follow the proto to JSON specification:
+//
// https://developers.google.com/protocol-buffers/docs/proto3#json
//
// Deprecated: Custom types should implement protobuf reflection instead.
diff --git a/vendor/github.com/golang/protobuf/jsonpb/ya.make b/vendor/github.com/golang/protobuf/jsonpb/ya.make
index 0cc63af6ae..2379675df2 100644
--- a/vendor/github.com/golang/protobuf/jsonpb/ya.make
+++ b/vendor/github.com/golang/protobuf/jsonpb/ya.make
@@ -12,4 +12,6 @@ GO_TEST_SRCS(json_test.go)
END()
-RECURSE(gotest)
+RECURSE(
+ gotest
+)
diff --git a/vendor/github.com/golang/protobuf/proto/ya.make b/vendor/github.com/golang/protobuf/proto/ya.make
index d8a26c70ea..59af799850 100644
--- a/vendor/github.com/golang/protobuf/proto/ya.make
+++ b/vendor/github.com/golang/protobuf/proto/ya.make
@@ -29,4 +29,6 @@ GO_XTEST_SRCS(
END()
-RECURSE(gotest)
+RECURSE(
+ gotest
+)
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go
index 63dc057851..a5a138613a 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go
@@ -12,6 +12,31 @@ import (
// Symbols defined in public import of google/protobuf/descriptor.proto.
+type Edition = descriptorpb.Edition
+
+const Edition_EDITION_UNKNOWN = descriptorpb.Edition_EDITION_UNKNOWN
+const Edition_EDITION_PROTO2 = descriptorpb.Edition_EDITION_PROTO2
+const Edition_EDITION_PROTO3 = descriptorpb.Edition_EDITION_PROTO3
+const Edition_EDITION_2023 = descriptorpb.Edition_EDITION_2023
+const Edition_EDITION_2024 = descriptorpb.Edition_EDITION_2024
+const Edition_EDITION_1_TEST_ONLY = descriptorpb.Edition_EDITION_1_TEST_ONLY
+const Edition_EDITION_2_TEST_ONLY = descriptorpb.Edition_EDITION_2_TEST_ONLY
+const Edition_EDITION_99997_TEST_ONLY = descriptorpb.Edition_EDITION_99997_TEST_ONLY
+const Edition_EDITION_99998_TEST_ONLY = descriptorpb.Edition_EDITION_99998_TEST_ONLY
+const Edition_EDITION_99999_TEST_ONLY = descriptorpb.Edition_EDITION_99999_TEST_ONLY
+const Edition_EDITION_MAX = descriptorpb.Edition_EDITION_MAX
+
+var Edition_name = descriptorpb.Edition_name
+var Edition_value = descriptorpb.Edition_value
+
+type ExtensionRangeOptions_VerificationState = descriptorpb.ExtensionRangeOptions_VerificationState
+
+const ExtensionRangeOptions_DECLARATION = descriptorpb.ExtensionRangeOptions_DECLARATION
+const ExtensionRangeOptions_UNVERIFIED = descriptorpb.ExtensionRangeOptions_UNVERIFIED
+
+var ExtensionRangeOptions_VerificationState_name = descriptorpb.ExtensionRangeOptions_VerificationState_name
+var ExtensionRangeOptions_VerificationState_value = descriptorpb.ExtensionRangeOptions_VerificationState_value
+
type FieldDescriptorProto_Type = descriptorpb.FieldDescriptorProto_Type
const FieldDescriptorProto_TYPE_DOUBLE = descriptorpb.FieldDescriptorProto_TYPE_DOUBLE
@@ -39,8 +64,8 @@ var FieldDescriptorProto_Type_value = descriptorpb.FieldDescriptorProto_Type_val
type FieldDescriptorProto_Label = descriptorpb.FieldDescriptorProto_Label
const FieldDescriptorProto_LABEL_OPTIONAL = descriptorpb.FieldDescriptorProto_LABEL_OPTIONAL
-const FieldDescriptorProto_LABEL_REQUIRED = descriptorpb.FieldDescriptorProto_LABEL_REQUIRED
const FieldDescriptorProto_LABEL_REPEATED = descriptorpb.FieldDescriptorProto_LABEL_REPEATED
+const FieldDescriptorProto_LABEL_REQUIRED = descriptorpb.FieldDescriptorProto_LABEL_REQUIRED
var FieldDescriptorProto_Label_name = descriptorpb.FieldDescriptorProto_Label_name
var FieldDescriptorProto_Label_value = descriptorpb.FieldDescriptorProto_Label_value
@@ -72,6 +97,31 @@ const FieldOptions_JS_NUMBER = descriptorpb.FieldOptions_JS_NUMBER
var FieldOptions_JSType_name = descriptorpb.FieldOptions_JSType_name
var FieldOptions_JSType_value = descriptorpb.FieldOptions_JSType_value
+type FieldOptions_OptionRetention = descriptorpb.FieldOptions_OptionRetention
+
+const FieldOptions_RETENTION_UNKNOWN = descriptorpb.FieldOptions_RETENTION_UNKNOWN
+const FieldOptions_RETENTION_RUNTIME = descriptorpb.FieldOptions_RETENTION_RUNTIME
+const FieldOptions_RETENTION_SOURCE = descriptorpb.FieldOptions_RETENTION_SOURCE
+
+var FieldOptions_OptionRetention_name = descriptorpb.FieldOptions_OptionRetention_name
+var FieldOptions_OptionRetention_value = descriptorpb.FieldOptions_OptionRetention_value
+
+type FieldOptions_OptionTargetType = descriptorpb.FieldOptions_OptionTargetType
+
+const FieldOptions_TARGET_TYPE_UNKNOWN = descriptorpb.FieldOptions_TARGET_TYPE_UNKNOWN
+const FieldOptions_TARGET_TYPE_FILE = descriptorpb.FieldOptions_TARGET_TYPE_FILE
+const FieldOptions_TARGET_TYPE_EXTENSION_RANGE = descriptorpb.FieldOptions_TARGET_TYPE_EXTENSION_RANGE
+const FieldOptions_TARGET_TYPE_MESSAGE = descriptorpb.FieldOptions_TARGET_TYPE_MESSAGE
+const FieldOptions_TARGET_TYPE_FIELD = descriptorpb.FieldOptions_TARGET_TYPE_FIELD
+const FieldOptions_TARGET_TYPE_ONEOF = descriptorpb.FieldOptions_TARGET_TYPE_ONEOF
+const FieldOptions_TARGET_TYPE_ENUM = descriptorpb.FieldOptions_TARGET_TYPE_ENUM
+const FieldOptions_TARGET_TYPE_ENUM_ENTRY = descriptorpb.FieldOptions_TARGET_TYPE_ENUM_ENTRY
+const FieldOptions_TARGET_TYPE_SERVICE = descriptorpb.FieldOptions_TARGET_TYPE_SERVICE
+const FieldOptions_TARGET_TYPE_METHOD = descriptorpb.FieldOptions_TARGET_TYPE_METHOD
+
+var FieldOptions_OptionTargetType_name = descriptorpb.FieldOptions_OptionTargetType_name
+var FieldOptions_OptionTargetType_value = descriptorpb.FieldOptions_OptionTargetType_value
+
type MethodOptions_IdempotencyLevel = descriptorpb.MethodOptions_IdempotencyLevel
const MethodOptions_IDEMPOTENCY_UNKNOWN = descriptorpb.MethodOptions_IDEMPOTENCY_UNKNOWN
@@ -81,10 +131,77 @@ const MethodOptions_IDEMPOTENT = descriptorpb.MethodOptions_IDEMPOTENT
var MethodOptions_IdempotencyLevel_name = descriptorpb.MethodOptions_IdempotencyLevel_name
var MethodOptions_IdempotencyLevel_value = descriptorpb.MethodOptions_IdempotencyLevel_value
+type FeatureSet_FieldPresence = descriptorpb.FeatureSet_FieldPresence
+
+const FeatureSet_FIELD_PRESENCE_UNKNOWN = descriptorpb.FeatureSet_FIELD_PRESENCE_UNKNOWN
+const FeatureSet_EXPLICIT = descriptorpb.FeatureSet_EXPLICIT
+const FeatureSet_IMPLICIT = descriptorpb.FeatureSet_IMPLICIT
+const FeatureSet_LEGACY_REQUIRED = descriptorpb.FeatureSet_LEGACY_REQUIRED
+
+var FeatureSet_FieldPresence_name = descriptorpb.FeatureSet_FieldPresence_name
+var FeatureSet_FieldPresence_value = descriptorpb.FeatureSet_FieldPresence_value
+
+type FeatureSet_EnumType = descriptorpb.FeatureSet_EnumType
+
+const FeatureSet_ENUM_TYPE_UNKNOWN = descriptorpb.FeatureSet_ENUM_TYPE_UNKNOWN
+const FeatureSet_OPEN = descriptorpb.FeatureSet_OPEN
+const FeatureSet_CLOSED = descriptorpb.FeatureSet_CLOSED
+
+var FeatureSet_EnumType_name = descriptorpb.FeatureSet_EnumType_name
+var FeatureSet_EnumType_value = descriptorpb.FeatureSet_EnumType_value
+
+type FeatureSet_RepeatedFieldEncoding = descriptorpb.FeatureSet_RepeatedFieldEncoding
+
+const FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN = descriptorpb.FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN
+const FeatureSet_PACKED = descriptorpb.FeatureSet_PACKED
+const FeatureSet_EXPANDED = descriptorpb.FeatureSet_EXPANDED
+
+var FeatureSet_RepeatedFieldEncoding_name = descriptorpb.FeatureSet_RepeatedFieldEncoding_name
+var FeatureSet_RepeatedFieldEncoding_value = descriptorpb.FeatureSet_RepeatedFieldEncoding_value
+
+type FeatureSet_Utf8Validation = descriptorpb.FeatureSet_Utf8Validation
+
+const FeatureSet_UTF8_VALIDATION_UNKNOWN = descriptorpb.FeatureSet_UTF8_VALIDATION_UNKNOWN
+const FeatureSet_VERIFY = descriptorpb.FeatureSet_VERIFY
+const FeatureSet_NONE = descriptorpb.FeatureSet_NONE
+
+var FeatureSet_Utf8Validation_name = descriptorpb.FeatureSet_Utf8Validation_name
+var FeatureSet_Utf8Validation_value = descriptorpb.FeatureSet_Utf8Validation_value
+
+type FeatureSet_MessageEncoding = descriptorpb.FeatureSet_MessageEncoding
+
+const FeatureSet_MESSAGE_ENCODING_UNKNOWN = descriptorpb.FeatureSet_MESSAGE_ENCODING_UNKNOWN
+const FeatureSet_LENGTH_PREFIXED = descriptorpb.FeatureSet_LENGTH_PREFIXED
+const FeatureSet_DELIMITED = descriptorpb.FeatureSet_DELIMITED
+
+var FeatureSet_MessageEncoding_name = descriptorpb.FeatureSet_MessageEncoding_name
+var FeatureSet_MessageEncoding_value = descriptorpb.FeatureSet_MessageEncoding_value
+
+type FeatureSet_JsonFormat = descriptorpb.FeatureSet_JsonFormat
+
+const FeatureSet_JSON_FORMAT_UNKNOWN = descriptorpb.FeatureSet_JSON_FORMAT_UNKNOWN
+const FeatureSet_ALLOW = descriptorpb.FeatureSet_ALLOW
+const FeatureSet_LEGACY_BEST_EFFORT = descriptorpb.FeatureSet_LEGACY_BEST_EFFORT
+
+var FeatureSet_JsonFormat_name = descriptorpb.FeatureSet_JsonFormat_name
+var FeatureSet_JsonFormat_value = descriptorpb.FeatureSet_JsonFormat_value
+
+type GeneratedCodeInfo_Annotation_Semantic = descriptorpb.GeneratedCodeInfo_Annotation_Semantic
+
+const GeneratedCodeInfo_Annotation_NONE = descriptorpb.GeneratedCodeInfo_Annotation_NONE
+const GeneratedCodeInfo_Annotation_SET = descriptorpb.GeneratedCodeInfo_Annotation_SET
+const GeneratedCodeInfo_Annotation_ALIAS = descriptorpb.GeneratedCodeInfo_Annotation_ALIAS
+
+var GeneratedCodeInfo_Annotation_Semantic_name = descriptorpb.GeneratedCodeInfo_Annotation_Semantic_name
+var GeneratedCodeInfo_Annotation_Semantic_value = descriptorpb.GeneratedCodeInfo_Annotation_Semantic_value
+
type FileDescriptorSet = descriptorpb.FileDescriptorSet
type FileDescriptorProto = descriptorpb.FileDescriptorProto
type DescriptorProto = descriptorpb.DescriptorProto
type ExtensionRangeOptions = descriptorpb.ExtensionRangeOptions
+
+const Default_ExtensionRangeOptions_Verification = descriptorpb.Default_ExtensionRangeOptions_Verification
+
type FieldDescriptorProto = descriptorpb.FieldDescriptorProto
type OneofDescriptorProto = descriptorpb.OneofDescriptorProto
type EnumDescriptorProto = descriptorpb.EnumDescriptorProto
@@ -103,7 +220,6 @@ const Default_FileOptions_OptimizeFor = descriptorpb.Default_FileOptions_Optimiz
const Default_FileOptions_CcGenericServices = descriptorpb.Default_FileOptions_CcGenericServices
const Default_FileOptions_JavaGenericServices = descriptorpb.Default_FileOptions_JavaGenericServices
const Default_FileOptions_PyGenericServices = descriptorpb.Default_FileOptions_PyGenericServices
-const Default_FileOptions_PhpGenericServices = descriptorpb.Default_FileOptions_PhpGenericServices
const Default_FileOptions_Deprecated = descriptorpb.Default_FileOptions_Deprecated
const Default_FileOptions_CcEnableArenas = descriptorpb.Default_FileOptions_CcEnableArenas
@@ -118,8 +234,10 @@ type FieldOptions = descriptorpb.FieldOptions
const Default_FieldOptions_Ctype = descriptorpb.Default_FieldOptions_Ctype
const Default_FieldOptions_Jstype = descriptorpb.Default_FieldOptions_Jstype
const Default_FieldOptions_Lazy = descriptorpb.Default_FieldOptions_Lazy
+const Default_FieldOptions_UnverifiedLazy = descriptorpb.Default_FieldOptions_UnverifiedLazy
const Default_FieldOptions_Deprecated = descriptorpb.Default_FieldOptions_Deprecated
const Default_FieldOptions_Weak = descriptorpb.Default_FieldOptions_Weak
+const Default_FieldOptions_DebugRedact = descriptorpb.Default_FieldOptions_DebugRedact
type OneofOptions = descriptorpb.OneofOptions
type EnumOptions = descriptorpb.EnumOptions
@@ -129,6 +247,7 @@ const Default_EnumOptions_Deprecated = descriptorpb.Default_EnumOptions_Deprecat
type EnumValueOptions = descriptorpb.EnumValueOptions
const Default_EnumValueOptions_Deprecated = descriptorpb.Default_EnumValueOptions_Deprecated
+const Default_EnumValueOptions_DebugRedact = descriptorpb.Default_EnumValueOptions_DebugRedact
type ServiceOptions = descriptorpb.ServiceOptions
@@ -140,12 +259,17 @@ const Default_MethodOptions_Deprecated = descriptorpb.Default_MethodOptions_Depr
const Default_MethodOptions_IdempotencyLevel = descriptorpb.Default_MethodOptions_IdempotencyLevel
type UninterpretedOption = descriptorpb.UninterpretedOption
+type FeatureSet = descriptorpb.FeatureSet
+type FeatureSetDefaults = descriptorpb.FeatureSetDefaults
type SourceCodeInfo = descriptorpb.SourceCodeInfo
type GeneratedCodeInfo = descriptorpb.GeneratedCodeInfo
type DescriptorProto_ExtensionRange = descriptorpb.DescriptorProto_ExtensionRange
type DescriptorProto_ReservedRange = descriptorpb.DescriptorProto_ReservedRange
+type ExtensionRangeOptions_Declaration = descriptorpb.ExtensionRangeOptions_Declaration
type EnumDescriptorProto_EnumReservedRange = descriptorpb.EnumDescriptorProto_EnumReservedRange
+type FieldOptions_EditionDefault = descriptorpb.FieldOptions_EditionDefault
type UninterpretedOption_NamePart = descriptorpb.UninterpretedOption_NamePart
+type FeatureSetDefaults_FeatureSetEditionDefault = descriptorpb.FeatureSetDefaults_FeatureSetEditionDefault
type SourceCodeInfo_Location = descriptorpb.SourceCodeInfo_Location
type GeneratedCodeInfo_Annotation = descriptorpb.GeneratedCodeInfo_Annotation
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/ya.make
index a3372ee0ac..a96c8d9d3c 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(descriptor.pb.go)
+SRCS(
+ descriptor.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go
index 12ff35b94f..53b0251e92 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/generator.go
@@ -1434,6 +1434,7 @@ func (g *Generator) generateEnum(enum *EnumDescriptor) {
// The tag is a string like "varint,2,opt,name=fieldname,def=7" that
// identifies details of the field for the protocol buffer marshaling and unmarshaling
// code. The fields are:
+//
// wire encoding
// protocol tag number
// opt,req,rep for optional, required, or repeated
@@ -1442,6 +1443,7 @@ func (g *Generator) generateEnum(enum *EnumDescriptor) {
// enum= the name of the enum type if it is an enum-typed field.
// proto3 if this field is in a proto3 message
// def= string representation of the default value, if any.
+//
// The default value must be in a representation that can be used at run-time
// to generate the default value. Thus bools become 0 and 1, for instance.
func (g *Generator) goTag(message *Descriptor, field *descriptor.FieldDescriptorProto, wiretype string) string {
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/ya.make
index eacf0167de..bffa03fffd 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/ya.make
@@ -2,10 +2,14 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(remap.go)
+SRCS(
+ remap.go
+)
GO_TEST_SRCS(remap_test.go)
END()
-RECURSE(gotest)
+RECURSE(
+ gotest
+)
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/ya.make
index e74926a345..ffc7395d95 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/ya.make
@@ -1 +1,3 @@
-RECURSE(remap)
+RECURSE(
+ remap
+)
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/ya.make
index 40d4142115..b74f822ae0 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/ya.make
@@ -2,8 +2,12 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(generator.go)
+SRCS(
+ generator.go
+)
END()
-RECURSE(internal)
+RECURSE(
+ internal
+)
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/grpc/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/grpc/ya.make
index 0d9ef1ecee..3c94f9e302 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/grpc/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/grpc/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(grpc.go)
+SRCS(
+ grpc.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/main.go b/vendor/github.com/golang/protobuf/protoc-gen-go/main.go
index d45b719d1c..11b67d9f78 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/main.go
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/main.go
@@ -5,17 +5,21 @@
// protoc-gen-go is a plugin for the Google protocol buffer compiler to generate
// Go code. Install it by building this program and making it accessible within
// your PATH with the name:
+//
// protoc-gen-go
//
// The 'go' suffix becomes part of the argument for the protocol compiler,
// such that it can be invoked as:
+//
// protoc --go_out=paths=source_relative:. path/to/file.proto
//
// This generates Go bindings for the protocol buffer defined by file.proto.
// With that input, the output will be written to:
+//
// path/to/file.pb.go
//
// See the README and documentation for protocol buffers to learn more:
+//
// https://developers.google.com/protocol-buffers/
package main
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go
index b7b4a2f945..04561b858c 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go
@@ -16,6 +16,7 @@ type CodeGeneratorResponse_Feature = pluginpb.CodeGeneratorResponse_Feature
const CodeGeneratorResponse_FEATURE_NONE = pluginpb.CodeGeneratorResponse_FEATURE_NONE
const CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL = pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL
+const CodeGeneratorResponse_FEATURE_SUPPORTS_EDITIONS = pluginpb.CodeGeneratorResponse_FEATURE_SUPPORTS_EDITIONS
var CodeGeneratorResponse_Feature_name = pluginpb.CodeGeneratorResponse_Feature_name
var CodeGeneratorResponse_Feature_value = pluginpb.CodeGeneratorResponse_Feature_value
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/ya.make
index 040213ac06..7b8a798f38 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(plugin.pb.go)
+SRCS(
+ plugin.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/ya.make b/vendor/github.com/golang/protobuf/protoc-gen-go/ya.make
index 72afcec067..71c8487166 100644
--- a/vendor/github.com/golang/protobuf/protoc-gen-go/ya.make
+++ b/vendor/github.com/golang/protobuf/protoc-gen-go/ya.make
@@ -2,7 +2,9 @@ GO_PROGRAM()
LICENSE(BSD-3-Clause)
-SRCS(main.go)
+SRCS(
+ main.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/any.go b/vendor/github.com/golang/protobuf/ptypes/any.go
index 85f9f57365..fdff3fdb4c 100644
--- a/vendor/github.com/golang/protobuf/ptypes/any.go
+++ b/vendor/github.com/golang/protobuf/ptypes/any.go
@@ -127,9 +127,10 @@ func Is(any *anypb.Any, m proto.Message) bool {
// The allocated message is stored in the embedded proto.Message.
//
// Example:
-// var x ptypes.DynamicAny
-// if err := ptypes.UnmarshalAny(a, &x); err != nil { ... }
-// fmt.Printf("unmarshaled message: %v", x.Message)
+//
+// var x ptypes.DynamicAny
+// if err := ptypes.UnmarshalAny(a, &x); err != nil { ... }
+// fmt.Printf("unmarshaled message: %v", x.Message)
//
// Deprecated: Use the any.UnmarshalNew method instead to unmarshal
// the any message contents into a new instance of the underlying message.
diff --git a/vendor/github.com/golang/protobuf/ptypes/any/ya.make b/vendor/github.com/golang/protobuf/ptypes/any/ya.make
index 58359f557d..3131b76dff 100644
--- a/vendor/github.com/golang/protobuf/ptypes/any/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/any/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(any.pb.go)
+SRCS(
+ any.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/duration/ya.make b/vendor/github.com/golang/protobuf/ptypes/duration/ya.make
index 7c8eef36e8..daf68e86d1 100644
--- a/vendor/github.com/golang/protobuf/ptypes/duration/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/duration/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(duration.pb.go)
+SRCS(
+ duration.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/empty/ya.make b/vendor/github.com/golang/protobuf/ptypes/empty/ya.make
index db818008b6..8840533fca 100644
--- a/vendor/github.com/golang/protobuf/ptypes/empty/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/empty/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(empty.pb.go)
+SRCS(
+ empty.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/struct/ya.make b/vendor/github.com/golang/protobuf/ptypes/struct/ya.make
index 73194e76e5..3051fe3900 100644
--- a/vendor/github.com/golang/protobuf/ptypes/struct/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/struct/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(struct.pb.go)
+SRCS(
+ struct.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/ya.make b/vendor/github.com/golang/protobuf/ptypes/timestamp/ya.make
index 71548fdaa6..6fe94ace5b 100644
--- a/vendor/github.com/golang/protobuf/ptypes/timestamp/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/timestamp/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(timestamp.pb.go)
+SRCS(
+ timestamp.pb.go
+)
END()
diff --git a/vendor/github.com/golang/protobuf/ptypes/wrappers/ya.make b/vendor/github.com/golang/protobuf/ptypes/wrappers/ya.make
index 3233e5f877..2728112ab8 100644
--- a/vendor/github.com/golang/protobuf/ptypes/wrappers/ya.make
+++ b/vendor/github.com/golang/protobuf/ptypes/wrappers/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(wrappers.pb.go)
+SRCS(
+ wrappers.pb.go
+)
END()