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:
Jakob Borg
2019-01-14 11:53:36 +01:00
committed by GitHub
parent c87411851d
commit b01edca420
132 changed files with 41655 additions and 16821 deletions

View File

@@ -1,15 +1,6 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: subpkg/subproto.proto
/*
Package subpkg is a generated protocol buffer package.
It is generated from these files:
subpkg/subproto.proto
It has these top-level messages:
SubObject
*/
package subpkg
import proto "github.com/gogo/protobuf/proto"
@@ -29,21 +20,42 @@ var _ = math.Inf
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type SubObject struct {
XXX_unrecognized []byte `json:"-"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SubObject) Reset() { *m = SubObject{} }
func (m *SubObject) String() string { return proto.CompactTextString(m) }
func (*SubObject) ProtoMessage() {}
func (*SubObject) Descriptor() ([]byte, []int) { return fileDescriptorSubproto, []int{0} }
func (m *SubObject) Reset() { *m = SubObject{} }
func (m *SubObject) String() string { return proto.CompactTextString(m) }
func (*SubObject) ProtoMessage() {}
func (*SubObject) Descriptor() ([]byte, []int) {
return fileDescriptor_subproto_094c5f22e1aecb1e, []int{0}
}
func (m *SubObject) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubObject.Unmarshal(m, b)
}
func (m *SubObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubObject.Marshal(b, m, deterministic)
}
func (dst *SubObject) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubObject.Merge(dst, src)
}
func (m *SubObject) XXX_Size() int {
return xxx_messageInfo_SubObject.Size(m)
}
func (m *SubObject) XXX_DiscardUnknown() {
xxx_messageInfo_SubObject.DiscardUnknown(m)
}
var xxx_messageInfo_SubObject proto.InternalMessageInfo
func init() {
proto.RegisterType((*SubObject)(nil), "subpkg.SubObject")
}
func init() { proto.RegisterFile("subpkg/subproto.proto", fileDescriptorSubproto) }
func init() { proto.RegisterFile("subpkg/subproto.proto", fileDescriptor_subproto_094c5f22e1aecb1e) }
var fileDescriptorSubproto = []byte{
var fileDescriptor_subproto_094c5f22e1aecb1e = []byte{
// 88 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x2e, 0x4d, 0x2a,
0xc8, 0x4e, 0xd7, 0x07, 0x51, 0x45, 0xf9, 0x25, 0xf9, 0x7a, 0x60, 0x52, 0x88, 0x0d, 0x22, 0x2c,