Update protobuf v1.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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)
|
||||
}
|
||||
|
||||
12
vendor/github.com/gogo/protobuf/vanity/msg.go
generated
vendored
12
vendor/github.com/gogo/protobuf/vanity/msg.go
generated
vendored
@@ -137,6 +137,18 @@ func TurnOffGoUnrecognized(msg *descriptor.DescriptorProto) {
|
||||
SetBoolMessageOption(gogoproto.E_GoprotoUnrecognized, false)(msg)
|
||||
}
|
||||
|
||||
func TurnOffGoUnkeyed(msg *descriptor.DescriptorProto) {
|
||||
SetBoolMessageOption(gogoproto.E_GoprotoUnkeyed, false)(msg)
|
||||
}
|
||||
|
||||
func TurnOffGoSizecache(msg *descriptor.DescriptorProto) {
|
||||
SetBoolMessageOption(gogoproto.E_GoprotoSizecache, false)(msg)
|
||||
}
|
||||
|
||||
func TurnOnCompare(msg *descriptor.DescriptorProto) {
|
||||
SetBoolMessageOption(gogoproto.E_Compare, true)(msg)
|
||||
}
|
||||
|
||||
func TurnOnMessageName(msg *descriptor.DescriptorProto) {
|
||||
SetBoolMessageOption(gogoproto.E_Messagename, true)(msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user