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: proto3.proto
/*
Package vanity is a generated protocol buffer package.
It is generated from these files:
proto3.proto
It has these top-level messages:
Aproto3
*/
package vanity
import proto "github.com/gogo/protobuf/proto"
@@ -33,10 +24,38 @@ type Aproto3 struct {
B string `protobuf:"bytes,1,opt,name=B,proto3" json:"B,omitempty"`
}
func (m *Aproto3) Reset() { *m = Aproto3{} }
func (m *Aproto3) String() string { return proto.CompactTextString(m) }
func (*Aproto3) ProtoMessage() {}
func (*Aproto3) Descriptor() ([]byte, []int) { return fileDescriptorProto3, []int{0} }
func (m *Aproto3) Reset() { *m = Aproto3{} }
func (m *Aproto3) String() string { return proto.CompactTextString(m) }
func (*Aproto3) ProtoMessage() {}
func (*Aproto3) Descriptor() ([]byte, []int) {
return fileDescriptor_proto3_b593ea763dc96224, []int{0}
}
func (m *Aproto3) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Aproto3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Aproto3.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (dst *Aproto3) XXX_Merge(src proto.Message) {
xxx_messageInfo_Aproto3.Merge(dst, src)
}
func (m *Aproto3) XXX_Size() int {
return m.Size()
}
func (m *Aproto3) XXX_DiscardUnknown() {
xxx_messageInfo_Aproto3.DiscardUnknown(m)
}
var xxx_messageInfo_Aproto3 proto.InternalMessageInfo
func (m *Aproto3) GetB() string {
if m != nil {
@@ -82,6 +101,9 @@ func encodeVarintProto3(dAtA []byte, offset int, v uint64) int {
return offset + 1
}
func (m *Aproto3) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.B)
@@ -288,14 +310,14 @@ var (
ErrIntOverflowProto3 = fmt.Errorf("proto: integer overflow")
)
func init() { proto.RegisterFile("proto3.proto", fileDescriptorProto3) }
func init() { proto.RegisterFile("proto3.proto", fileDescriptor_proto3_b593ea763dc96224) }
var fileDescriptorProto3 = []byte{
// 87 bytes of a gzipped FileDescriptorProto
var fileDescriptor_proto3_b593ea763dc96224 = []byte{
// 95 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x28, 0xca, 0x2f,
0xc9, 0x37, 0xd6, 0x03, 0x53, 0x42, 0x6c, 0x65, 0x89, 0x79, 0x99, 0x25, 0x95, 0x4a, 0xe2, 0x5c,
0xec, 0x8e, 0x10, 0x09, 0x21, 0x1e, 0x2e, 0x46, 0x27, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20,
0x46, 0x27, 0x27, 0x81, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e,
0x71, 0xc2, 0x63, 0x39, 0x86, 0x24, 0x36, 0x88, 0x3a, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77,
0x21, 0xa3, 0xc0, 0x49, 0x00, 0x00, 0x00,
0x46, 0x27, 0x27, 0x89, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e,
0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x48, 0x62, 0x83,
0xa8, 0x07, 0x04, 0x00, 0x00, 0xff, 0xff, 0x73, 0xb1, 0xdb, 0xd2, 0x51, 0x00, 0x00, 0x00,
}