all: Update protobuf package 1.0.0 -> 1.2.0 (#5452)
Also adds a few file global options to keep the generated code similar to what we already had.
This commit is contained in:
16
vendor/github.com/gogo/protobuf/vanity/file.go
generated
vendored
16
vendor/github.com/gogo/protobuf/vanity/file.go
generated
vendored
@@ -172,6 +172,14 @@ func TurnOffGoUnrecognizedAll(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_GoprotoUnrecognizedAll, false)(file)
|
||||
}
|
||||
|
||||
func TurnOffGoUnkeyedAll(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_GoprotoUnkeyedAll, false)(file)
|
||||
}
|
||||
|
||||
func TurnOffGoSizecacheAll(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_GoprotoSizecacheAll, false)(file)
|
||||
}
|
||||
|
||||
func TurnOffGogoImport(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_GogoprotoImport, false)(file)
|
||||
}
|
||||
@@ -179,3 +187,11 @@ func TurnOffGogoImport(file *descriptor.FileDescriptorProto) {
|
||||
func TurnOnCompareAll(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_CompareAll, true)(file)
|
||||
}
|
||||
|
||||
func TurnOnMessageNameAll(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_MessagenameAll, true)(file)
|
||||
}
|
||||
|
||||
func TurnOnGoRegistration(file *descriptor.FileDescriptorProto) {
|
||||
SetBoolFileOption(gogoproto.E_GoprotoRegistration, true)(file)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user