internal/testprotos/legacy: initial commit
Add a corpus of generated protobuf messages generated at specific versions
of protoc-gen-go to ensure that we continue to support for generated messages
that have may never be updated.
Change-Id: I04a1b74306f471d7c99f5daf52399a5bd9adcbbc
Reviewed-on: https://go-review.googlesource.com/c/148831
Reviewed-by: Herbie Ong <herbie@google.com>
diff --git a/internal/encoding/tag/tag.go b/internal/encoding/tag/tag.go
index 5c5ba5b..17e0aca 100644
--- a/internal/encoding/tag/tag.go
+++ b/internal/encoding/tag/tag.go
@@ -32,10 +32,7 @@
//
// This function is a best effort attempt; parsing errors are ignored.
func Unmarshal(tag string, goType reflect.Type) ptype.Field {
- var f ptype.Field
- f.Options = &descriptorV1.FieldOptions{
- Packed: protoV1.Bool(false),
- }
+ f := ptype.Field{Options: new(descriptorV1.FieldOptions)}
for len(tag) > 0 {
i := strings.IndexByte(tag, ',')
if i < 0 {
@@ -108,7 +105,7 @@
case strings.HasPrefix(s, "json="):
f.JSONName = s[len("json="):]
case s == "packed":
- *f.Options.Packed = true
+ f.Options.Packed = protoV1.Bool(true)
case strings.HasPrefix(s, "weak="):
f.Options.Weak = protoV1.Bool(true)
f.MessageType = ptype.PlaceholderMessage(pref.FullName(s[len("weak="):]))
diff --git a/internal/impl/legacy_proto2_test.go b/internal/impl/legacy_proto2_test.go
deleted file mode 100644
index e7267f1..0000000
--- a/internal/impl/legacy_proto2_test.go
+++ /dev/null
@@ -1,759 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package impl
-
-// TODO: Move this to a separate package. We do *not* want this to be
-// auto-generated by the current protoc-gen-go since it is supposed to be a
-// snapshot of an generated message from the past.
-
-import "github.com/golang/protobuf/proto"
-
-type LP2MapEnum int32
-
-func (LP2MapEnum) EnumDescriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{0}
-}
-
-type LP2SiblingEnum int32
-
-func (LP2SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1}
-}
-
-type LP2Message_LP2ChildEnum int32
-
-func (LP2Message_LP2ChildEnum) EnumDescriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 0}
-}
-
-type LP2SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2SiblingMessage) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{0}
-}
-
-type LP2Message struct {
- Lp2Namedgroup *LP2Message_LP2NamedGroup `protobuf:"group,1,opt,name=LP2NamedGroup,json=lp2namedgroup" json:"lp2namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *LP2Message_LP2ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalSiblingEnum *LP2SiblingEnum `protobuf:"varint,116,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalChildMessage *LP2Message_LP2ChildMessage `protobuf:"bytes,117,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalSiblingMessage *LP2SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- OptionalNamedGroup *LP2Message_LP2NamedGroup `protobuf:"bytes,119,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- Optionalgroup *LP2Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *LP2Message_LP2ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum,def=10" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *LP2SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum,def=100" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *LP2Message_LP2ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum" json:"required_child_enum,omitempty"`
- RequiredSiblingEnum *LP2SiblingEnum `protobuf:"varint,316,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredChildMessage *LP2Message_LP2ChildMessage `protobuf:"bytes,317,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredSiblingMessage *LP2SiblingMessage `protobuf:"bytes,318,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- RequiredNamedGroup *LP2Message_LP2NamedGroup `protobuf:"bytes,319,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- Requiredgroup *LP2Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *LP2Message_LP2ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum,def=10" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *LP2SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum,def=100" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []LP2Message_LP2ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedSiblingEnum []LP2SiblingEnum `protobuf:"varint,516,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedChildMessage []*LP2Message_LP2ChildMessage `protobuf:"bytes,517,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedSiblingMessage []*LP2SiblingMessage `protobuf:"bytes,518,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- RepeatedNamedGroup []*LP2Message_LP2NamedGroup `protobuf:"bytes,519,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- Repeatedgroup []*LP2Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Repeated packed fields.
- RepeatedPackedBool []bool `protobuf:"varint,600,rep,packed,name=repeated_packed_bool,json=repeatedPackedBool" json:"repeated_packed_bool,omitempty"`
- RepeatedPackedInt32 []int32 `protobuf:"varint,601,rep,packed,name=repeated_packed_int32,json=repeatedPackedInt32" json:"repeated_packed_int32,omitempty"`
- RepeatedPackedSint32 []int32 `protobuf:"zigzag32,602,rep,packed,name=repeated_packed_sint32,json=repeatedPackedSint32" json:"repeated_packed_sint32,omitempty"`
- RepeatedPackedUint32 []uint32 `protobuf:"varint,603,rep,packed,name=repeated_packed_uint32,json=repeatedPackedUint32" json:"repeated_packed_uint32,omitempty"`
- RepeatedPackedInt64 []int64 `protobuf:"varint,604,rep,packed,name=repeated_packed_int64,json=repeatedPackedInt64" json:"repeated_packed_int64,omitempty"`
- RepeatedPackedSint64 []int64 `protobuf:"zigzag64,605,rep,packed,name=repeated_packed_sint64,json=repeatedPackedSint64" json:"repeated_packed_sint64,omitempty"`
- RepeatedPackedUint64 []uint64 `protobuf:"varint,606,rep,packed,name=repeated_packed_uint64,json=repeatedPackedUint64" json:"repeated_packed_uint64,omitempty"`
- RepeatedPackedFixed32 []uint32 `protobuf:"fixed32,607,rep,packed,name=repeated_packed_fixed32,json=repeatedPackedFixed32" json:"repeated_packed_fixed32,omitempty"`
- RepeatedPackedSfixed32 []int32 `protobuf:"fixed32,608,rep,packed,name=repeated_packed_sfixed32,json=repeatedPackedSfixed32" json:"repeated_packed_sfixed32,omitempty"`
- RepeatedPackedFloat []float32 `protobuf:"fixed32,609,rep,packed,name=repeated_packed_float,json=repeatedPackedFloat" json:"repeated_packed_float,omitempty"`
- RepeatedPackedFixed64 []uint64 `protobuf:"fixed64,610,rep,packed,name=repeated_packed_fixed64,json=repeatedPackedFixed64" json:"repeated_packed_fixed64,omitempty"`
- RepeatedPackedSfixed64 []int64 `protobuf:"fixed64,611,rep,packed,name=repeated_packed_sfixed64,json=repeatedPackedSfixed64" json:"repeated_packed_sfixed64,omitempty"`
- RepeatedPackedDouble []float64 `protobuf:"fixed64,612,rep,packed,name=repeated_packed_double,json=repeatedPackedDouble" json:"repeated_packed_double,omitempty"`
- // Repeated non-packed fields.
- RepeatedNonpackedBool []bool `protobuf:"varint,700,rep,name=repeated_nonpacked_bool,json=repeatedNonpackedBool" json:"repeated_nonpacked_bool,omitempty"`
- RepeatedNonpackedInt32 []int32 `protobuf:"varint,701,rep,name=repeated_nonpacked_int32,json=repeatedNonpackedInt32" json:"repeated_nonpacked_int32,omitempty"`
- RepeatedNonpackedSint32 []int32 `protobuf:"zigzag32,702,rep,name=repeated_nonpacked_sint32,json=repeatedNonpackedSint32" json:"repeated_nonpacked_sint32,omitempty"`
- RepeatedNonpackedUint32 []uint32 `protobuf:"varint,703,rep,name=repeated_nonpacked_uint32,json=repeatedNonpackedUint32" json:"repeated_nonpacked_uint32,omitempty"`
- RepeatedNonpackedInt64 []int64 `protobuf:"varint,704,rep,name=repeated_nonpacked_int64,json=repeatedNonpackedInt64" json:"repeated_nonpacked_int64,omitempty"`
- RepeatedNonpackedSint64 []int64 `protobuf:"zigzag64,705,rep,name=repeated_nonpacked_sint64,json=repeatedNonpackedSint64" json:"repeated_nonpacked_sint64,omitempty"`
- RepeatedNonpackedUint64 []uint64 `protobuf:"varint,706,rep,name=repeated_nonpacked_uint64,json=repeatedNonpackedUint64" json:"repeated_nonpacked_uint64,omitempty"`
- RepeatedNonpackedFixed32 []uint32 `protobuf:"fixed32,707,rep,name=repeated_nonpacked_fixed32,json=repeatedNonpackedFixed32" json:"repeated_nonpacked_fixed32,omitempty"`
- RepeatedNonpackedSfixed32 []int32 `protobuf:"fixed32,708,rep,name=repeated_nonpacked_sfixed32,json=repeatedNonpackedSfixed32" json:"repeated_nonpacked_sfixed32,omitempty"`
- RepeatedNonpackedFloat []float32 `protobuf:"fixed32,709,rep,name=repeated_nonpacked_float,json=repeatedNonpackedFloat" json:"repeated_nonpacked_float,omitempty"`
- RepeatedNonpackedFixed64 []uint64 `protobuf:"fixed64,710,rep,name=repeated_nonpacked_fixed64,json=repeatedNonpackedFixed64" json:"repeated_nonpacked_fixed64,omitempty"`
- RepeatedNonpackedSfixed64 []int64 `protobuf:"fixed64,711,rep,name=repeated_nonpacked_sfixed64,json=repeatedNonpackedSfixed64" json:"repeated_nonpacked_sfixed64,omitempty"`
- RepeatedNonpackedDouble []float64 `protobuf:"fixed64,712,rep,name=repeated_nonpacked_double,json=repeatedNonpackedDouble" json:"repeated_nonpacked_double,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,800,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,801,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,802,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,803,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,804,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,805,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,806,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,807,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,808,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,809,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,810,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,811,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,812,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,813,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,814,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolEnum map[bool]LP2MapEnum `protobuf:"bytes,815,rep,name=map_bool_enum,json=mapBoolEnum" json:"map_bool_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2.LP2MapEnum"`
- MapBoolChildMessage map[bool]*LP2Message_LP2ChildMessage `protobuf:"bytes,816,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingMessage map[bool]*LP2SiblingMessage `protobuf:"bytes,817,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*LP2Message_LP2NamedGroup `protobuf:"bytes,818,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,819,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,820,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,821,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,822,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,823,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,824,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,825,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,826,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- OneofUnion isLP2Message_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- OneofDefaultedUnion isLP2Message_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- proto.XXX_InternalExtensions `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1}
-}
-
-var extRange_LP2Message = []proto.ExtensionRange{
- {Start: 10000, End: 536870911},
-}
-
-func (*LP2Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_LP2Message
-}
-
-type isLP2Message_OneofUnion interface {
- isLP2Message_OneofUnion()
-}
-type isLP2Message_OneofDefaultedUnion interface {
- isLP2Message_OneofDefaultedUnion()
-}
-
-type LP2Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,900,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type LP2Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,901,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type LP2Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,902,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type LP2Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,903,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type LP2Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,904,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type LP2Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,905,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type LP2Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,906,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type LP2Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,907,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type LP2Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,908,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type LP2Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,909,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type LP2Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,910,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type LP2Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,911,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type LP2Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,912,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type LP2Message_OneofString struct {
- OneofString string `protobuf:"bytes,913,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type LP2Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,914,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-type LP2Message_OneofChildEnum struct {
- OneofChildEnum LP2Message_LP2ChildEnum `protobuf:"varint,915,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum,oneof"`
-}
-type LP2Message_OneofSiblingEnum struct {
- OneofSiblingEnum LP2SiblingEnum `protobuf:"varint,916,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum,oneof"`
-}
-type LP2Message_OneofChildMessage struct {
- OneofChildMessage *LP2Message_LP2ChildMessage `protobuf:"bytes,917,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type LP2Message_OneofSiblingMessage struct {
- OneofSiblingMessage *LP2SiblingMessage `protobuf:"bytes,918,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type LP2Message_OneofNamedGroup struct {
- OneofNamedGroup *LP2Message_LP2NamedGroup `protobuf:"bytes,919,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-type LP2Message_Oneofgroup struct {
- Oneofgroup *LP2Message_OneofGroup `protobuf:"group,920,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-type LP2Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,921,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type LP2Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,922,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type LP2Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,923,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-type LP2Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,1000,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-type LP2Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,1001,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-type LP2Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,1002,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-type LP2Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,1003,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-type LP2Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,1004,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-type LP2Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,1005,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-type LP2Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,1006,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-type LP2Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,1007,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-type LP2Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,1008,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-type LP2Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,1009,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-type LP2Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,1010,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-type LP2Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,1011,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-type LP2Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,1012,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-type LP2Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,1013,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-type LP2Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,1014,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-type LP2Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum LP2Message_LP2ChildEnum `protobuf:"varint,1015,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2.LP2Message_LP2ChildEnum,oneof,def=10"`
-}
-type LP2Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum LP2SiblingEnum `protobuf:"varint,1016,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2.LP2SiblingEnum,oneof,def=100"`
-}
-
-func (*LP2Message_OneofBool) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofInt32) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSint32) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofUint32) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofInt64) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSint64) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofUint64) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofFixed32) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSfixed32) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofFloat) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofFixed64) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSfixed64) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofDouble) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofString) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofBytes) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofChildEnum) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSiblingEnum) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofChildMessage) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofSiblingMessage) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofNamedGroup) isLP2Message_OneofUnion() {}
-func (*LP2Message_Oneofgroup) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofString1) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofString2) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofString3) isLP2Message_OneofUnion() {}
-func (*LP2Message_OneofDefaultedBool) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedInt32) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedSint32) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedUint32) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedInt64) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedSint64) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedUint64) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedFixed32) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedSfixed32) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedFloat) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedFixed64) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedSfixed64) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedDouble) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedString) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedBytes) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedChildEnum) isLP2Message_OneofDefaultedUnion() {}
-func (*LP2Message_OneofDefaultedSiblingEnum) isLP2Message_OneofDefaultedUnion() {}
-
-func (*LP2Message) XXX_OneofFuncs() (func(proto.Message, *proto.Buffer) error, func(proto.Message, int, int, *proto.Buffer) (bool, error), func(proto.Message) int, []interface{}) {
- return nil, nil, nil, []interface{}{
- (*LP2Message_OneofBool)(nil),
- (*LP2Message_OneofInt32)(nil),
- (*LP2Message_OneofSint32)(nil),
- (*LP2Message_OneofUint32)(nil),
- (*LP2Message_OneofInt64)(nil),
- (*LP2Message_OneofSint64)(nil),
- (*LP2Message_OneofUint64)(nil),
- (*LP2Message_OneofFixed32)(nil),
- (*LP2Message_OneofSfixed32)(nil),
- (*LP2Message_OneofFloat)(nil),
- (*LP2Message_OneofFixed64)(nil),
- (*LP2Message_OneofSfixed64)(nil),
- (*LP2Message_OneofDouble)(nil),
- (*LP2Message_OneofString)(nil),
- (*LP2Message_OneofBytes)(nil),
- (*LP2Message_OneofChildEnum)(nil),
- (*LP2Message_OneofSiblingEnum)(nil),
- (*LP2Message_OneofChildMessage)(nil),
- (*LP2Message_OneofSiblingMessage)(nil),
- (*LP2Message_OneofNamedGroup)(nil),
- (*LP2Message_Oneofgroup)(nil),
- (*LP2Message_OneofString1)(nil),
- (*LP2Message_OneofString2)(nil),
- (*LP2Message_OneofString3)(nil),
- (*LP2Message_OneofDefaultedBool)(nil),
- (*LP2Message_OneofDefaultedInt32)(nil),
- (*LP2Message_OneofDefaultedSint32)(nil),
- (*LP2Message_OneofDefaultedUint32)(nil),
- (*LP2Message_OneofDefaultedInt64)(nil),
- (*LP2Message_OneofDefaultedSint64)(nil),
- (*LP2Message_OneofDefaultedUint64)(nil),
- (*LP2Message_OneofDefaultedFixed32)(nil),
- (*LP2Message_OneofDefaultedSfixed32)(nil),
- (*LP2Message_OneofDefaultedFloat)(nil),
- (*LP2Message_OneofDefaultedFixed64)(nil),
- (*LP2Message_OneofDefaultedSfixed64)(nil),
- (*LP2Message_OneofDefaultedDouble)(nil),
- (*LP2Message_OneofDefaultedString)(nil),
- (*LP2Message_OneofDefaultedBytes)(nil),
- (*LP2Message_OneofDefaultedChildEnum)(nil),
- (*LP2Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-type LP2Message_LP2ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_LP2ChildMessage) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 0}
-}
-
-type LP2Message_LP2NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_LP2NamedGroup) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 1}
-}
-
-type LP2Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_OptionalGroup) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 2}
-}
-
-type LP2Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_RequiredGroup) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 3}
-}
-
-type LP2Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_RepeatedGroup) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 4}
-}
-
-type LP2Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP2Message_OneofGroup) Descriptor() ([]byte, []int) {
- return LP2FileDescriptor, []int{1, 32}
-}
-
-var LP2FileDescriptor = []byte{
- // 3741 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x5b, 0x67, 0x74, 0x1b, 0xc7,
- 0xb5, 0xc6, 0x02, 0x04, 0x97, 0x1a, 0x11, 0x24, 0xb0, 0xa4, 0xa8, 0x11, 0x9f, 0xdf, 0x7b, 0x88,
- 0xe2, 0x38, 0x88, 0x6c, 0x29, 0x22, 0x38, 0x1c, 0x59, 0xb0, 0x65, 0x85, 0x94, 0xe5, 0xc0, 0x3e,
- 0xb2, 0xa4, 0xb3, 0x8a, 0x92, 0xd8, 0x47, 0x8e, 0x42, 0x99, 0x20, 0x4d, 0x0b, 0x24, 0x68, 0x92,
- 0xb0, 0xa5, 0x73, 0xfc, 0x43, 0x49, 0xdc, 0xd2, 0xdd, 0x6b, 0x8a, 0xd3, 0x9b, 0x7b, 0xb7, 0xe3,
- 0x96, 0xee, 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0x66, 0x45, 0x3d, 0xa4, 0xfc, 0xd5, 0x11, 0x7f, 0x51, 0x12, 0x76, 0x00, 0x51, 0x15,
- 0x8f, 0x65, 0x45, 0x55, 0xd8, 0x00, 0x44, 0x61, 0xc4, 0x06, 0x40, 0x09, 0x7e, 0x3c, 0x2b, 0x6a,
- 0x23, 0x26, 0x00, 0x4a, 0x96, 0x08, 0x80, 0x12, 0xfc, 0x89, 0xac, 0xa8, 0x90, 0xb8, 0x00, 0x62,
- 0x01, 0x44, 0x9d, 0x7c, 0x32, 0x2b, 0xea, 0x24, 0x2e, 0x00, 0xfe, 0x7e, 0x34, 0x68, 0x01, 0x90,
- 0xeb, 0xfd, 0x53, 0x59, 0x51, 0x2d, 0x29, 0x1f, 0x47, 0x10, 0x64, 0xc1, 0x6c, 0x63, 0xef, 0x00,
- 0xd1, 0x20, 0x24, 0xc6, 0xa7, 0xb3, 0xa2, 0x66, 0x52, 0xfe, 0x9a, 0x68, 0x18, 0x93, 0x96, 0xaa,
- 0xd3, 0xe6, 0xc1, 0x2b, 0xe7, 0x33, 0x59, 0x51, 0x39, 0xb6, 0x44, 0x42, 0xf1, 0x2c, 0x11, 0x06,
- 0x25, 0xf8, 0xb3, 0x59, 0x51, 0x3f, 0xb1, 0x61, 0x50, 0xb2, 0x64, 0x18, 0x94, 0xe0, 0xcf, 0x65,
- 0x45, 0x15, 0xc5, 0x87, 0x11, 0xfb, 0x3c, 0x44, 0x2d, 0x3d, 0x91, 0x15, 0xb5, 0x64, 0x7b, 0x1e,
- 0xa2, 0x9c, 0xce, 0x44, 0xb9, 0x99, 0xf1, 0x39, 0x5e, 0x3f, 0x50, 0x44, 0x37, 0x77, 0xf2, 0xad,
- 0x70, 0xa4, 0xa5, 0xad, 0xea, 0xf4, 0xf1, 0x39, 0x56, 0x57, 0xec, 0xbf, 0xed, 0xb3, 0x8b, 0xf3,
- 0x87, 0xfd, 0x95, 0x33, 0x6a, 0xc4, 0x3b, 0x0b, 0xf5, 0x04, 0x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0x1f, 0xaf, 0x78, 0xd5, 0xae, 0x7c, 0x7a, 0xdd, 0x08, 0xea, 0x31, 0x9b,
- 0x41, 0x35, 0xa3, 0x09, 0x0f, 0xc9, 0x19, 0x3d, 0xe1, 0x78, 0xdd, 0x6a, 0x4a, 0xb7, 0xa4, 0xff,
- 0x1b, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xc1, 0x4f, 0x87, 0x12, 0x3d, 0x00, 0x00,
-}
diff --git a/internal/impl/legacy_proto3_test.go b/internal/impl/legacy_proto3_test.go
deleted file mode 100644
index 83f2e65..0000000
--- a/internal/impl/legacy_proto3_test.go
+++ /dev/null
@@ -1,422 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package impl
-
-// TODO: Move this to a separate package. We do *not* want this to be
-// auto-generated by the current protoc-gen-go since it is supposed to be a
-// snapshot of an generated message from the past.
-
-import "github.com/golang/protobuf/proto"
-
-type LP3SiblingEnum int32
-
-func (LP3SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return LP3FileDescriptor, []int{0}
-}
-
-type LP3Message_LP3ChildEnum int32
-
-func (LP3Message_LP3ChildEnum) EnumDescriptor() ([]byte, []int) {
- return LP3FileDescriptor, []int{1, 0}
-}
-
-type LP3SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP3SiblingMessage) Descriptor() ([]byte, []int) {
- return LP3FileDescriptor, []int{0}
-}
-
-type LP3Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum LP3Message_LP3ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,proto3,enum=google.golang.org.proto3.LP3Message_LP3ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalSiblingEnum LP3SiblingEnum `protobuf:"varint,116,opt,name=optional_sibling_enum,json=optionalSiblingEnum,proto3,enum=google.golang.org.proto3.LP3SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalChildMessage *LP3Message_LP3ChildMessage `protobuf:"bytes,117,opt,name=optional_child_message,json=optionalChildMessage,proto3" json:"optional_child_message,omitempty"`
- OptionalSiblingMessage *LP3SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage,proto3" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []LP3Message_LP3ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,proto3,enum=google.golang.org.proto3.LP3Message_LP3ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedSiblingEnum []LP3SiblingEnum `protobuf:"varint,216,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,proto3,enum=google.golang.org.proto3.LP3SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedChildMessage []*LP3Message_LP3ChildMessage `protobuf:"bytes,217,rep,name=repeated_child_message,json=repeatedChildMessage,proto3" json:"repeated_child_message,omitempty"`
- RepeatedSiblingMessage []*LP3SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage,proto3" json:"repeated_sibling_message,omitempty"`
- // Repeated packed fields.
- RepeatedPackedBool []bool `protobuf:"varint,300,rep,packed,name=repeated_packed_bool,json=repeatedPackedBool,proto3" json:"repeated_packed_bool,omitempty"`
- RepeatedPackedInt32 []int32 `protobuf:"varint,301,rep,packed,name=repeated_packed_int32,json=repeatedPackedInt32,proto3" json:"repeated_packed_int32,omitempty"`
- RepeatedPackedSint32 []int32 `protobuf:"zigzag32,302,rep,packed,name=repeated_packed_sint32,json=repeatedPackedSint32,proto3" json:"repeated_packed_sint32,omitempty"`
- RepeatedPackedUint32 []uint32 `protobuf:"varint,303,rep,packed,name=repeated_packed_uint32,json=repeatedPackedUint32,proto3" json:"repeated_packed_uint32,omitempty"`
- RepeatedPackedInt64 []int64 `protobuf:"varint,304,rep,packed,name=repeated_packed_int64,json=repeatedPackedInt64,proto3" json:"repeated_packed_int64,omitempty"`
- RepeatedPackedSint64 []int64 `protobuf:"zigzag64,305,rep,packed,name=repeated_packed_sint64,json=repeatedPackedSint64,proto3" json:"repeated_packed_sint64,omitempty"`
- RepeatedPackedUint64 []uint64 `protobuf:"varint,306,rep,packed,name=repeated_packed_uint64,json=repeatedPackedUint64,proto3" json:"repeated_packed_uint64,omitempty"`
- RepeatedPackedFixed32 []uint32 `protobuf:"fixed32,307,rep,packed,name=repeated_packed_fixed32,json=repeatedPackedFixed32,proto3" json:"repeated_packed_fixed32,omitempty"`
- RepeatedPackedSfixed32 []int32 `protobuf:"fixed32,308,rep,packed,name=repeated_packed_sfixed32,json=repeatedPackedSfixed32,proto3" json:"repeated_packed_sfixed32,omitempty"`
- RepeatedPackedFloat []float32 `protobuf:"fixed32,309,rep,packed,name=repeated_packed_float,json=repeatedPackedFloat,proto3" json:"repeated_packed_float,omitempty"`
- RepeatedPackedFixed64 []uint64 `protobuf:"fixed64,310,rep,packed,name=repeated_packed_fixed64,json=repeatedPackedFixed64,proto3" json:"repeated_packed_fixed64,omitempty"`
- RepeatedPackedSfixed64 []int64 `protobuf:"fixed64,311,rep,packed,name=repeated_packed_sfixed64,json=repeatedPackedSfixed64,proto3" json:"repeated_packed_sfixed64,omitempty"`
- RepeatedPackedDouble []float64 `protobuf:"fixed64,312,rep,packed,name=repeated_packed_double,json=repeatedPackedDouble,proto3" json:"repeated_packed_double,omitempty"`
- // Repeated non-packed fields.
- RepeatedNonpackedBool []bool `protobuf:"varint,400,rep,name=repeated_nonpacked_bool,json=repeatedNonpackedBool,proto3" json:"repeated_nonpacked_bool,omitempty"`
- RepeatedNonpackedInt32 []int32 `protobuf:"varint,401,rep,name=repeated_nonpacked_int32,json=repeatedNonpackedInt32,proto3" json:"repeated_nonpacked_int32,omitempty"`
- RepeatedNonpackedSint32 []int32 `protobuf:"zigzag32,402,rep,name=repeated_nonpacked_sint32,json=repeatedNonpackedSint32,proto3" json:"repeated_nonpacked_sint32,omitempty"`
- RepeatedNonpackedUint32 []uint32 `protobuf:"varint,403,rep,name=repeated_nonpacked_uint32,json=repeatedNonpackedUint32,proto3" json:"repeated_nonpacked_uint32,omitempty"`
- RepeatedNonpackedInt64 []int64 `protobuf:"varint,404,rep,name=repeated_nonpacked_int64,json=repeatedNonpackedInt64,proto3" json:"repeated_nonpacked_int64,omitempty"`
- RepeatedNonpackedSint64 []int64 `protobuf:"zigzag64,405,rep,name=repeated_nonpacked_sint64,json=repeatedNonpackedSint64,proto3" json:"repeated_nonpacked_sint64,omitempty"`
- RepeatedNonpackedUint64 []uint64 `protobuf:"varint,406,rep,name=repeated_nonpacked_uint64,json=repeatedNonpackedUint64,proto3" json:"repeated_nonpacked_uint64,omitempty"`
- RepeatedNonpackedFixed32 []uint32 `protobuf:"fixed32,407,rep,name=repeated_nonpacked_fixed32,json=repeatedNonpackedFixed32,proto3" json:"repeated_nonpacked_fixed32,omitempty"`
- RepeatedNonpackedSfixed32 []int32 `protobuf:"fixed32,408,rep,name=repeated_nonpacked_sfixed32,json=repeatedNonpackedSfixed32,proto3" json:"repeated_nonpacked_sfixed32,omitempty"`
- RepeatedNonpackedFloat []float32 `protobuf:"fixed32,409,rep,name=repeated_nonpacked_float,json=repeatedNonpackedFloat,proto3" json:"repeated_nonpacked_float,omitempty"`
- RepeatedNonpackedFixed64 []uint64 `protobuf:"fixed64,410,rep,name=repeated_nonpacked_fixed64,json=repeatedNonpackedFixed64,proto3" json:"repeated_nonpacked_fixed64,omitempty"`
- RepeatedNonpackedSfixed64 []int64 `protobuf:"fixed64,411,rep,name=repeated_nonpacked_sfixed64,json=repeatedNonpackedSfixed64,proto3" json:"repeated_nonpacked_sfixed64,omitempty"`
- RepeatedNonpackedDouble []float64 `protobuf:"fixed64,412,rep,name=repeated_nonpacked_double,json=repeatedNonpackedDouble,proto3" json:"repeated_nonpacked_double,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,500,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,501,rep,name=map_bool_int32,json=mapBoolInt32,proto3" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,502,rep,name=map_bool_sint32,json=mapBoolSint32,proto3" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,503,rep,name=map_bool_uint32,json=mapBoolUint32,proto3" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,504,rep,name=map_bool_int64,json=mapBoolInt64,proto3" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,505,rep,name=map_bool_sint64,json=mapBoolSint64,proto3" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,506,rep,name=map_bool_uint64,json=mapBoolUint64,proto3" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,507,rep,name=map_bool_fixed32,json=mapBoolFixed32,proto3" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,508,rep,name=map_bool_sfixed32,json=mapBoolSfixed32,proto3" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,509,rep,name=map_bool_float,json=mapBoolFloat,proto3" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,510,rep,name=map_bool_fixed64,json=mapBoolFixed64,proto3" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,511,rep,name=map_bool_sfixed64,json=mapBoolSfixed64,proto3" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,512,rep,name=map_bool_double,json=mapBoolDouble,proto3" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolString map[bool]string `protobuf:"bytes,513,rep,name=map_bool_string,json=mapBoolString,proto3" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,514,rep,name=map_bool_bytes,json=mapBoolBytes,proto3" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]LP3Message_LP3ChildEnum `protobuf:"bytes,515,rep,name=map_bool_child_enum,json=mapBoolChildEnum,proto3" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3.LP3Message_LP3ChildEnum"`
- MapBoolSiblingEnum map[bool]LP3SiblingEnum `protobuf:"bytes,516,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum,proto3" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3.LP3SiblingEnum"`
- MapBoolChildMessage map[bool]*LP3Message_LP3ChildMessage `protobuf:"bytes,517,rep,name=map_bool_child_message,json=mapBoolChildMessage,proto3" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolSiblingMessage map[bool]*LP3SiblingMessage `protobuf:"bytes,518,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage,proto3" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,519,rep,name=map_int32_bool,json=mapInt32Bool,proto3" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,520,rep,name=map_sint32_bool,json=mapSint32Bool,proto3" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,521,rep,name=map_uint32_bool,json=mapUint32Bool,proto3" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,522,rep,name=map_int64_bool,json=mapInt64Bool,proto3" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,523,rep,name=map_sint64_bool,json=mapSint64Bool,proto3" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,524,rep,name=map_uint64_bool,json=mapUint64Bool,proto3" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,525,rep,name=map_fixed32_bool,json=mapFixed32Bool,proto3" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapStringBool map[string]bool `protobuf:"bytes,526,rep,name=map_string_bool,json=mapStringBool,proto3" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- // Oneof fields.
- OneofUnion isLP3Message_OneofUnion `protobuf_oneof:"oneof_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP3Message) Descriptor() ([]byte, []int) {
- return LP3FileDescriptor, []int{1}
-}
-
-type isLP3Message_OneofUnion interface {
- isLP3Message_OneofUnion()
-}
-
-type LP3Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,600,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
-}
-type LP3Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,601,opt,name=oneof_int32,json=oneofInt32,proto3,oneof"`
-}
-type LP3Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,602,opt,name=oneof_sint32,json=oneofSint32,proto3,oneof"`
-}
-type LP3Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,603,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
-}
-type LP3Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,604,opt,name=oneof_int64,json=oneofInt64,proto3,oneof"`
-}
-type LP3Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,605,opt,name=oneof_sint64,json=oneofSint64,proto3,oneof"`
-}
-type LP3Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,606,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
-}
-type LP3Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,607,opt,name=oneof_fixed32,json=oneofFixed32,proto3,oneof"`
-}
-type LP3Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,608,opt,name=oneof_sfixed32,json=oneofSfixed32,proto3,oneof"`
-}
-type LP3Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,609,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
-}
-type LP3Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,610,opt,name=oneof_fixed64,json=oneofFixed64,proto3,oneof"`
-}
-type LP3Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,611,opt,name=oneof_sfixed64,json=oneofSfixed64,proto3,oneof"`
-}
-type LP3Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,612,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
-}
-type LP3Message_OneofString struct {
- OneofString string `protobuf:"bytes,613,opt,name=oneof_string,json=oneofString,proto3,oneof"`
-}
-type LP3Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,614,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-type LP3Message_OneofChildEnum struct {
- OneofChildEnum LP3Message_LP3ChildEnum `protobuf:"varint,615,opt,name=oneof_child_enum,json=oneofChildEnum,proto3,enum=google.golang.org.proto3.LP3Message_LP3ChildEnum,oneof"`
-}
-type LP3Message_OneofSiblingEnum struct {
- OneofSiblingEnum LP3SiblingEnum `protobuf:"varint,616,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,proto3,enum=google.golang.org.proto3.LP3SiblingEnum,oneof"`
-}
-type LP3Message_OneofChildMessage struct {
- OneofChildMessage *LP3Message_LP3ChildMessage `protobuf:"bytes,617,opt,name=oneof_child_message,json=oneofChildMessage,proto3,oneof"`
-}
-type LP3Message_OneofSiblingMessage struct {
- OneofSiblingMessage *LP3SiblingMessage `protobuf:"bytes,618,opt,name=oneof_sibling_message,json=oneofSiblingMessage,proto3,oneof"`
-}
-type LP3Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,619,opt,name=oneof_string1,json=oneofString1,proto3,oneof"`
-}
-type LP3Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,620,opt,name=oneof_string2,json=oneofString2,proto3,oneof"`
-}
-type LP3Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,621,opt,name=oneof_string3,json=oneofString3,proto3,oneof"`
-}
-
-func (*LP3Message_OneofBool) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofInt32) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSint32) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofUint32) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofInt64) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSint64) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofUint64) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofFixed32) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSfixed32) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofFloat) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofFixed64) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSfixed64) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofDouble) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofString) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofBytes) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofChildEnum) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSiblingEnum) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofChildMessage) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofSiblingMessage) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofString1) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofString2) isLP3Message_OneofUnion() {}
-func (*LP3Message_OneofString3) isLP3Message_OneofUnion() {}
-
-func (*LP3Message) XXX_OneofFuncs() (func(proto.Message, *proto.Buffer) error, func(proto.Message, int, int, *proto.Buffer) (bool, error), func(proto.Message) int, []interface{}) {
- return nil, nil, nil, []interface{}{
- (*LP3Message_OneofBool)(nil),
- (*LP3Message_OneofInt32)(nil),
- (*LP3Message_OneofSint32)(nil),
- (*LP3Message_OneofUint32)(nil),
- (*LP3Message_OneofInt64)(nil),
- (*LP3Message_OneofSint64)(nil),
- (*LP3Message_OneofUint64)(nil),
- (*LP3Message_OneofFixed32)(nil),
- (*LP3Message_OneofSfixed32)(nil),
- (*LP3Message_OneofFloat)(nil),
- (*LP3Message_OneofFixed64)(nil),
- (*LP3Message_OneofSfixed64)(nil),
- (*LP3Message_OneofDouble)(nil),
- (*LP3Message_OneofString)(nil),
- (*LP3Message_OneofBytes)(nil),
- (*LP3Message_OneofChildEnum)(nil),
- (*LP3Message_OneofSiblingEnum)(nil),
- (*LP3Message_OneofChildMessage)(nil),
- (*LP3Message_OneofSiblingMessage)(nil),
- (*LP3Message_OneofString1)(nil),
- (*LP3Message_OneofString2)(nil),
- (*LP3Message_OneofString3)(nil),
- }
-}
-
-type LP3Message_LP3ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (*LP3Message_LP3ChildMessage) Descriptor() ([]byte, []int) {
- return LP3FileDescriptor, []int{1, 0}
-}
-
-var LP3FileDescriptor = []byte{
- // 2271 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0xe7, 0x73, 0x1b, 0xc7,
- 0x15, 0xc7, 0xe1, 0xc0, 0xb6, 0x06, 0x08, 0xe0, 0x20, 0x52, 0x6b, 0xe6, 0xcb, 0x8d, 0xe2, 0x38,
- 0x17, 0xd9, 0xc3, 0x19, 0x12, 0xeb, 0x75, 0x49, 0x6c, 0x45, 0x74, 0xe4, 0x20, 0x1e, 0xdb, 0xd2,
- 0x9c, 0xc2, 0xc9, 0xc4, 0x13, 0x47, 0x01, 0x45, 0x00, 0x86, 0x04, 0xe0, 0x18, 0x12, 0xd0, 0x44,
- 0x33, 0xf9, 0x90, 0xde, 0x93, 0x49, 0xef, 0x7f, 0x42, 0x7a, 0xff, 0x13, 0xd2, 0x7b, 0xb1, 0x9d,
- 0xde, 0xfb, 0x87, 0xcc, 0xa4, 0xf7, 0xd9, 0x7b, 0x5b, 0xef, 0xf6, 0x08, 0x1c, 0x3e, 0x68, 0x04,
- 0x3c, 0xfc, 0xde, 0xfb, 0xed, 0x7b, 0xb7, 0xbf, 0xb7, 0xfb, 0x78, 0xa8, 0x3e, 0xee, 0x1c, 0x8d,
- 0x2f, 0x1d, 0x1c, 0x46, 0xe3, 0xa8, 0xb9, 0x19, 0xff, 0xe7, 0xe1, 0x5e, 0x14, 0xf5, 0x06, 0x9d,
- 0xcd, 0x5e, 0x34, 0x68, 0x8f, 0x7a, 0x9b, 0xd1, 0x61, 0x0f, 0x7e, 0x68, 0x9e, 0x6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 0xe1, 0x3f, 0x6b, 0xf2, 0xe7, 0x7a, 0x3d, 0x96, 0xda, 0x1e,
- 0xe6, 0xe4, 0xa3, 0xb3, 0x2d, 0x4c, 0x6b, 0xde, 0xb0, 0x43, 0x13, 0xa3, 0x8d, 0x1e, 0xa1, 0x3e,
- 0x5b, 0x84, 0xdd, 0xec, 0x08, 0x95, 0xd9, 0x0e, 0x10, 0x73, 0x36, 0xd1, 0x03, 0xb8, 0xb3, 0x27,
- 0x91, 0x11, 0xc1, 0x9b, 0x3d, 0x89, 0x8c, 0x08, 0xa5, 0x69, 0x11, 0xa0, 0x67, 0x25, 0x67, 0x07,
- 0x3d, 0xc4, 0xd2, 0x8c, 0x69, 0x98, 0xa3, 0x81, 0x1e, 0x61, 0x65, 0x4a, 0x84, 0x53, 0xa7, 0x51,
- 0x59, 0xd7, 0xa3, 0xb7, 0x8c, 0x4a, 0x0f, 0x9f, 0x0b, 0xcf, 0xd7, 0x0a, 0xde, 0x12, 0x72, 0xcf,
- 0x3f, 0x74, 0xae, 0xe6, 0xb0, 0x0f, 0xcf, 0x7d, 0xde, 0xf9, 0x5a, 0x71, 0xa7, 0x22, 0x6e, 0x93,
- 0x93, 0x51, 0x3f, 0x1a, 0x9d, 0xbe, 0x15, 0xad, 0x9a, 0xda, 0x3a, 0xce, 0x79, 0x6f, 0x11, 0x36,
- 0xe7, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x09, 0x11, 0x7d, 0x5b, 0x0c, 0x26, 0x00, 0x00,
-}
diff --git a/internal/impl/legacy_test.go b/internal/impl/legacy_test.go
index caa0043..379615b 100644
--- a/internal/impl/legacy_test.go
+++ b/internal/impl/legacy_test.go
@@ -11,14 +11,25 @@
"testing"
protoV1 "github.com/golang/protobuf/proto"
- "github.com/golang/protobuf/v2/internal/encoding/pack"
- "github.com/golang/protobuf/v2/internal/pragma"
+ pack "github.com/golang/protobuf/v2/internal/encoding/pack"
+ pragma "github.com/golang/protobuf/v2/internal/pragma"
pref "github.com/golang/protobuf/v2/reflect/protoreflect"
ptype "github.com/golang/protobuf/v2/reflect/prototype"
- "github.com/google/go-cmp/cmp"
+ cmp "github.com/google/go-cmp/cmp"
+
+ proto2_20160225 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5"
+ proto2_20160519 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5"
+ proto2_20180125 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152"
+ proto2_20180430 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09"
+ proto2_20180814 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61"
+ proto3_20160225 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5"
+ proto3_20160519 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5"
+ proto3_20180125 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152"
+ proto3_20180430 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09"
+ proto3_20180814 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61"
)
-func mustLoadFileDesc(b []byte) pref.FileDescriptor {
+func mustLoadFileDesc(b []byte, _ []int) pref.FileDescriptor {
fd, err := ptype.NewFileFromDescriptorProto(loadFileDesc(b), nil)
if err != nil {
panic(err)
@@ -26,59 +37,293 @@
return fd
}
-var fileDescLP2 = mustLoadFileDesc(LP2FileDescriptor)
-var fileDescLP3 = mustLoadFileDesc(LP3FileDescriptor)
-
func TestLegacyDescriptor(t *testing.T) {
- tests := []struct {
- got pref.Descriptor
- want pref.Descriptor
- }{{
- got: loadEnumDesc(reflect.TypeOf(LP2MapEnum(0))),
- want: fileDescLP2.Enums().ByName("LP2MapEnum"),
+ var tests []struct{ got, want pref.Descriptor }
+
+ fileDescP2_20160225 := mustLoadFileDesc(new(proto2_20160225.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto2_20160225.SiblingEnum(0))),
+ want: fileDescP2_20160225.Enums().ByName("SiblingEnum"),
}, {
- got: loadEnumDesc(reflect.TypeOf(LP2SiblingEnum(0))),
- want: fileDescLP2.Enums().ByName("LP2SiblingEnum"),
+ got: loadEnumDesc(reflect.TypeOf(proto2_20160225.Message_ChildEnum(0))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Enums().ByName("ChildEnum"),
}, {
- got: loadEnumDesc(reflect.TypeOf(LP2Message_LP2ChildEnum(0))),
- want: fileDescLP2.Messages().ByName("LP2Message").Enums().ByName("LP2ChildEnum"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.SiblingMessage))),
+ want: fileDescP2_20160225.Messages().ByName("SiblingMessage"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message))),
- want: fileDescLP2.Messages().ByName("LP2Message"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_ChildMessage))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ChildMessage"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message_LP2ChildMessage))),
- want: fileDescLP2.Messages().ByName("LP2Message").Messages().ByName("LP2ChildMessage"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message))),
+ want: fileDescP2_20160225.Messages().ByName("Message"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message_LP2NamedGroup))),
- want: fileDescLP2.Messages().ByName("LP2Message").Messages().ByName("LP2NamedGroup"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_NamedGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("NamedGroup"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message_OptionalGroup))),
- want: fileDescLP2.Messages().ByName("LP2Message").Messages().ByName("OptionalGroup"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_OptionalGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message_RequiredGroup))),
- want: fileDescLP2.Messages().ByName("LP2Message").Messages().ByName("RequiredGroup"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_RequiredGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2Message_RepeatedGroup))),
- want: fileDescLP2.Messages().ByName("LP2Message").Messages().ByName("RepeatedGroup"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_RepeatedGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP2SiblingMessage))),
- want: fileDescLP2.Messages().ByName("LP2SiblingMessage"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_OneofGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("OneofGroup"),
}, {
- got: loadEnumDesc(reflect.TypeOf(LP3SiblingEnum(0))),
- want: fileDescLP3.Enums().ByName("LP3SiblingEnum"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_ExtensionOptionalGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
}, {
- got: loadEnumDesc(reflect.TypeOf(LP3Message_LP3ChildEnum(0))),
- want: fileDescLP3.Messages().ByName("LP3Message").Enums().ByName("LP3ChildEnum"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160225.Message_ExtensionRepeatedGroup))),
+ want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ExtensionRepeatedGroup"),
+ }}...)
+
+ fileDescP3_20160225 := mustLoadFileDesc(new(proto3_20160225.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto3_20160225.SiblingEnum(0))),
+ want: fileDescP3_20160225.Enums().ByName("SiblingEnum"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP3Message))),
- want: fileDescLP3.Messages().ByName("LP3Message"),
+ got: loadEnumDesc(reflect.TypeOf(proto3_20160225.Message_ChildEnum(0))),
+ want: fileDescP3_20160225.Messages().ByName("Message").Enums().ByName("ChildEnum"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP3Message_LP3ChildMessage))),
- want: fileDescLP3.Messages().ByName("LP3Message").Messages().ByName("LP3ChildMessage"),
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160225.SiblingMessage))),
+ want: fileDescP3_20160225.Messages().ByName("SiblingMessage"),
}, {
- got: loadMessageDesc(reflect.TypeOf(new(LP3SiblingMessage))),
- want: fileDescLP3.Messages().ByName("LP3SiblingMessage"),
- }}
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160225.Message_ChildMessage))),
+ want: fileDescP3_20160225.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160225.Message))),
+ want: fileDescP3_20160225.Messages().ByName("Message"),
+ }}...)
+
+ fileDescP2_20160519 := mustLoadFileDesc(new(proto2_20160519.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto2_20160519.SiblingEnum(0))),
+ want: fileDescP2_20160519.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto2_20160519.Message_ChildEnum(0))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.SiblingMessage))),
+ want: fileDescP2_20160519.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_ChildMessage))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message))),
+ want: fileDescP2_20160519.Messages().ByName("Message"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_NamedGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("NamedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_OptionalGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_RequiredGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_RepeatedGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_OneofGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("OneofGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_ExtensionOptionalGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20160519.Message_ExtensionRepeatedGroup))),
+ want: fileDescP2_20160519.Messages().ByName("Message").Messages().ByName("ExtensionRepeatedGroup"),
+ }}...)
+
+ fileDescP3_20160519 := mustLoadFileDesc(new(proto3_20160519.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto3_20160519.SiblingEnum(0))),
+ want: fileDescP3_20160519.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto3_20160519.Message_ChildEnum(0))),
+ want: fileDescP3_20160519.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160519.SiblingMessage))),
+ want: fileDescP3_20160519.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160519.Message_ChildMessage))),
+ want: fileDescP3_20160519.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20160519.Message))),
+ want: fileDescP3_20160519.Messages().ByName("Message"),
+ }}...)
+
+ fileDescP2_20180125 := mustLoadFileDesc(new(proto2_20180125.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180125.SiblingEnum(0))),
+ want: fileDescP2_20180125.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180125.Message_ChildEnum(0))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.SiblingMessage))),
+ want: fileDescP2_20180125.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_ChildMessage))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message))),
+ want: fileDescP2_20180125.Messages().ByName("Message"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_NamedGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("NamedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_OptionalGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_RequiredGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_RepeatedGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_OneofGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("OneofGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_ExtensionOptionalGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180125.Message_ExtensionRepeatedGroup))),
+ want: fileDescP2_20180125.Messages().ByName("Message").Messages().ByName("ExtensionRepeatedGroup"),
+ }}...)
+
+ fileDescP3_20180125 := mustLoadFileDesc(new(proto3_20180125.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180125.SiblingEnum(0))),
+ want: fileDescP3_20180125.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180125.Message_ChildEnum(0))),
+ want: fileDescP3_20180125.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180125.SiblingMessage))),
+ want: fileDescP3_20180125.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180125.Message_ChildMessage))),
+ want: fileDescP3_20180125.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180125.Message))),
+ want: fileDescP3_20180125.Messages().ByName("Message"),
+ }}...)
+
+ fileDescP2_20180430 := mustLoadFileDesc(new(proto2_20180430.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180430.SiblingEnum(0))),
+ want: fileDescP2_20180430.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180430.Message_ChildEnum(0))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.SiblingMessage))),
+ want: fileDescP2_20180430.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_ChildMessage))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message))),
+ want: fileDescP2_20180430.Messages().ByName("Message"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_NamedGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("NamedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_OptionalGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_RequiredGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_RepeatedGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_OneofGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("OneofGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_ExtensionOptionalGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180430.Message_ExtensionRepeatedGroup))),
+ want: fileDescP2_20180430.Messages().ByName("Message").Messages().ByName("ExtensionRepeatedGroup"),
+ }}...)
+
+ fileDescP3_20180430 := mustLoadFileDesc(new(proto3_20180430.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180430.SiblingEnum(0))),
+ want: fileDescP3_20180430.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180430.Message_ChildEnum(0))),
+ want: fileDescP3_20180430.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180430.SiblingMessage))),
+ want: fileDescP3_20180430.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180430.Message_ChildMessage))),
+ want: fileDescP3_20180430.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180430.Message))),
+ want: fileDescP3_20180430.Messages().ByName("Message"),
+ }}...)
+
+ fileDescP2_20180814 := mustLoadFileDesc(new(proto2_20180814.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180814.SiblingEnum(0))),
+ want: fileDescP2_20180814.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto2_20180814.Message_ChildEnum(0))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.SiblingMessage))),
+ want: fileDescP2_20180814.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_ChildMessage))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message))),
+ want: fileDescP2_20180814.Messages().ByName("Message"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_NamedGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("NamedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_OptionalGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_RequiredGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_RepeatedGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_OneofGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("OneofGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_ExtensionOptionalGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto2_20180814.Message_ExtensionRepeatedGroup))),
+ want: fileDescP2_20180814.Messages().ByName("Message").Messages().ByName("ExtensionRepeatedGroup"),
+ }}...)
+
+ fileDescP3_20180814 := mustLoadFileDesc(new(proto3_20180814.Message).Descriptor())
+ tests = append(tests, []struct{ got, want pref.Descriptor }{{
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180814.SiblingEnum(0))),
+ want: fileDescP3_20180814.Enums().ByName("SiblingEnum"),
+ }, {
+ got: loadEnumDesc(reflect.TypeOf(proto3_20180814.Message_ChildEnum(0))),
+ want: fileDescP3_20180814.Messages().ByName("Message").Enums().ByName("ChildEnum"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180814.SiblingMessage))),
+ want: fileDescP3_20180814.Messages().ByName("SiblingMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180814.Message_ChildMessage))),
+ want: fileDescP3_20180814.Messages().ByName("Message").Messages().ByName("ChildMessage"),
+ }, {
+ got: loadMessageDesc(reflect.TypeOf(new(proto3_20180814.Message))),
+ want: fileDescP3_20180814.Messages().ByName("Message"),
+ }}...)
type list interface {
Len() int
@@ -105,10 +350,10 @@
// Ignore index since legacy descriptors have no parent.
case "Options":
// Ignore descriptor options since protos are not cmperable.
- case "Messages", "Enums":
+ case "Enums", "Messages", "Extensions":
// Ignore nested message and enum declarations since
// legacy descriptors are all created standalone.
- case "OneofType", "ExtendedType", "MessageType", "EnumType":
+ case "OneofType", "ExtendedType", "EnumType", "MessageType":
// Avoid descending into a dependency to avoid a cycle.
// Just record the full name if available.
//
diff --git a/internal/testprotos/legacy/legacy.pb.go b/internal/testprotos/legacy/legacy.pb.go
new file mode 100644
index 0000000..b629f42
--- /dev/null
+++ b/internal/testprotos/legacy/legacy.pb.go
@@ -0,0 +1,177 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: internal/testprotos/legacy/legacy.proto
+
+package legacy
+
+import (
+ fmt "fmt"
+ proto "github.com/golang/protobuf/proto"
+ proto2_v0_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5"
+ proto2_v0_01 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5"
+ proto2_v1_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152"
+ proto2_v1_1 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09"
+ proto2_v1_2 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61"
+ proto3_v0_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5"
+ proto3_v0_01 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5"
+ proto3_v1_0 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152"
+ proto3_v1_1 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09"
+ proto3_v1_2 "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61"
+ math "math"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type Legacy struct {
+ F1 *proto2_v0_0.Message `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
+ F2 *proto3_v0_0.Message `protobuf:"bytes,2,opt,name=f2,proto3" json:"f2,omitempty"`
+ F3 *proto2_v0_01.Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
+ F4 *proto3_v0_01.Message `protobuf:"bytes,4,opt,name=f4,proto3" json:"f4,omitempty"`
+ F5 *proto2_v1_0.Message `protobuf:"bytes,5,opt,name=f5,proto3" json:"f5,omitempty"`
+ F6 *proto3_v1_0.Message `protobuf:"bytes,6,opt,name=f6,proto3" json:"f6,omitempty"`
+ F7 *proto2_v1_1.Message `protobuf:"bytes,7,opt,name=f7,proto3" json:"f7,omitempty"`
+ F8 *proto3_v1_1.Message `protobuf:"bytes,8,opt,name=f8,proto3" json:"f8,omitempty"`
+ F9 *proto2_v1_2.Message `protobuf:"bytes,9,opt,name=f9,proto3" json:"f9,omitempty"`
+ F10 *proto3_v1_2.Message `protobuf:"bytes,10,opt,name=f10,proto3" json:"f10,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Legacy) Reset() { *m = Legacy{} }
+func (m *Legacy) String() string { return proto.CompactTextString(m) }
+func (*Legacy) ProtoMessage() {}
+func (*Legacy) Descriptor() ([]byte, []int) {
+ return fileDescriptor_5fbf266527ec81d8, []int{0}
+}
+
+func (m *Legacy) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Legacy.Unmarshal(m, b)
+}
+func (m *Legacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Legacy.Marshal(b, m, deterministic)
+}
+func (m *Legacy) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Legacy.Merge(m, src)
+}
+func (m *Legacy) XXX_Size() int {
+ return xxx_messageInfo_Legacy.Size(m)
+}
+func (m *Legacy) XXX_DiscardUnknown() {
+ xxx_messageInfo_Legacy.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Legacy proto.InternalMessageInfo
+
+func (m *Legacy) GetF1() *proto2_v0_0.Message {
+ if m != nil {
+ return m.F1
+ }
+ return nil
+}
+
+func (m *Legacy) GetF2() *proto3_v0_0.Message {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *Legacy) GetF3() *proto2_v0_01.Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Legacy) GetF4() *proto3_v0_01.Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+func (m *Legacy) GetF5() *proto2_v1_0.Message {
+ if m != nil {
+ return m.F5
+ }
+ return nil
+}
+
+func (m *Legacy) GetF6() *proto3_v1_0.Message {
+ if m != nil {
+ return m.F6
+ }
+ return nil
+}
+
+func (m *Legacy) GetF7() *proto2_v1_1.Message {
+ if m != nil {
+ return m.F7
+ }
+ return nil
+}
+
+func (m *Legacy) GetF8() *proto3_v1_1.Message {
+ if m != nil {
+ return m.F8
+ }
+ return nil
+}
+
+func (m *Legacy) GetF9() *proto2_v1_2.Message {
+ if m != nil {
+ return m.F9
+ }
+ return nil
+}
+
+func (m *Legacy) GetF10() *proto3_v1_2.Message {
+ if m != nil {
+ return m.F10
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*Legacy)(nil), "google.golang.org.Legacy")
+}
+
+func init() {
+ proto.RegisterFile("internal/testprotos/legacy/legacy.proto", fileDescriptor_5fbf266527ec81d8)
+}
+
+var fileDescriptor_5fbf266527ec81d8 = []byte{
+ // 364 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd2, 0x3d, 0x4f, 0xf3, 0x30,
+ 0x14, 0x05, 0x60, 0xf5, 0xe3, 0xed, 0x0b, 0x61, 0xa2, 0x93, 0xc5, 0x84, 0x58, 0x40, 0x48, 0x71,
+ 0xec, 0x1b, 0x3b, 0x4d, 0x2a, 0x26, 0x24, 0x36, 0x58, 0x18, 0x59, 0x90, 0x93, 0x3a, 0xa6, 0x52,
+ 0xa8, 0x51, 0x93, 0x56, 0xe2, 0xef, 0xf2, 0x4b, 0x10, 0x37, 0x44, 0x4a, 0xf9, 0x68, 0x5d, 0xda,
+ 0x29, 0x8a, 0xa5, 0xe7, 0x9c, 0x33, 0x5c, 0xef, 0x7c, 0x3a, 0xab, 0xf4, 0x7c, 0xa6, 0x8a, 0xa0,
+ 0xd2, 0x65, 0xf5, 0x32, 0xb7, 0x95, 0x2d, 0x83, 0x42, 0x1b, 0x95, 0xbd, 0x7e, 0x7e, 0x28, 0x3e,
+ 0x0e, 0x8f, 0x8d, 0xb5, 0xa6, 0xd0, 0xd4, 0xd8, 0x42, 0xcd, 0x0c, 0xb5, 0x73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xdf, 0xa9,
+ 0x57, 0x84, 0xac, 0x65, 0x47, 0x68, 0x63, 0x72, 0xe0, 0xd4, 0xbb, 0x6a, 0x63, 0xb4, 0x09, 0x39,
+ 0x74, 0xea, 0x8d, 0xb9, 0x68, 0xd9, 0x64, 0x78, 0xe5, 0xf5, 0x72, 0xce, 0x88, 0xe7, 0x54, 0xdc,
+ 0xc6, 0x1f, 0xec, 0x7a, 0xfc, 0x10, 0x9b, 0x69, 0xf5, 0xb4, 0x48, 0x69, 0x66, 0x9f, 0x83, 0x5a,
+ 0xd5, 0x47, 0x9a, 0x2e, 0xf2, 0x60, 0x09, 0xc1, 0xef, 0xb7, 0x9c, 0x0e, 0xea, 0xe4, 0xf7, 0x00,
+ 0x00, 0x00, 0xff, 0xff, 0xb8, 0x31, 0xcb, 0xb1, 0xab, 0x05, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/legacy.proto b/internal/testprotos/legacy/legacy.proto
new file mode 100644
index 0000000..a348993
--- /dev/null
+++ b/internal/testprotos/legacy/legacy.proto
@@ -0,0 +1,65 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy";
+
+// This file imports other files generated from a build of protoc-gen-go
+// locked to a specific version. For all imports, they were built using
+// Go v1.11 and protoc v3.5.1. This package is used to test compatibility with
+// checked in generated code that cannot easily change.
+// As such, there should never be a need to update these generated files.
+//
+// The specific version of protoc-gen-go used is encoded in the file path:
+// $NAME.$VERSION-$COMMIT_DATE-$COMMIT_HASH/test.proto
+
+// The oldest supported version of protoc-gen-go is 2fc053c5,
+// which finished adding descriptor methods to all protobuf types.
+import "internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.proto";
+import "internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.proto";
+// Changes from 20160225 to 20160519:
+// * Nothing noteworthy to generated code
+import "internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.proto";
+import "internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.proto";
+// Changes from 20160519 to 20180125:
+// * Removed ExtensionMap method and XXX_extensions field from messages
+// * Added embedded proto.XXX_InternalExtensions field to messages
+// * Added proto.ExtensionDesc.Filename field
+// * Added registration for file descriptor
+// * Added Get accessor methods for all fields in proto3 messages
+// * Proto3 repeated primitives are packed by default
+import "internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.proto";
+import "internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.proto";
+// Changes from 20180125 to 20180430:
+// * Added XXX_unrecognized field to proto3 messages
+// * Added XXX_NoUnkeyedLiteral field to messages
+// * Added XXX_sizecache field to messages
+// * Added XXX_Unmarshal method to messages
+// * Added XXX_Marshal method to messages
+// * Added XXX_Merge method to messages
+// * Added XXX_Size method to messages
+// * Added XXX_DiscardUnknown method to messages
+// * Added dependency on proto.InternalMessageInfo for table-driven logic
+// * Added registration for map types
+import "internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.proto";
+import "internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.proto";
+// Changes from 20180430 to 20180814:
+// * Added "proto3" struct tag to all fields in proto3 messages
+import "internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.proto";
+import "internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.proto";
+
+message Legacy {
+ google.golang.org.proto2_20160225.Message f1 = 1;
+ google.golang.org.proto3_20160225.Message f2 = 2;
+ google.golang.org.proto2_20160519.Message f3 = 3;
+ google.golang.org.proto3_20160519.Message f4 = 4;
+ google.golang.org.proto2_20180125.Message f5 = 5;
+ google.golang.org.proto3_20180125.Message f6 = 6;
+ google.golang.org.proto2_20180430.Message f7 = 7;
+ google.golang.org.proto3_20180430.Message f8 = 8;
+ google.golang.org.proto2_20180814.Message f9 = 9;
+ google.golang.org.proto3_20180814.Message f10 = 10;
+}
diff --git a/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.pb.go b/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.pb.go
new file mode 100644
index 0000000..e309b9a
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.pb.go
@@ -0,0 +1,3529 @@
+// Code generated by protoc-gen-go.
+// source: proto2.v0.0.0-20160225-2fc053c5/test.proto
+// DO NOT EDIT!
+
+/*
+Package github_com_golang_protobuf_v2_internal_testprotos_legacy_proto2_v0_0_0_20160225_2fc053c5 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto2.v0.0.0-20160225-2fc053c5/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package github_com_golang_protobuf_v2_internal_testprotos_legacy_proto2_v0_0_0_20160225_2fc053c5
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+const _ = proto.ProtoPackageIsVersion1
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) Enum() *SiblingEnum {
+ p := new(SiblingEnum)
+ *p = x
+ return p
+}
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
+ if err != nil {
+ return err
+ }
+ *x = SiblingEnum(value)
+ return nil
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) Enum() *Message_ChildEnum {
+ p := new(Message_ChildEnum)
+ *p = x
+ return p
+}
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
+ if err != nil {
+ return err
+ }
+ *x = Message_ChildEnum(value)
+ return nil
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message struct {
+ Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
+ // Optional fields.
+ OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
+ OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
+ OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
+ // Optional default fields.
+ DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
+ DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
+ DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
+ DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
+ DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
+ DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
+ DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
+ DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
+ DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
+ DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
+ DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
+ DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
+ DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
+ DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
+ DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
+ DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
+ DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
+ // Required fields.
+ RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
+ RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
+ RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
+ RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
+ RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
+ RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
+ RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
+ RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
+ RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
+ RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
+ RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
+ RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
+ RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
+ RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
+ RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
+ RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"required_child_enum,omitempty"`
+ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
+ RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
+ RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"required_sibling_enum,omitempty"`
+ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
+ Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
+ // Required default fields.
+ RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
+ RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
+ RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
+ RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
+ RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
+ RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
+ RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
+ RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
+ RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
+ RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
+ RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
+ RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
+ RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
+ RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
+ RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
+ RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
+ RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160225.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160225.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofNamedGroup
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_Oneofgroup
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ // Oneof default fields.
+ //
+ // Types that are valid to be assigned to OneofDefaultedUnion:
+ // *Message_OneofDefaultedBool
+ // *Message_OneofDefaultedInt32
+ // *Message_OneofDefaultedSint32
+ // *Message_OneofDefaultedUint32
+ // *Message_OneofDefaultedInt64
+ // *Message_OneofDefaultedSint64
+ // *Message_OneofDefaultedUint64
+ // *Message_OneofDefaultedFixed32
+ // *Message_OneofDefaultedSfixed32
+ // *Message_OneofDefaultedFloat
+ // *Message_OneofDefaultedFixed64
+ // *Message_OneofDefaultedSfixed64
+ // *Message_OneofDefaultedDouble
+ // *Message_OneofDefaultedString
+ // *Message_OneofDefaultedBytes
+ // *Message_OneofDefaultedChildEnum
+ // *Message_OneofDefaultedSiblingEnum
+ OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
+ XXX_extensions map[int32]proto.Extension `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+var extRange_Message = []proto.ExtensionRange{
+ {10000, 536870911},
+}
+
+func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
+ return extRange_Message
+}
+func (m *Message) ExtensionMap() map[int32]proto.Extension {
+ if m.XXX_extensions == nil {
+ m.XXX_extensions = make(map[int32]proto.Extension)
+ }
+ return m.XXX_extensions
+}
+
+const Default_Message_DefaultedBool bool = true
+const Default_Message_DefaultedInt32 int32 = -12345
+const Default_Message_DefaultedSint32 int32 = -3200
+const Default_Message_DefaultedUint32 uint32 = 3200
+const Default_Message_DefaultedInt64 int64 = -123456789
+const Default_Message_DefaultedSint64 int64 = -6400
+const Default_Message_DefaultedUint64 uint64 = 6400
+const Default_Message_DefaultedFixed32 uint32 = 320000
+const Default_Message_DefaultedSfixed32 int32 = -320000
+const Default_Message_DefaultedFloat float32 = 3.14159
+const Default_Message_DefaultedFixed64 uint64 = 640000
+const Default_Message_DefaultedSfixed64 int64 = -640000
+const Default_Message_DefaultedDouble float64 = 3.14159265359
+const Default_Message_DefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_DefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_RequiredDefaultedBool bool = true
+const Default_Message_RequiredDefaultedInt32 int32 = -12345
+const Default_Message_RequiredDefaultedSint32 int32 = -3200
+const Default_Message_RequiredDefaultedUint32 uint32 = 3200
+const Default_Message_RequiredDefaultedInt64 int64 = -123456789
+const Default_Message_RequiredDefaultedSint64 int64 = -6400
+const Default_Message_RequiredDefaultedUint64 uint64 = 6400
+const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
+const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
+const Default_Message_RequiredDefaultedFloat float32 = 3.14159
+const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
+const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
+const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
+const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_RequiredDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_OneofDefaultedBool bool = true
+const Default_Message_OneofDefaultedInt32 int32 = -12345
+const Default_Message_OneofDefaultedSint32 int32 = -3200
+const Default_Message_OneofDefaultedUint32 uint32 = 3200
+const Default_Message_OneofDefaultedInt64 int64 = -123456789
+const Default_Message_OneofDefaultedSint64 int64 = -6400
+const Default_Message_OneofDefaultedUint64 uint64 = 6400
+const Default_Message_OneofDefaultedFixed32 uint32 = 320000
+const Default_Message_OneofDefaultedSfixed32 int32 = -320000
+const Default_Message_OneofDefaultedFloat float32 = 3.14159
+const Default_Message_OneofDefaultedFixed64 uint64 = 640000
+const Default_Message_OneofDefaultedSfixed64 int64 = -640000
+const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
+const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_OneofDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofNamedGroup struct {
+ OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_Oneofgroup struct {
+ Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+type Message_OneofDefaultedBool struct {
+ OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
+}
+type Message_OneofDefaultedInt32 struct {
+ OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
+}
+type Message_OneofDefaultedSint32 struct {
+ OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
+}
+type Message_OneofDefaultedUint32 struct {
+ OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
+}
+type Message_OneofDefaultedInt64 struct {
+ OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
+}
+type Message_OneofDefaultedSint64 struct {
+ OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
+}
+type Message_OneofDefaultedUint64 struct {
+ OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
+}
+type Message_OneofDefaultedFixed32 struct {
+ OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
+}
+type Message_OneofDefaultedSfixed32 struct {
+ OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
+}
+type Message_OneofDefaultedFloat struct {
+ OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
+}
+type Message_OneofDefaultedFixed64 struct {
+ OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
+}
+type Message_OneofDefaultedSfixed64 struct {
+ OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
+}
+type Message_OneofDefaultedDouble struct {
+ OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
+}
+type Message_OneofDefaultedString struct {
+ OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
+}
+type Message_OneofDefaultedBytes struct {
+ OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
+}
+type Message_OneofDefaultedChildEnum struct {
+ OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,oneof,def=0"`
+}
+type Message_OneofDefaultedSiblingEnum struct {
+ OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,oneof,def=0"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_Oneofgroup) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
+ if m != nil {
+ return m.OneofDefaultedUnion
+ }
+ return nil
+}
+
+func (m *Message) GetNamedgroup() *Message_NamedGroup {
+ if m != nil {
+ return m.Namedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil && m.OptionalBool != nil {
+ return *m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil && m.OptionalInt32 != nil {
+ return *m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil && m.OptionalSint32 != nil {
+ return *m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil && m.OptionalUint32 != nil {
+ return *m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil && m.OptionalInt64 != nil {
+ return *m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil && m.OptionalSint64 != nil {
+ return *m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil && m.OptionalUint64 != nil {
+ return *m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil && m.OptionalFixed32 != nil {
+ return *m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil && m.OptionalSfixed32 != nil {
+ return *m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil && m.OptionalFloat != nil {
+ return *m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil && m.OptionalFixed64 != nil {
+ return *m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil && m.OptionalSfixed64 != nil {
+ return *m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil && m.OptionalDouble != nil {
+ return *m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil && m.OptionalString != nil {
+ return *m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil && m.OptionalChildEnum != nil {
+ return *m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.OptionalNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil && m.OptionalSiblingEnum != nil {
+ return *m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
+ if m != nil {
+ return m.Optionalgroup
+ }
+ return nil
+}
+
+func (m *Message) GetDefaultedBool() bool {
+ if m != nil && m.DefaultedBool != nil {
+ return *m.DefaultedBool
+ }
+ return Default_Message_DefaultedBool
+}
+
+func (m *Message) GetDefaultedInt32() int32 {
+ if m != nil && m.DefaultedInt32 != nil {
+ return *m.DefaultedInt32
+ }
+ return Default_Message_DefaultedInt32
+}
+
+func (m *Message) GetDefaultedSint32() int32 {
+ if m != nil && m.DefaultedSint32 != nil {
+ return *m.DefaultedSint32
+ }
+ return Default_Message_DefaultedSint32
+}
+
+func (m *Message) GetDefaultedUint32() uint32 {
+ if m != nil && m.DefaultedUint32 != nil {
+ return *m.DefaultedUint32
+ }
+ return Default_Message_DefaultedUint32
+}
+
+func (m *Message) GetDefaultedInt64() int64 {
+ if m != nil && m.DefaultedInt64 != nil {
+ return *m.DefaultedInt64
+ }
+ return Default_Message_DefaultedInt64
+}
+
+func (m *Message) GetDefaultedSint64() int64 {
+ if m != nil && m.DefaultedSint64 != nil {
+ return *m.DefaultedSint64
+ }
+ return Default_Message_DefaultedSint64
+}
+
+func (m *Message) GetDefaultedUint64() uint64 {
+ if m != nil && m.DefaultedUint64 != nil {
+ return *m.DefaultedUint64
+ }
+ return Default_Message_DefaultedUint64
+}
+
+func (m *Message) GetDefaultedFixed32() uint32 {
+ if m != nil && m.DefaultedFixed32 != nil {
+ return *m.DefaultedFixed32
+ }
+ return Default_Message_DefaultedFixed32
+}
+
+func (m *Message) GetDefaultedSfixed32() int32 {
+ if m != nil && m.DefaultedSfixed32 != nil {
+ return *m.DefaultedSfixed32
+ }
+ return Default_Message_DefaultedSfixed32
+}
+
+func (m *Message) GetDefaultedFloat() float32 {
+ if m != nil && m.DefaultedFloat != nil {
+ return *m.DefaultedFloat
+ }
+ return Default_Message_DefaultedFloat
+}
+
+func (m *Message) GetDefaultedFixed64() uint64 {
+ if m != nil && m.DefaultedFixed64 != nil {
+ return *m.DefaultedFixed64
+ }
+ return Default_Message_DefaultedFixed64
+}
+
+func (m *Message) GetDefaultedSfixed64() int64 {
+ if m != nil && m.DefaultedSfixed64 != nil {
+ return *m.DefaultedSfixed64
+ }
+ return Default_Message_DefaultedSfixed64
+}
+
+func (m *Message) GetDefaultedDouble() float64 {
+ if m != nil && m.DefaultedDouble != nil {
+ return *m.DefaultedDouble
+ }
+ return Default_Message_DefaultedDouble
+}
+
+func (m *Message) GetDefaultedString() string {
+ if m != nil && m.DefaultedString != nil {
+ return *m.DefaultedString
+ }
+ return Default_Message_DefaultedString
+}
+
+func (m *Message) GetDefaultedBytes() []byte {
+ if m != nil && m.DefaultedBytes != nil {
+ return m.DefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_DefaultedBytes...)
+}
+
+func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.DefaultedChildEnum != nil {
+ return *m.DefaultedChildEnum
+ }
+ return Default_Message_DefaultedChildEnum
+}
+
+func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.DefaultedSiblingEnum != nil {
+ return *m.DefaultedSiblingEnum
+ }
+ return Default_Message_DefaultedSiblingEnum
+}
+
+func (m *Message) GetRequiredBool() bool {
+ if m != nil && m.RequiredBool != nil {
+ return *m.RequiredBool
+ }
+ return false
+}
+
+func (m *Message) GetRequiredInt32() int32 {
+ if m != nil && m.RequiredInt32 != nil {
+ return *m.RequiredInt32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint32() int32 {
+ if m != nil && m.RequiredSint32 != nil {
+ return *m.RequiredSint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint32() uint32 {
+ if m != nil && m.RequiredUint32 != nil {
+ return *m.RequiredUint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredInt64() int64 {
+ if m != nil && m.RequiredInt64 != nil {
+ return *m.RequiredInt64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint64() int64 {
+ if m != nil && m.RequiredSint64 != nil {
+ return *m.RequiredSint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint64() uint64 {
+ if m != nil && m.RequiredUint64 != nil {
+ return *m.RequiredUint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed32() uint32 {
+ if m != nil && m.RequiredFixed32 != nil {
+ return *m.RequiredFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed32() int32 {
+ if m != nil && m.RequiredSfixed32 != nil {
+ return *m.RequiredSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFloat() float32 {
+ if m != nil && m.RequiredFloat != nil {
+ return *m.RequiredFloat
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed64() uint64 {
+ if m != nil && m.RequiredFixed64 != nil {
+ return *m.RequiredFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed64() int64 {
+ if m != nil && m.RequiredSfixed64 != nil {
+ return *m.RequiredSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredDouble() float64 {
+ if m != nil && m.RequiredDouble != nil {
+ return *m.RequiredDouble
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredString() string {
+ if m != nil && m.RequiredString != nil {
+ return *m.RequiredString
+ }
+ return ""
+}
+
+func (m *Message) GetRequiredBytes() []byte {
+ if m != nil {
+ return m.RequiredBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredChildEnum != nil {
+ return *m.RequiredChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.RequiredChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.RequiredNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredSiblingEnum != nil {
+ return *m.RequiredSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.RequiredSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
+ if m != nil {
+ return m.Requiredgroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredDefaultedBool() bool {
+ if m != nil && m.RequiredDefaultedBool != nil {
+ return *m.RequiredDefaultedBool
+ }
+ return Default_Message_RequiredDefaultedBool
+}
+
+func (m *Message) GetRequiredDefaultedInt32() int32 {
+ if m != nil && m.RequiredDefaultedInt32 != nil {
+ return *m.RequiredDefaultedInt32
+ }
+ return Default_Message_RequiredDefaultedInt32
+}
+
+func (m *Message) GetRequiredDefaultedSint32() int32 {
+ if m != nil && m.RequiredDefaultedSint32 != nil {
+ return *m.RequiredDefaultedSint32
+ }
+ return Default_Message_RequiredDefaultedSint32
+}
+
+func (m *Message) GetRequiredDefaultedUint32() uint32 {
+ if m != nil && m.RequiredDefaultedUint32 != nil {
+ return *m.RequiredDefaultedUint32
+ }
+ return Default_Message_RequiredDefaultedUint32
+}
+
+func (m *Message) GetRequiredDefaultedInt64() int64 {
+ if m != nil && m.RequiredDefaultedInt64 != nil {
+ return *m.RequiredDefaultedInt64
+ }
+ return Default_Message_RequiredDefaultedInt64
+}
+
+func (m *Message) GetRequiredDefaultedSint64() int64 {
+ if m != nil && m.RequiredDefaultedSint64 != nil {
+ return *m.RequiredDefaultedSint64
+ }
+ return Default_Message_RequiredDefaultedSint64
+}
+
+func (m *Message) GetRequiredDefaultedUint64() uint64 {
+ if m != nil && m.RequiredDefaultedUint64 != nil {
+ return *m.RequiredDefaultedUint64
+ }
+ return Default_Message_RequiredDefaultedUint64
+}
+
+func (m *Message) GetRequiredDefaultedFixed32() uint32 {
+ if m != nil && m.RequiredDefaultedFixed32 != nil {
+ return *m.RequiredDefaultedFixed32
+ }
+ return Default_Message_RequiredDefaultedFixed32
+}
+
+func (m *Message) GetRequiredDefaultedSfixed32() int32 {
+ if m != nil && m.RequiredDefaultedSfixed32 != nil {
+ return *m.RequiredDefaultedSfixed32
+ }
+ return Default_Message_RequiredDefaultedSfixed32
+}
+
+func (m *Message) GetRequiredDefaultedFloat() float32 {
+ if m != nil && m.RequiredDefaultedFloat != nil {
+ return *m.RequiredDefaultedFloat
+ }
+ return Default_Message_RequiredDefaultedFloat
+}
+
+func (m *Message) GetRequiredDefaultedFixed64() uint64 {
+ if m != nil && m.RequiredDefaultedFixed64 != nil {
+ return *m.RequiredDefaultedFixed64
+ }
+ return Default_Message_RequiredDefaultedFixed64
+}
+
+func (m *Message) GetRequiredDefaultedSfixed64() int64 {
+ if m != nil && m.RequiredDefaultedSfixed64 != nil {
+ return *m.RequiredDefaultedSfixed64
+ }
+ return Default_Message_RequiredDefaultedSfixed64
+}
+
+func (m *Message) GetRequiredDefaultedDouble() float64 {
+ if m != nil && m.RequiredDefaultedDouble != nil {
+ return *m.RequiredDefaultedDouble
+ }
+ return Default_Message_RequiredDefaultedDouble
+}
+
+func (m *Message) GetRequiredDefaultedString() string {
+ if m != nil && m.RequiredDefaultedString != nil {
+ return *m.RequiredDefaultedString
+ }
+ return Default_Message_RequiredDefaultedString
+}
+
+func (m *Message) GetRequiredDefaultedBytes() []byte {
+ if m != nil && m.RequiredDefaultedBytes != nil {
+ return m.RequiredDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
+}
+
+func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredDefaultedChildEnum != nil {
+ return *m.RequiredDefaultedChildEnum
+ }
+ return Default_Message_RequiredDefaultedChildEnum
+}
+
+func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredDefaultedSiblingEnum != nil {
+ return *m.RequiredDefaultedSiblingEnum
+ }
+ return Default_Message_RequiredDefaultedSiblingEnum
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
+ if m != nil {
+ return m.RepeatedNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
+ if m != nil {
+ return m.Repeatedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
+ if m != nil {
+ return m.MapBoolNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
+ if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
+ return x.OneofNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofgroup() *Message_OneofGroup {
+ if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
+ return x.Oneofgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+func (m *Message) GetOneofDefaultedBool() bool {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
+ return x.OneofDefaultedBool
+ }
+ return Default_Message_OneofDefaultedBool
+}
+
+func (m *Message) GetOneofDefaultedInt32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
+ return x.OneofDefaultedInt32
+ }
+ return Default_Message_OneofDefaultedInt32
+}
+
+func (m *Message) GetOneofDefaultedSint32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
+ return x.OneofDefaultedSint32
+ }
+ return Default_Message_OneofDefaultedSint32
+}
+
+func (m *Message) GetOneofDefaultedUint32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
+ return x.OneofDefaultedUint32
+ }
+ return Default_Message_OneofDefaultedUint32
+}
+
+func (m *Message) GetOneofDefaultedInt64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
+ return x.OneofDefaultedInt64
+ }
+ return Default_Message_OneofDefaultedInt64
+}
+
+func (m *Message) GetOneofDefaultedSint64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
+ return x.OneofDefaultedSint64
+ }
+ return Default_Message_OneofDefaultedSint64
+}
+
+func (m *Message) GetOneofDefaultedUint64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
+ return x.OneofDefaultedUint64
+ }
+ return Default_Message_OneofDefaultedUint64
+}
+
+func (m *Message) GetOneofDefaultedFixed32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
+ return x.OneofDefaultedFixed32
+ }
+ return Default_Message_OneofDefaultedFixed32
+}
+
+func (m *Message) GetOneofDefaultedSfixed32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
+ return x.OneofDefaultedSfixed32
+ }
+ return Default_Message_OneofDefaultedSfixed32
+}
+
+func (m *Message) GetOneofDefaultedFloat() float32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
+ return x.OneofDefaultedFloat
+ }
+ return Default_Message_OneofDefaultedFloat
+}
+
+func (m *Message) GetOneofDefaultedFixed64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
+ return x.OneofDefaultedFixed64
+ }
+ return Default_Message_OneofDefaultedFixed64
+}
+
+func (m *Message) GetOneofDefaultedSfixed64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
+ return x.OneofDefaultedSfixed64
+ }
+ return Default_Message_OneofDefaultedSfixed64
+}
+
+func (m *Message) GetOneofDefaultedDouble() float64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
+ return x.OneofDefaultedDouble
+ }
+ return Default_Message_OneofDefaultedDouble
+}
+
+func (m *Message) GetOneofDefaultedString() string {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
+ return x.OneofDefaultedString
+ }
+ return Default_Message_OneofDefaultedString
+}
+
+func (m *Message) GetOneofDefaultedBytes() []byte {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
+ return x.OneofDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
+}
+
+func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
+ return x.OneofDefaultedChildEnum
+ }
+ return Default_Message_OneofDefaultedChildEnum
+}
+
+func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
+ return x.OneofDefaultedSiblingEnum
+ }
+ return Default_Message_OneofDefaultedSiblingEnum
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofNamedGroup)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_Oneofgroup)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ (*Message_OneofDefaultedBool)(nil),
+ (*Message_OneofDefaultedInt32)(nil),
+ (*Message_OneofDefaultedSint32)(nil),
+ (*Message_OneofDefaultedUint32)(nil),
+ (*Message_OneofDefaultedInt64)(nil),
+ (*Message_OneofDefaultedSint64)(nil),
+ (*Message_OneofDefaultedUint64)(nil),
+ (*Message_OneofDefaultedFixed32)(nil),
+ (*Message_OneofDefaultedSfixed32)(nil),
+ (*Message_OneofDefaultedFloat)(nil),
+ (*Message_OneofDefaultedFixed64)(nil),
+ (*Message_OneofDefaultedSfixed64)(nil),
+ (*Message_OneofDefaultedDouble)(nil),
+ (*Message_OneofDefaultedString)(nil),
+ (*Message_OneofDefaultedBytes)(nil),
+ (*Message_OneofDefaultedChildEnum)(nil),
+ (*Message_OneofDefaultedSiblingEnum)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(700<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(701<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(702<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(703<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(704<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(705<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(706<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(707<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(708<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(709<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(710<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(711<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(712<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(713<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(714<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(715<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(716<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofNamedGroup:
+ b.EncodeVarint(717<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(718<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(719<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_Oneofgroup:
+ b.EncodeVarint(720<<3 | proto.WireStartGroup)
+ if err := b.Marshal(x.Oneofgroup); err != nil {
+ return err
+ }
+ b.EncodeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ b.EncodeVarint(721<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(722<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(723<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ t := uint64(0)
+ if x.OneofDefaultedBool {
+ t = 1
+ }
+ b.EncodeVarint(800<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofDefaultedInt32:
+ b.EncodeVarint(801<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ b.EncodeVarint(802<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
+ case *Message_OneofDefaultedUint32:
+ b.EncodeVarint(803<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ b.EncodeVarint(804<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ b.EncodeVarint(805<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
+ case *Message_OneofDefaultedUint64:
+ b.EncodeVarint(806<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ b.EncodeVarint(807<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
+ case *Message_OneofDefaultedSfixed32:
+ b.EncodeVarint(808<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
+ case *Message_OneofDefaultedFloat:
+ b.EncodeVarint(809<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
+ case *Message_OneofDefaultedFixed64:
+ b.EncodeVarint(810<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
+ case *Message_OneofDefaultedSfixed64:
+ b.EncodeVarint(811<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
+ case *Message_OneofDefaultedDouble:
+ b.EncodeVarint(812<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
+ case *Message_OneofDefaultedString:
+ b.EncodeVarint(813<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ b.EncodeVarint(814<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ b.EncodeVarint(815<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ b.EncodeVarint(816<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 700: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 701: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 702: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 703: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 704: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 705: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 706: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 707: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 708: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 709: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 710: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 711: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 712: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 713: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 714: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 715: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 716: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 717: // oneof_union.oneof_named_group
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_NamedGroup)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofNamedGroup{msg}
+ return true, err
+ case 718: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 719: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 720: // oneof_union.oneofgroup
+ if wire != proto.WireStartGroup {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_OneofGroup)
+ err := b.DecodeGroup(msg)
+ m.OneofUnion = &Message_Oneofgroup{msg}
+ return true, err
+ case 721: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 722: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 723: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ case 800: // oneof_defaulted_union.oneof_defaulted_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
+ return true, err
+ case 801: // oneof_defaulted_union.oneof_defaulted_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
+ return true, err
+ case 802: // oneof_defaulted_union.oneof_defaulted_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
+ return true, err
+ case 803: // oneof_defaulted_union.oneof_defaulted_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
+ return true, err
+ case 804: // oneof_defaulted_union.oneof_defaulted_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
+ return true, err
+ case 805: // oneof_defaulted_union.oneof_defaulted_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
+ return true, err
+ case 806: // oneof_defaulted_union.oneof_defaulted_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
+ return true, err
+ case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
+ return true, err
+ case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
+ return true, err
+ case 809: // oneof_defaulted_union.oneof_defaulted_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
+ return true, err
+ case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
+ return true, err
+ case 812: // oneof_defaulted_union.oneof_defaulted_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
+ return true, err
+ case 813: // oneof_defaulted_union.oneof_defaulted_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
+ return true, err
+ case 814: // oneof_defaulted_union.oneof_defaulted_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
+ return true, err
+ case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(700<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(701<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(702<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(703<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(704<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(705<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(706<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(707<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(708<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(709<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(710<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(711<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(712<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(713<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(714<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(715<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(716<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofNamedGroup:
+ s := proto.Size(x.OneofNamedGroup)
+ n += proto.SizeVarint(717<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(718<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(719<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_Oneofgroup:
+ n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
+ n += proto.Size(x.Oneofgroup)
+ n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ n += proto.SizeVarint(721<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(722<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(723<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ n += proto.SizeVarint(800<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofDefaultedInt32:
+ n += proto.SizeVarint(801<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ n += proto.SizeVarint(802<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
+ case *Message_OneofDefaultedUint32:
+ n += proto.SizeVarint(803<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ n += proto.SizeVarint(804<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ n += proto.SizeVarint(805<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
+ case *Message_OneofDefaultedUint64:
+ n += proto.SizeVarint(806<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ n += proto.SizeVarint(807<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedSfixed32:
+ n += proto.SizeVarint(808<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFloat:
+ n += proto.SizeVarint(809<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFixed64:
+ n += proto.SizeVarint(810<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedSfixed64:
+ n += proto.SizeVarint(811<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedDouble:
+ n += proto.SizeVarint(812<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedString:
+ n += proto.SizeVarint(813<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
+ n += len(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ n += proto.SizeVarint(814<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
+ n += len(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ n += proto.SizeVarint(815<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ n += proto.SizeVarint(816<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 10000,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_bool",
+ Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
+}
+
+var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10001,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_int32",
+ Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
+}
+
+var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10002,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint32",
+ Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
+}
+
+var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10003,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint32",
+ Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
+}
+
+var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10004,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_int64",
+ Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
+}
+
+var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10005,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint64",
+ Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
+}
+
+var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10006,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint64",
+ Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
+}
+
+var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10007,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed32",
+ Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
+}
+
+var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10008,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed32",
+ Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
+}
+
+var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 10009,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_float",
+ Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
+}
+
+var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10010,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed64",
+ Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
+}
+
+var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10011,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed64",
+ Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
+}
+
+var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 10012,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_double",
+ Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
+}
+
+var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 10013,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_string",
+ Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
+}
+
+var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 10014,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_bytes",
+ Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
+}
+
+var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 10015,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_enum",
+ Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum",
+}
+
+var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildMessage)(nil),
+ Field: 10016,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_message",
+ Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
+}
+
+var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_NamedGroup)(nil),
+ Field: 10017,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_named_group",
+ Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
+}
+
+var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 10018,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_enum",
+ Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum",
+}
+
+var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingMessage)(nil),
+ Field: 10019,
+ Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_message",
+ Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
+}
+
+var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
+ Field: 10020,
+ Name: "google.golang.org.proto2_20160225.Message.extensionoptionalgroup",
+ Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
+}
+
+var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 20000,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bool",
+ Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
+}
+
+var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20001,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int32",
+ Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
+}
+
+var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20002,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint32",
+ Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
+}
+
+var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20003,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint32",
+ Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
+}
+
+var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20004,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int64",
+ Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
+}
+
+var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20005,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint64",
+ Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
+}
+
+var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20006,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint64",
+ Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
+}
+
+var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20007,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed32",
+ Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
+}
+
+var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20008,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed32",
+ Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
+}
+
+var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 20009,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_float",
+ Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
+}
+
+var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20010,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed64",
+ Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
+}
+
+var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20011,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed64",
+ Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
+}
+
+var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 20012,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_double",
+ Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
+}
+
+var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 20013,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_string",
+ Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
+}
+
+var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 20014,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bytes",
+ Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
+}
+
+var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 20015,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_child_enum",
+ Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0",
+}
+
+var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 20016,
+ Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sibling_enum",
+ Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0",
+}
+
+var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]bool)(nil),
+ Field: 30000,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bool",
+ Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
+}
+
+var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30001,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int32",
+ Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
+}
+
+var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30002,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint32",
+ Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
+}
+
+var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30003,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint32",
+ Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
+}
+
+var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30004,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int64",
+ Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
+}
+
+var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30005,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint64",
+ Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
+}
+
+var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30006,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint64",
+ Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
+}
+
+var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30007,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed32",
+ Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
+}
+
+var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30008,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed32",
+ Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
+}
+
+var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float32)(nil),
+ Field: 30009,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_float",
+ Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
+}
+
+var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30010,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed64",
+ Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
+}
+
+var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30011,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed64",
+ Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
+}
+
+var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float64)(nil),
+ Field: 30012,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_double",
+ Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
+}
+
+var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]string)(nil),
+ Field: 30013,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_string",
+ Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
+}
+
+var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([][]byte)(nil),
+ Field: 30014,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bytes",
+ Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
+}
+
+var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]Message_ChildEnum)(nil),
+ Field: 30015,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_enum",
+ Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum",
+}
+
+var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ChildMessage)(nil),
+ Field: 30016,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_message",
+ Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
+}
+
+var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_NamedGroup)(nil),
+ Field: 30017,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_named_group",
+ Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
+}
+
+var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]SiblingEnum)(nil),
+ Field: 30018,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_enum",
+ Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum",
+}
+
+var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*SiblingMessage)(nil),
+ Field: 30019,
+ Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_message",
+ Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
+}
+
+var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
+ Field: 30020,
+ Name: "google.golang.org.proto2_20160225.Message.extensionrepeatedgroup",
+ Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
+}
+
+type Message_ChildMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_NamedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
+func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_NamedGroup) ProtoMessage() {}
+func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
+
+func (m *Message_NamedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_NamedGroup) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_OptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
+func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OptionalGroup) ProtoMessage() {}
+func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
+
+func (m *Message_OptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RequiredGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
+func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RequiredGroup) ProtoMessage() {}
+func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
+
+func (m *Message_RequiredGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
+func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RepeatedGroup) ProtoMessage() {}
+func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
+
+func (m *Message_RepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_OneofGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
+func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OneofGroup) ProtoMessage() {}
+func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
+
+func (m *Message_OneofGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionOptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
+func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
+func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 34}
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionRepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
+func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
+func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 35}
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20160225.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20160225.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20160225.Message.ChildMessage")
+ proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20160225.Message.NamedGroup")
+ proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20160225.Message.OptionalGroup")
+ proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20160225.Message.RequiredGroup")
+ proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20160225.Message.RepeatedGroup")
+ proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20160225.Message.OneofGroup")
+ proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20160225.Message.ExtensionOptionalGroup")
+ proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20160225.Message.ExtensionRepeatedGroup")
+ proto.RegisterEnum("google.golang.org.proto2_20160225.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto2_20160225.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBool)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
+ proto.RegisterExtension(E_Message_ExtensionOptionalString)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionoptionalgroup)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedString)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedString)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
+}
+
+var fileDescriptor0 = []byte{
+ // 4493 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x1c, 0xc7,
+ 0x75, 0xc6, 0xec, 0x62, 0x17, 0x44, 0x13, 0x0b, 0x2c, 0x86, 0x24, 0x30, 0x84, 0xa4, 0x68, 0xcd,
+ 0x38, 0xce, 0x86, 0x11, 0x41, 0x60, 0xd0, 0x68, 0x4a, 0x1b, 0x1d, 0x26, 0x24, 0xca, 0x2b, 0xc7,
+ 0x5a, 0xa5, 0x46, 0xc5, 0x94, 0xcb, 0xa5, 0x0a, 0x03, 0x12, 0x0b, 0x70, 0xa5, 0x3d, 0x20, 0x60,
+ 0x97, 0x12, 0x63, 0xa7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, 0xc2, 0xb2, 0xd5, 0x5a, 0x3f, 0xcb, 0x77, 0x41, 0xfa, 0x53, 0xa8, 0x20, 0x7e, 0xcd, 0x99,
+ 0xca, 0xb1, 0x43, 0x03, 0x56, 0x99, 0x66, 0x0f, 0x7c, 0x8e, 0x93, 0x3a, 0xd4, 0x31, 0x54, 0x60,
+ 0xbc, 0x27, 0xed, 0x3f, 0xa2, 0x1e, 0x43, 0xe9, 0x37, 0x9c, 0x6d, 0x96, 0xf8, 0x79, 0xb6, 0xc4,
+ 0x94, 0xe7, 0x50, 0xfa, 0x3d, 0xeb, 0x84, 0xe5, 0xac, 0x14, 0xc4, 0xab, 0xfa, 0xbd, 0x76, 0xa3,
+ 0xd3, 0x5e, 0x99, 0x8d, 0xbf, 0x23, 0xc9, 0x3e, 0x38, 0xbc, 0x88, 0xf6, 0xaa, 0xef, 0x89, 0x9b,
+ 0x1e, 0x88, 0x22, 0x77, 0x42, 0x3e, 0x10, 0x7d, 0xc1, 0x59, 0x79, 0xcd, 0x6b, 0x5e, 0xbd, 0xd1,
+ 0xe8, 0x9e, 0xed, 0x9d, 0x9e, 0x3f, 0xd3, 0x69, 0x1d, 0x85, 0xa5, 0x1f, 0x65, 0xcb, 0x3e, 0xdd,
+ 0x5b, 0x3f, 0x7a, 0xce, 0x3f, 0xda, 0x68, 0x77, 0xeb, 0x5b, 0xed, 0xd5, 0x26, 0xfb, 0xa9, 0x5b,
+ 0xf6, 0xc1, 0xf6, 0xd1, 0x66, 0x7d, 0x63, 0xf5, 0xcc, 0xf9, 0xa3, 0x3b, 0xfc, 0x38, 0xee, 0xff,
+ 0x07, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xb6, 0xee, 0xa8, 0x3e, 0x57, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.proto b/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.proto
new file mode 100644
index 0000000..47e0a36
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5/test.proto
@@ -0,0 +1,333 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package google.golang.org.proto2_20160225;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160225-2fc053c5";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+ optional group NamedGroup = 1 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+
+ // Optional fields.
+ optional bool optional_bool = 100;
+ optional int32 optional_int32 = 101;
+ optional sint32 optional_sint32 = 102;
+ optional uint32 optional_uint32 = 103;
+ optional int64 optional_int64 = 104;
+ optional sint64 optional_sint64 = 105;
+ optional uint64 optional_uint64 = 106;
+ optional fixed32 optional_fixed32 = 107;
+ optional sfixed32 optional_sfixed32 = 108;
+ optional float optional_float = 109;
+ optional fixed64 optional_fixed64 = 110;
+ optional sfixed64 optional_sfixed64 = 111;
+ optional double optional_double = 112;
+ optional string optional_string = 113;
+ optional bytes optional_bytes = 114;
+
+ optional ChildEnum optional_child_enum = 115;
+ optional ChildMessage optional_child_message = 116;
+ optional NamedGroup optional_named_group = 117;
+ optional SiblingEnum optional_sibling_enum = 118;
+ optional SiblingMessage optional_sibling_message = 119;
+ optional group OptionalGroup = 120 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool defaulted_bool = 200 [default = true];
+ optional int32 defaulted_int32 = 201 [default = -12345];
+ optional sint32 defaulted_sint32 = 202 [default = -3200];
+ optional uint32 defaulted_uint32 = 203 [default = 3200];
+ optional int64 defaulted_int64 = 204 [default = -123456789];
+ optional sint64 defaulted_sint64 = 205 [default = -6400];
+ optional uint64 defaulted_uint64 = 206 [default = 6400];
+ optional fixed32 defaulted_fixed32 = 207 [default = 320000];
+ optional sfixed32 defaulted_sfixed32 = 208 [default = -320000];
+ optional float defaulted_float = 209 [default = 3.14159];
+ optional fixed64 defaulted_fixed64 = 210 [default = 640000];
+ optional sfixed64 defaulted_sfixed64 = 211 [default = -640000];
+ optional double defaulted_double = 212 [default = 3.14159265359];
+ optional string defaulted_string = 213 [default = "hello, \"world!\"\n"];
+ optional bytes defaulted_bytes = 214 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum defaulted_child_enum = 215 [default = ALPHA];
+ optional SiblingEnum defaulted_sibling_enum = 216 [default = ALPHA];
+
+ // Required fields.
+ required bool required_bool = 300;
+ required int32 required_int32 = 301;
+ required sint32 required_sint32 = 302;
+ required uint32 required_uint32 = 303;
+ required int64 required_int64 = 304;
+ required sint64 required_sint64 = 305;
+ required uint64 required_uint64 = 306;
+ required fixed32 required_fixed32 = 307;
+ required sfixed32 required_sfixed32 = 308;
+ required float required_float = 309;
+ required fixed64 required_fixed64 = 310;
+ required sfixed64 required_sfixed64 = 311;
+ required double required_double = 312;
+ required string required_string = 313;
+ required bytes required_bytes = 314;
+
+ required ChildEnum required_child_enum = 315;
+ required ChildMessage required_child_message = 316;
+ required NamedGroup required_named_group = 317;
+ required SiblingEnum required_sibling_enum = 318;
+ required SiblingMessage required_sibling_message = 319;
+ required group RequiredGroup = 320 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ // Required default fields.
+ required bool required_defaulted_bool = 400 [default = true];
+ required int32 required_defaulted_int32 = 401 [default = -12345];
+ required sint32 required_defaulted_sint32 = 402 [default = -3200];
+ required uint32 required_defaulted_uint32 = 403 [default = 3200];
+ required int64 required_defaulted_int64 = 404 [default = -123456789];
+ required sint64 required_defaulted_sint64 = 405 [default = -6400];
+ required uint64 required_defaulted_uint64 = 406 [default = 6400];
+ required fixed32 required_defaulted_fixed32 = 407 [default = 320000];
+ required sfixed32 required_defaulted_sfixed32 = 408 [default = -320000];
+ required float required_defaulted_float = 409 [default = 3.14159];
+ required fixed64 required_defaulted_fixed64 = 410 [default = 640000];
+ required sfixed64 required_defaulted_sfixed64 = 411 [default = -640000];
+ required double required_defaulted_double = 412 [default = 3.14159265359];
+ required string required_defaulted_string = 413 [default = "hello, \"world!\"\n"];
+ required bytes required_defaulted_bytes = 414 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ required ChildEnum required_defaulted_child_enum = 415 [default = ALPHA];
+ required SiblingEnum required_defaulted_sibling_enum = 416 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool repeated_bool = 500;
+ repeated int32 repeated_int32 = 501;
+ repeated sint32 repeated_sint32 = 502;
+ repeated uint32 repeated_uint32 = 503;
+ repeated int64 repeated_int64 = 504;
+ repeated sint64 repeated_sint64 = 505;
+ repeated uint64 repeated_uint64 = 506;
+ repeated fixed32 repeated_fixed32 = 507;
+ repeated sfixed32 repeated_sfixed32 = 508;
+ repeated float repeated_float = 509;
+ repeated fixed64 repeated_fixed64 = 510;
+ repeated sfixed64 repeated_sfixed64 = 511;
+ repeated double repeated_double = 512;
+ repeated string repeated_string = 513;
+ repeated bytes repeated_bytes = 514;
+
+ repeated ChildEnum repeated_child_enum = 515;
+ repeated ChildMessage repeated_child_message = 516;
+ repeated NamedGroup repeated_named_group = 517;
+ repeated SiblingEnum repeated_sibling_enum = 518;
+ repeated SiblingMessage repeated_sibling_message = 519;
+ repeated group RepeatedGroup = 520 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 600;
+ map<bool, int32> map_bool_int32 = 601;
+ map<bool, sint32> map_bool_sint32 = 602;
+ map<bool, uint32> map_bool_uint32 = 603;
+ map<bool, int64> map_bool_int64 = 604;
+ map<bool, sint64> map_bool_sint64 = 605;
+ map<bool, uint64> map_bool_uint64 = 606;
+ map<bool, fixed32> map_bool_fixed32 = 607;
+ map<bool, sfixed32> map_bool_sfixed32 = 608;
+ map<bool, float> map_bool_float = 609;
+ map<bool, fixed64> map_bool_fixed64 = 610;
+ map<bool, sfixed64> map_bool_sfixed64 = 611;
+ map<bool, double> map_bool_double = 612;
+ map<bool, string> map_bool_string = 613;
+ map<bool, bytes> map_bool_bytes = 614;
+
+ map<bool, ChildEnum> map_bool_child_enum = 615;
+ map<bool, ChildMessage> map_bool_child_message = 616;
+ map<bool, NamedGroup> map_bool_named_group = 617;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 618;
+ map<bool, SiblingMessage> map_bool_sibling_message = 619;
+
+ map<int32, bool> map_int32_bool = 620;
+ map<sint32, bool> map_sint32_bool = 621;
+ map<uint32, bool> map_uint32_bool = 622;
+ map<int64, bool> map_int64_bool = 623;
+ map<sint64, bool> map_sint64_bool = 624;
+ map<uint64, bool> map_uint64_bool = 625;
+ map<fixed32, bool> map_fixed32_bool = 626;
+ map<string, bool> map_string_bool = 627;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 700;
+ int32 oneof_int32 = 701;
+ sint32 oneof_sint32 = 702;
+ uint32 oneof_uint32 = 703;
+ int64 oneof_int64 = 704;
+ sint64 oneof_sint64 = 705;
+ uint64 oneof_uint64 = 706;
+ fixed32 oneof_fixed32 = 707;
+ sfixed32 oneof_sfixed32 = 708;
+ float oneof_float = 709;
+ fixed64 oneof_fixed64 = 710;
+ sfixed64 oneof_sfixed64 = 711;
+ double oneof_double = 712;
+ string oneof_string = 713;
+ bytes oneof_bytes = 714;
+
+ ChildEnum oneof_child_enum = 715;
+ ChildMessage oneof_child_message = 716;
+ NamedGroup oneof_named_group = 717;
+ SiblingEnum oneof_sibling_enum = 718;
+ SiblingMessage oneof_sibling_message = 719;
+ group OneofGroup = 720 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ string oneof_string1 = 721;
+ string oneof_string2 = 722;
+ string oneof_string3 = 723;
+ }
+
+ // Oneof default fields.
+ oneof oneof_defaulted_union {
+ bool oneof_defaulted_bool = 800 [default = true];
+ int32 oneof_defaulted_int32 = 801 [default = -12345];
+ sint32 oneof_defaulted_sint32 = 802 [default = -3200];
+ uint32 oneof_defaulted_uint32 = 803 [default = 3200];
+ int64 oneof_defaulted_int64 = 804 [default = -123456789];
+ sint64 oneof_defaulted_sint64 = 805 [default = -6400];
+ uint64 oneof_defaulted_uint64 = 806 [default = 6400];
+ fixed32 oneof_defaulted_fixed32 = 807 [default = 320000];
+ sfixed32 oneof_defaulted_sfixed32 = 808 [default = -320000];
+ float oneof_defaulted_float = 809 [default = 3.14159];
+ fixed64 oneof_defaulted_fixed64 = 810 [default = 640000];
+ sfixed64 oneof_defaulted_sfixed64 = 811 [default = -640000];
+ double oneof_defaulted_double = 812 [default = 3.14159265359];
+ string oneof_defaulted_string = 813 [default = "hello, \"world!\"\n"];
+ bytes oneof_defaulted_bytes = 814 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ ChildEnum oneof_defaulted_child_enum = 815 [default = ALPHA];
+ SiblingEnum oneof_defaulted_sibling_enum = 816 [default = ALPHA];
+ }
+
+ // Extension fields.
+ extend Message {
+ // Optional fields.
+ optional bool extension_optional_bool = 10000;
+ optional int32 extension_optional_int32 = 10001;
+ optional sint32 extension_optional_sint32 = 10002;
+ optional uint32 extension_optional_uint32 = 10003;
+ optional int64 extension_optional_int64 = 10004;
+ optional sint64 extension_optional_sint64 = 10005;
+ optional uint64 extension_optional_uint64 = 10006;
+ optional fixed32 extension_optional_fixed32 = 10007;
+ optional sfixed32 extension_optional_sfixed32 = 10008;
+ optional float extension_optional_float = 10009;
+ optional fixed64 extension_optional_fixed64 = 10010;
+ optional sfixed64 extension_optional_sfixed64 = 10011;
+ optional double extension_optional_double = 10012;
+ optional string extension_optional_string = 10013;
+ optional bytes extension_optional_bytes = 10014;
+
+ optional ChildEnum extension_optional_child_enum = 10015;
+ optional ChildMessage extension_optional_child_message = 10016;
+ optional NamedGroup extension_optional_named_group = 10017;
+ optional SiblingEnum extension_optional_sibling_enum = 10018;
+ optional SiblingMessage extension_optional_sibling_message = 10019;
+ optional group ExtensionOptionalGroup = 10020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool extension_defaulted_bool = 20000 [default = true];
+ optional int32 extension_defaulted_int32 = 20001 [default = -12345];
+ optional sint32 extension_defaulted_sint32 = 20002 [default = -3200];
+ optional uint32 extension_defaulted_uint32 = 20003 [default = 3200];
+ optional int64 extension_defaulted_int64 = 20004 [default = -123456789];
+ optional sint64 extension_defaulted_sint64 = 20005 [default = -6400];
+ optional uint64 extension_defaulted_uint64 = 20006 [default = 6400];
+ optional fixed32 extension_defaulted_fixed32 = 20007 [default = 320000];
+ optional sfixed32 extension_defaulted_sfixed32 = 20008 [default = -320000];
+ optional float extension_defaulted_float = 20009 [default = 3.14159];
+ optional fixed64 extension_defaulted_fixed64 = 20010 [default = 640000];
+ optional sfixed64 extension_defaulted_sfixed64 = 20011 [default = -640000];
+ optional double extension_defaulted_double = 20012 [default = 3.14159265359];
+ optional string extension_defaulted_string = 20013 [default = "hello, \"world!\"\n"];
+ optional bytes extension_defaulted_bytes = 20014 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum extension_defaulted_child_enum = 20015 [default = ALPHA];
+ optional SiblingEnum extension_defaulted_sibling_enum = 20016 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool extension_repeated_bool = 30000;
+ repeated int32 extension_repeated_int32 = 30001;
+ repeated sint32 extension_repeated_sint32 = 30002;
+ repeated uint32 extension_repeated_uint32 = 30003;
+ repeated int64 extension_repeated_int64 = 30004;
+ repeated sint64 extension_repeated_sint64 = 30005;
+ repeated uint64 extension_repeated_uint64 = 30006;
+ repeated fixed32 extension_repeated_fixed32 = 30007;
+ repeated sfixed32 extension_repeated_sfixed32 = 30008;
+ repeated float extension_repeated_float = 30009;
+ repeated fixed64 extension_repeated_fixed64 = 30010;
+ repeated sfixed64 extension_repeated_sfixed64 = 30011;
+ repeated double extension_repeated_double = 30012;
+ repeated string extension_repeated_string = 30013;
+ repeated bytes extension_repeated_bytes = 30014;
+
+ repeated ChildEnum extension_repeated_child_enum = 30015;
+ repeated ChildMessage extension_repeated_child_message = 30016;
+ repeated NamedGroup extension_repeated_named_group = 30017;
+ repeated SiblingEnum extension_repeated_sibling_enum = 30018;
+ repeated SiblingMessage extension_repeated_sibling_message = 30019;
+ repeated group ExtensionRepeatedGroup = 30020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ }
+
+ extensions 10000 to max;
+}
diff --git a/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.pb.go b/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.pb.go
new file mode 100644
index 0000000..2cfedc0
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.pb.go
@@ -0,0 +1,3529 @@
+// Code generated by protoc-gen-go.
+// source: proto2.v0.0.0-20160519-a4ab9ec5/test.proto
+// DO NOT EDIT!
+
+/*
+Package proto2_v0_0_0_20160519_a4ab9ec5 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto2.v0.0.0-20160519-a4ab9ec5/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package proto2_v0_0_0_20160519_a4ab9ec5
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+const _ = proto.ProtoPackageIsVersion1
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) Enum() *SiblingEnum {
+ p := new(SiblingEnum)
+ *p = x
+ return p
+}
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
+ if err != nil {
+ return err
+ }
+ *x = SiblingEnum(value)
+ return nil
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) Enum() *Message_ChildEnum {
+ p := new(Message_ChildEnum)
+ *p = x
+ return p
+}
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
+ if err != nil {
+ return err
+ }
+ *x = Message_ChildEnum(value)
+ return nil
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message struct {
+ Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
+ // Optional fields.
+ OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
+ OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
+ OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
+ // Optional default fields.
+ DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
+ DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
+ DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
+ DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
+ DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
+ DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
+ DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
+ DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
+ DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
+ DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
+ DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
+ DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
+ DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
+ DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
+ DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
+ DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
+ DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
+ // Required fields.
+ RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
+ RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
+ RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
+ RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
+ RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
+ RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
+ RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
+ RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
+ RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
+ RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
+ RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
+ RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
+ RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
+ RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
+ RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
+ RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"required_child_enum,omitempty"`
+ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
+ RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
+ RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"required_sibling_enum,omitempty"`
+ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
+ Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
+ // Required default fields.
+ RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
+ RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
+ RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
+ RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
+ RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
+ RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
+ RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
+ RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
+ RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
+ RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
+ RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
+ RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
+ RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
+ RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
+ RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
+ RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
+ RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160519.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160519.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofNamedGroup
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_Oneofgroup
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ // Oneof default fields.
+ //
+ // Types that are valid to be assigned to OneofDefaultedUnion:
+ // *Message_OneofDefaultedBool
+ // *Message_OneofDefaultedInt32
+ // *Message_OneofDefaultedSint32
+ // *Message_OneofDefaultedUint32
+ // *Message_OneofDefaultedInt64
+ // *Message_OneofDefaultedSint64
+ // *Message_OneofDefaultedUint64
+ // *Message_OneofDefaultedFixed32
+ // *Message_OneofDefaultedSfixed32
+ // *Message_OneofDefaultedFloat
+ // *Message_OneofDefaultedFixed64
+ // *Message_OneofDefaultedSfixed64
+ // *Message_OneofDefaultedDouble
+ // *Message_OneofDefaultedString
+ // *Message_OneofDefaultedBytes
+ // *Message_OneofDefaultedChildEnum
+ // *Message_OneofDefaultedSiblingEnum
+ OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
+ XXX_extensions map[int32]proto.Extension `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+var extRange_Message = []proto.ExtensionRange{
+ {10000, 536870911},
+}
+
+func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
+ return extRange_Message
+}
+func (m *Message) ExtensionMap() map[int32]proto.Extension {
+ if m.XXX_extensions == nil {
+ m.XXX_extensions = make(map[int32]proto.Extension)
+ }
+ return m.XXX_extensions
+}
+
+const Default_Message_DefaultedBool bool = true
+const Default_Message_DefaultedInt32 int32 = -12345
+const Default_Message_DefaultedSint32 int32 = -3200
+const Default_Message_DefaultedUint32 uint32 = 3200
+const Default_Message_DefaultedInt64 int64 = -123456789
+const Default_Message_DefaultedSint64 int64 = -6400
+const Default_Message_DefaultedUint64 uint64 = 6400
+const Default_Message_DefaultedFixed32 uint32 = 320000
+const Default_Message_DefaultedSfixed32 int32 = -320000
+const Default_Message_DefaultedFloat float32 = 3.14159
+const Default_Message_DefaultedFixed64 uint64 = 640000
+const Default_Message_DefaultedSfixed64 int64 = -640000
+const Default_Message_DefaultedDouble float64 = 3.14159265359
+const Default_Message_DefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_DefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_RequiredDefaultedBool bool = true
+const Default_Message_RequiredDefaultedInt32 int32 = -12345
+const Default_Message_RequiredDefaultedSint32 int32 = -3200
+const Default_Message_RequiredDefaultedUint32 uint32 = 3200
+const Default_Message_RequiredDefaultedInt64 int64 = -123456789
+const Default_Message_RequiredDefaultedSint64 int64 = -6400
+const Default_Message_RequiredDefaultedUint64 uint64 = 6400
+const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
+const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
+const Default_Message_RequiredDefaultedFloat float32 = 3.14159
+const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
+const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
+const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
+const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_RequiredDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_OneofDefaultedBool bool = true
+const Default_Message_OneofDefaultedInt32 int32 = -12345
+const Default_Message_OneofDefaultedSint32 int32 = -3200
+const Default_Message_OneofDefaultedUint32 uint32 = 3200
+const Default_Message_OneofDefaultedInt64 int64 = -123456789
+const Default_Message_OneofDefaultedSint64 int64 = -6400
+const Default_Message_OneofDefaultedUint64 uint64 = 6400
+const Default_Message_OneofDefaultedFixed32 uint32 = 320000
+const Default_Message_OneofDefaultedSfixed32 int32 = -320000
+const Default_Message_OneofDefaultedFloat float32 = 3.14159
+const Default_Message_OneofDefaultedFixed64 uint64 = 640000
+const Default_Message_OneofDefaultedSfixed64 int64 = -640000
+const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
+const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_OneofDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
+
+const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofNamedGroup struct {
+ OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_Oneofgroup struct {
+ Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+type Message_OneofDefaultedBool struct {
+ OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
+}
+type Message_OneofDefaultedInt32 struct {
+ OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
+}
+type Message_OneofDefaultedSint32 struct {
+ OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
+}
+type Message_OneofDefaultedUint32 struct {
+ OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
+}
+type Message_OneofDefaultedInt64 struct {
+ OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
+}
+type Message_OneofDefaultedSint64 struct {
+ OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
+}
+type Message_OneofDefaultedUint64 struct {
+ OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
+}
+type Message_OneofDefaultedFixed32 struct {
+ OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
+}
+type Message_OneofDefaultedSfixed32 struct {
+ OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
+}
+type Message_OneofDefaultedFloat struct {
+ OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
+}
+type Message_OneofDefaultedFixed64 struct {
+ OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
+}
+type Message_OneofDefaultedSfixed64 struct {
+ OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
+}
+type Message_OneofDefaultedDouble struct {
+ OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
+}
+type Message_OneofDefaultedString struct {
+ OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
+}
+type Message_OneofDefaultedBytes struct {
+ OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
+}
+type Message_OneofDefaultedChildEnum struct {
+ OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,oneof,def=0"`
+}
+type Message_OneofDefaultedSiblingEnum struct {
+ OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,oneof,def=0"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_Oneofgroup) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
+ if m != nil {
+ return m.OneofDefaultedUnion
+ }
+ return nil
+}
+
+func (m *Message) GetNamedgroup() *Message_NamedGroup {
+ if m != nil {
+ return m.Namedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil && m.OptionalBool != nil {
+ return *m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil && m.OptionalInt32 != nil {
+ return *m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil && m.OptionalSint32 != nil {
+ return *m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil && m.OptionalUint32 != nil {
+ return *m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil && m.OptionalInt64 != nil {
+ return *m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil && m.OptionalSint64 != nil {
+ return *m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil && m.OptionalUint64 != nil {
+ return *m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil && m.OptionalFixed32 != nil {
+ return *m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil && m.OptionalSfixed32 != nil {
+ return *m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil && m.OptionalFloat != nil {
+ return *m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil && m.OptionalFixed64 != nil {
+ return *m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil && m.OptionalSfixed64 != nil {
+ return *m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil && m.OptionalDouble != nil {
+ return *m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil && m.OptionalString != nil {
+ return *m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil && m.OptionalChildEnum != nil {
+ return *m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.OptionalNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil && m.OptionalSiblingEnum != nil {
+ return *m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
+ if m != nil {
+ return m.Optionalgroup
+ }
+ return nil
+}
+
+func (m *Message) GetDefaultedBool() bool {
+ if m != nil && m.DefaultedBool != nil {
+ return *m.DefaultedBool
+ }
+ return Default_Message_DefaultedBool
+}
+
+func (m *Message) GetDefaultedInt32() int32 {
+ if m != nil && m.DefaultedInt32 != nil {
+ return *m.DefaultedInt32
+ }
+ return Default_Message_DefaultedInt32
+}
+
+func (m *Message) GetDefaultedSint32() int32 {
+ if m != nil && m.DefaultedSint32 != nil {
+ return *m.DefaultedSint32
+ }
+ return Default_Message_DefaultedSint32
+}
+
+func (m *Message) GetDefaultedUint32() uint32 {
+ if m != nil && m.DefaultedUint32 != nil {
+ return *m.DefaultedUint32
+ }
+ return Default_Message_DefaultedUint32
+}
+
+func (m *Message) GetDefaultedInt64() int64 {
+ if m != nil && m.DefaultedInt64 != nil {
+ return *m.DefaultedInt64
+ }
+ return Default_Message_DefaultedInt64
+}
+
+func (m *Message) GetDefaultedSint64() int64 {
+ if m != nil && m.DefaultedSint64 != nil {
+ return *m.DefaultedSint64
+ }
+ return Default_Message_DefaultedSint64
+}
+
+func (m *Message) GetDefaultedUint64() uint64 {
+ if m != nil && m.DefaultedUint64 != nil {
+ return *m.DefaultedUint64
+ }
+ return Default_Message_DefaultedUint64
+}
+
+func (m *Message) GetDefaultedFixed32() uint32 {
+ if m != nil && m.DefaultedFixed32 != nil {
+ return *m.DefaultedFixed32
+ }
+ return Default_Message_DefaultedFixed32
+}
+
+func (m *Message) GetDefaultedSfixed32() int32 {
+ if m != nil && m.DefaultedSfixed32 != nil {
+ return *m.DefaultedSfixed32
+ }
+ return Default_Message_DefaultedSfixed32
+}
+
+func (m *Message) GetDefaultedFloat() float32 {
+ if m != nil && m.DefaultedFloat != nil {
+ return *m.DefaultedFloat
+ }
+ return Default_Message_DefaultedFloat
+}
+
+func (m *Message) GetDefaultedFixed64() uint64 {
+ if m != nil && m.DefaultedFixed64 != nil {
+ return *m.DefaultedFixed64
+ }
+ return Default_Message_DefaultedFixed64
+}
+
+func (m *Message) GetDefaultedSfixed64() int64 {
+ if m != nil && m.DefaultedSfixed64 != nil {
+ return *m.DefaultedSfixed64
+ }
+ return Default_Message_DefaultedSfixed64
+}
+
+func (m *Message) GetDefaultedDouble() float64 {
+ if m != nil && m.DefaultedDouble != nil {
+ return *m.DefaultedDouble
+ }
+ return Default_Message_DefaultedDouble
+}
+
+func (m *Message) GetDefaultedString() string {
+ if m != nil && m.DefaultedString != nil {
+ return *m.DefaultedString
+ }
+ return Default_Message_DefaultedString
+}
+
+func (m *Message) GetDefaultedBytes() []byte {
+ if m != nil && m.DefaultedBytes != nil {
+ return m.DefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_DefaultedBytes...)
+}
+
+func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.DefaultedChildEnum != nil {
+ return *m.DefaultedChildEnum
+ }
+ return Default_Message_DefaultedChildEnum
+}
+
+func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.DefaultedSiblingEnum != nil {
+ return *m.DefaultedSiblingEnum
+ }
+ return Default_Message_DefaultedSiblingEnum
+}
+
+func (m *Message) GetRequiredBool() bool {
+ if m != nil && m.RequiredBool != nil {
+ return *m.RequiredBool
+ }
+ return false
+}
+
+func (m *Message) GetRequiredInt32() int32 {
+ if m != nil && m.RequiredInt32 != nil {
+ return *m.RequiredInt32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint32() int32 {
+ if m != nil && m.RequiredSint32 != nil {
+ return *m.RequiredSint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint32() uint32 {
+ if m != nil && m.RequiredUint32 != nil {
+ return *m.RequiredUint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredInt64() int64 {
+ if m != nil && m.RequiredInt64 != nil {
+ return *m.RequiredInt64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint64() int64 {
+ if m != nil && m.RequiredSint64 != nil {
+ return *m.RequiredSint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint64() uint64 {
+ if m != nil && m.RequiredUint64 != nil {
+ return *m.RequiredUint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed32() uint32 {
+ if m != nil && m.RequiredFixed32 != nil {
+ return *m.RequiredFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed32() int32 {
+ if m != nil && m.RequiredSfixed32 != nil {
+ return *m.RequiredSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFloat() float32 {
+ if m != nil && m.RequiredFloat != nil {
+ return *m.RequiredFloat
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed64() uint64 {
+ if m != nil && m.RequiredFixed64 != nil {
+ return *m.RequiredFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed64() int64 {
+ if m != nil && m.RequiredSfixed64 != nil {
+ return *m.RequiredSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredDouble() float64 {
+ if m != nil && m.RequiredDouble != nil {
+ return *m.RequiredDouble
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredString() string {
+ if m != nil && m.RequiredString != nil {
+ return *m.RequiredString
+ }
+ return ""
+}
+
+func (m *Message) GetRequiredBytes() []byte {
+ if m != nil {
+ return m.RequiredBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredChildEnum != nil {
+ return *m.RequiredChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.RequiredChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.RequiredNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredSiblingEnum != nil {
+ return *m.RequiredSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.RequiredSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
+ if m != nil {
+ return m.Requiredgroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredDefaultedBool() bool {
+ if m != nil && m.RequiredDefaultedBool != nil {
+ return *m.RequiredDefaultedBool
+ }
+ return Default_Message_RequiredDefaultedBool
+}
+
+func (m *Message) GetRequiredDefaultedInt32() int32 {
+ if m != nil && m.RequiredDefaultedInt32 != nil {
+ return *m.RequiredDefaultedInt32
+ }
+ return Default_Message_RequiredDefaultedInt32
+}
+
+func (m *Message) GetRequiredDefaultedSint32() int32 {
+ if m != nil && m.RequiredDefaultedSint32 != nil {
+ return *m.RequiredDefaultedSint32
+ }
+ return Default_Message_RequiredDefaultedSint32
+}
+
+func (m *Message) GetRequiredDefaultedUint32() uint32 {
+ if m != nil && m.RequiredDefaultedUint32 != nil {
+ return *m.RequiredDefaultedUint32
+ }
+ return Default_Message_RequiredDefaultedUint32
+}
+
+func (m *Message) GetRequiredDefaultedInt64() int64 {
+ if m != nil && m.RequiredDefaultedInt64 != nil {
+ return *m.RequiredDefaultedInt64
+ }
+ return Default_Message_RequiredDefaultedInt64
+}
+
+func (m *Message) GetRequiredDefaultedSint64() int64 {
+ if m != nil && m.RequiredDefaultedSint64 != nil {
+ return *m.RequiredDefaultedSint64
+ }
+ return Default_Message_RequiredDefaultedSint64
+}
+
+func (m *Message) GetRequiredDefaultedUint64() uint64 {
+ if m != nil && m.RequiredDefaultedUint64 != nil {
+ return *m.RequiredDefaultedUint64
+ }
+ return Default_Message_RequiredDefaultedUint64
+}
+
+func (m *Message) GetRequiredDefaultedFixed32() uint32 {
+ if m != nil && m.RequiredDefaultedFixed32 != nil {
+ return *m.RequiredDefaultedFixed32
+ }
+ return Default_Message_RequiredDefaultedFixed32
+}
+
+func (m *Message) GetRequiredDefaultedSfixed32() int32 {
+ if m != nil && m.RequiredDefaultedSfixed32 != nil {
+ return *m.RequiredDefaultedSfixed32
+ }
+ return Default_Message_RequiredDefaultedSfixed32
+}
+
+func (m *Message) GetRequiredDefaultedFloat() float32 {
+ if m != nil && m.RequiredDefaultedFloat != nil {
+ return *m.RequiredDefaultedFloat
+ }
+ return Default_Message_RequiredDefaultedFloat
+}
+
+func (m *Message) GetRequiredDefaultedFixed64() uint64 {
+ if m != nil && m.RequiredDefaultedFixed64 != nil {
+ return *m.RequiredDefaultedFixed64
+ }
+ return Default_Message_RequiredDefaultedFixed64
+}
+
+func (m *Message) GetRequiredDefaultedSfixed64() int64 {
+ if m != nil && m.RequiredDefaultedSfixed64 != nil {
+ return *m.RequiredDefaultedSfixed64
+ }
+ return Default_Message_RequiredDefaultedSfixed64
+}
+
+func (m *Message) GetRequiredDefaultedDouble() float64 {
+ if m != nil && m.RequiredDefaultedDouble != nil {
+ return *m.RequiredDefaultedDouble
+ }
+ return Default_Message_RequiredDefaultedDouble
+}
+
+func (m *Message) GetRequiredDefaultedString() string {
+ if m != nil && m.RequiredDefaultedString != nil {
+ return *m.RequiredDefaultedString
+ }
+ return Default_Message_RequiredDefaultedString
+}
+
+func (m *Message) GetRequiredDefaultedBytes() []byte {
+ if m != nil && m.RequiredDefaultedBytes != nil {
+ return m.RequiredDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
+}
+
+func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredDefaultedChildEnum != nil {
+ return *m.RequiredDefaultedChildEnum
+ }
+ return Default_Message_RequiredDefaultedChildEnum
+}
+
+func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredDefaultedSiblingEnum != nil {
+ return *m.RequiredDefaultedSiblingEnum
+ }
+ return Default_Message_RequiredDefaultedSiblingEnum
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
+ if m != nil {
+ return m.RepeatedNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
+ if m != nil {
+ return m.Repeatedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
+ if m != nil {
+ return m.MapBoolNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
+ if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
+ return x.OneofNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofgroup() *Message_OneofGroup {
+ if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
+ return x.Oneofgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+func (m *Message) GetOneofDefaultedBool() bool {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
+ return x.OneofDefaultedBool
+ }
+ return Default_Message_OneofDefaultedBool
+}
+
+func (m *Message) GetOneofDefaultedInt32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
+ return x.OneofDefaultedInt32
+ }
+ return Default_Message_OneofDefaultedInt32
+}
+
+func (m *Message) GetOneofDefaultedSint32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
+ return x.OneofDefaultedSint32
+ }
+ return Default_Message_OneofDefaultedSint32
+}
+
+func (m *Message) GetOneofDefaultedUint32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
+ return x.OneofDefaultedUint32
+ }
+ return Default_Message_OneofDefaultedUint32
+}
+
+func (m *Message) GetOneofDefaultedInt64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
+ return x.OneofDefaultedInt64
+ }
+ return Default_Message_OneofDefaultedInt64
+}
+
+func (m *Message) GetOneofDefaultedSint64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
+ return x.OneofDefaultedSint64
+ }
+ return Default_Message_OneofDefaultedSint64
+}
+
+func (m *Message) GetOneofDefaultedUint64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
+ return x.OneofDefaultedUint64
+ }
+ return Default_Message_OneofDefaultedUint64
+}
+
+func (m *Message) GetOneofDefaultedFixed32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
+ return x.OneofDefaultedFixed32
+ }
+ return Default_Message_OneofDefaultedFixed32
+}
+
+func (m *Message) GetOneofDefaultedSfixed32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
+ return x.OneofDefaultedSfixed32
+ }
+ return Default_Message_OneofDefaultedSfixed32
+}
+
+func (m *Message) GetOneofDefaultedFloat() float32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
+ return x.OneofDefaultedFloat
+ }
+ return Default_Message_OneofDefaultedFloat
+}
+
+func (m *Message) GetOneofDefaultedFixed64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
+ return x.OneofDefaultedFixed64
+ }
+ return Default_Message_OneofDefaultedFixed64
+}
+
+func (m *Message) GetOneofDefaultedSfixed64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
+ return x.OneofDefaultedSfixed64
+ }
+ return Default_Message_OneofDefaultedSfixed64
+}
+
+func (m *Message) GetOneofDefaultedDouble() float64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
+ return x.OneofDefaultedDouble
+ }
+ return Default_Message_OneofDefaultedDouble
+}
+
+func (m *Message) GetOneofDefaultedString() string {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
+ return x.OneofDefaultedString
+ }
+ return Default_Message_OneofDefaultedString
+}
+
+func (m *Message) GetOneofDefaultedBytes() []byte {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
+ return x.OneofDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
+}
+
+func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
+ return x.OneofDefaultedChildEnum
+ }
+ return Default_Message_OneofDefaultedChildEnum
+}
+
+func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
+ return x.OneofDefaultedSiblingEnum
+ }
+ return Default_Message_OneofDefaultedSiblingEnum
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofNamedGroup)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_Oneofgroup)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ (*Message_OneofDefaultedBool)(nil),
+ (*Message_OneofDefaultedInt32)(nil),
+ (*Message_OneofDefaultedSint32)(nil),
+ (*Message_OneofDefaultedUint32)(nil),
+ (*Message_OneofDefaultedInt64)(nil),
+ (*Message_OneofDefaultedSint64)(nil),
+ (*Message_OneofDefaultedUint64)(nil),
+ (*Message_OneofDefaultedFixed32)(nil),
+ (*Message_OneofDefaultedSfixed32)(nil),
+ (*Message_OneofDefaultedFloat)(nil),
+ (*Message_OneofDefaultedFixed64)(nil),
+ (*Message_OneofDefaultedSfixed64)(nil),
+ (*Message_OneofDefaultedDouble)(nil),
+ (*Message_OneofDefaultedString)(nil),
+ (*Message_OneofDefaultedBytes)(nil),
+ (*Message_OneofDefaultedChildEnum)(nil),
+ (*Message_OneofDefaultedSiblingEnum)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(700<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(701<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(702<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(703<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(704<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(705<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(706<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(707<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(708<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(709<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(710<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(711<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(712<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(713<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(714<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(715<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(716<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofNamedGroup:
+ b.EncodeVarint(717<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(718<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(719<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_Oneofgroup:
+ b.EncodeVarint(720<<3 | proto.WireStartGroup)
+ if err := b.Marshal(x.Oneofgroup); err != nil {
+ return err
+ }
+ b.EncodeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ b.EncodeVarint(721<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(722<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(723<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ t := uint64(0)
+ if x.OneofDefaultedBool {
+ t = 1
+ }
+ b.EncodeVarint(800<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofDefaultedInt32:
+ b.EncodeVarint(801<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ b.EncodeVarint(802<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
+ case *Message_OneofDefaultedUint32:
+ b.EncodeVarint(803<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ b.EncodeVarint(804<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ b.EncodeVarint(805<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
+ case *Message_OneofDefaultedUint64:
+ b.EncodeVarint(806<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ b.EncodeVarint(807<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
+ case *Message_OneofDefaultedSfixed32:
+ b.EncodeVarint(808<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
+ case *Message_OneofDefaultedFloat:
+ b.EncodeVarint(809<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
+ case *Message_OneofDefaultedFixed64:
+ b.EncodeVarint(810<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
+ case *Message_OneofDefaultedSfixed64:
+ b.EncodeVarint(811<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
+ case *Message_OneofDefaultedDouble:
+ b.EncodeVarint(812<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
+ case *Message_OneofDefaultedString:
+ b.EncodeVarint(813<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ b.EncodeVarint(814<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ b.EncodeVarint(815<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ b.EncodeVarint(816<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 700: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 701: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 702: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 703: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 704: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 705: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 706: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 707: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 708: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 709: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 710: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 711: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 712: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 713: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 714: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 715: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 716: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 717: // oneof_union.oneof_named_group
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_NamedGroup)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofNamedGroup{msg}
+ return true, err
+ case 718: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 719: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 720: // oneof_union.oneofgroup
+ if wire != proto.WireStartGroup {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_OneofGroup)
+ err := b.DecodeGroup(msg)
+ m.OneofUnion = &Message_Oneofgroup{msg}
+ return true, err
+ case 721: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 722: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 723: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ case 800: // oneof_defaulted_union.oneof_defaulted_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
+ return true, err
+ case 801: // oneof_defaulted_union.oneof_defaulted_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
+ return true, err
+ case 802: // oneof_defaulted_union.oneof_defaulted_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
+ return true, err
+ case 803: // oneof_defaulted_union.oneof_defaulted_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
+ return true, err
+ case 804: // oneof_defaulted_union.oneof_defaulted_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
+ return true, err
+ case 805: // oneof_defaulted_union.oneof_defaulted_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
+ return true, err
+ case 806: // oneof_defaulted_union.oneof_defaulted_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
+ return true, err
+ case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
+ return true, err
+ case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
+ return true, err
+ case 809: // oneof_defaulted_union.oneof_defaulted_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
+ return true, err
+ case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
+ return true, err
+ case 812: // oneof_defaulted_union.oneof_defaulted_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
+ return true, err
+ case 813: // oneof_defaulted_union.oneof_defaulted_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
+ return true, err
+ case 814: // oneof_defaulted_union.oneof_defaulted_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
+ return true, err
+ case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(700<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(701<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(702<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(703<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(704<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(705<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(706<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(707<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(708<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(709<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(710<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(711<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(712<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(713<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(714<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(715<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(716<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofNamedGroup:
+ s := proto.Size(x.OneofNamedGroup)
+ n += proto.SizeVarint(717<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(718<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(719<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_Oneofgroup:
+ n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
+ n += proto.Size(x.Oneofgroup)
+ n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ n += proto.SizeVarint(721<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(722<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(723<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ n += proto.SizeVarint(800<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofDefaultedInt32:
+ n += proto.SizeVarint(801<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ n += proto.SizeVarint(802<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
+ case *Message_OneofDefaultedUint32:
+ n += proto.SizeVarint(803<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ n += proto.SizeVarint(804<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ n += proto.SizeVarint(805<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
+ case *Message_OneofDefaultedUint64:
+ n += proto.SizeVarint(806<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ n += proto.SizeVarint(807<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedSfixed32:
+ n += proto.SizeVarint(808<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFloat:
+ n += proto.SizeVarint(809<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFixed64:
+ n += proto.SizeVarint(810<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedSfixed64:
+ n += proto.SizeVarint(811<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedDouble:
+ n += proto.SizeVarint(812<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedString:
+ n += proto.SizeVarint(813<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
+ n += len(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ n += proto.SizeVarint(814<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
+ n += len(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ n += proto.SizeVarint(815<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ n += proto.SizeVarint(816<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 10000,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_bool",
+ Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
+}
+
+var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10001,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_int32",
+ Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
+}
+
+var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10002,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sint32",
+ Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
+}
+
+var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10003,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_uint32",
+ Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
+}
+
+var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10004,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_int64",
+ Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
+}
+
+var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10005,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sint64",
+ Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
+}
+
+var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10006,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_uint64",
+ Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
+}
+
+var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10007,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_fixed32",
+ Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
+}
+
+var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10008,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sfixed32",
+ Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
+}
+
+var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 10009,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_float",
+ Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
+}
+
+var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10010,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_fixed64",
+ Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
+}
+
+var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10011,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sfixed64",
+ Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
+}
+
+var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 10012,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_double",
+ Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
+}
+
+var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 10013,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_string",
+ Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
+}
+
+var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 10014,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_bytes",
+ Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
+}
+
+var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 10015,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_child_enum",
+ Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum",
+}
+
+var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildMessage)(nil),
+ Field: 10016,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_child_message",
+ Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
+}
+
+var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_NamedGroup)(nil),
+ Field: 10017,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_named_group",
+ Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
+}
+
+var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 10018,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sibling_enum",
+ Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum",
+}
+
+var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingMessage)(nil),
+ Field: 10019,
+ Name: "google.golang.org.proto2_20160519.Message.extension_optional_sibling_message",
+ Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
+}
+
+var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
+ Field: 10020,
+ Name: "google.golang.org.proto2_20160519.Message.extensionoptionalgroup",
+ Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
+}
+
+var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 20000,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_bool",
+ Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
+}
+
+var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20001,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_int32",
+ Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
+}
+
+var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20002,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sint32",
+ Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
+}
+
+var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20003,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_uint32",
+ Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
+}
+
+var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20004,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_int64",
+ Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
+}
+
+var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20005,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sint64",
+ Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
+}
+
+var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20006,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_uint64",
+ Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
+}
+
+var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20007,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_fixed32",
+ Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
+}
+
+var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20008,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sfixed32",
+ Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
+}
+
+var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 20009,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_float",
+ Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
+}
+
+var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20010,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_fixed64",
+ Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
+}
+
+var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20011,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sfixed64",
+ Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
+}
+
+var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 20012,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_double",
+ Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
+}
+
+var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 20013,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_string",
+ Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
+}
+
+var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 20014,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_bytes",
+ Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
+}
+
+var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 20015,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_child_enum",
+ Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0",
+}
+
+var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 20016,
+ Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sibling_enum",
+ Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0",
+}
+
+var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]bool)(nil),
+ Field: 30000,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_bool",
+ Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
+}
+
+var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30001,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_int32",
+ Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
+}
+
+var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30002,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sint32",
+ Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
+}
+
+var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30003,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_uint32",
+ Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
+}
+
+var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30004,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_int64",
+ Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
+}
+
+var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30005,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sint64",
+ Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
+}
+
+var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30006,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_uint64",
+ Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
+}
+
+var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30007,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_fixed32",
+ Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
+}
+
+var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30008,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sfixed32",
+ Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
+}
+
+var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float32)(nil),
+ Field: 30009,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_float",
+ Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
+}
+
+var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30010,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_fixed64",
+ Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
+}
+
+var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30011,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sfixed64",
+ Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
+}
+
+var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float64)(nil),
+ Field: 30012,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_double",
+ Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
+}
+
+var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]string)(nil),
+ Field: 30013,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_string",
+ Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
+}
+
+var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([][]byte)(nil),
+ Field: 30014,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_bytes",
+ Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
+}
+
+var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]Message_ChildEnum)(nil),
+ Field: 30015,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_child_enum",
+ Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum",
+}
+
+var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ChildMessage)(nil),
+ Field: 30016,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_child_message",
+ Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
+}
+
+var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_NamedGroup)(nil),
+ Field: 30017,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_named_group",
+ Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
+}
+
+var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]SiblingEnum)(nil),
+ Field: 30018,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sibling_enum",
+ Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum",
+}
+
+var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*SiblingMessage)(nil),
+ Field: 30019,
+ Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sibling_message",
+ Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
+}
+
+var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
+ Field: 30020,
+ Name: "google.golang.org.proto2_20160519.Message.extensionrepeatedgroup",
+ Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
+}
+
+type Message_ChildMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_NamedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
+func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_NamedGroup) ProtoMessage() {}
+func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
+
+func (m *Message_NamedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_NamedGroup) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_OptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
+func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OptionalGroup) ProtoMessage() {}
+func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
+
+func (m *Message_OptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RequiredGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
+func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RequiredGroup) ProtoMessage() {}
+func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
+
+func (m *Message_RequiredGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
+func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RepeatedGroup) ProtoMessage() {}
+func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
+
+func (m *Message_RepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_OneofGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
+func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OneofGroup) ProtoMessage() {}
+func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
+
+func (m *Message_OneofGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionOptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
+func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
+func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 34}
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionRepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
+func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
+func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 35}
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20160519.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20160519.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20160519.Message.ChildMessage")
+ proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20160519.Message.NamedGroup")
+ proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20160519.Message.OptionalGroup")
+ proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20160519.Message.RequiredGroup")
+ proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20160519.Message.RepeatedGroup")
+ proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20160519.Message.OneofGroup")
+ proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20160519.Message.ExtensionOptionalGroup")
+ proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20160519.Message.ExtensionRepeatedGroup")
+ proto.RegisterEnum("google.golang.org.proto2_20160519.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto2_20160519.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBool)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
+ proto.RegisterExtension(E_Message_ExtensionOptionalString)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionoptionalgroup)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedString)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedString)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
+}
+
+var fileDescriptor0 = []byte{
+ // 4492 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x67, 0x70, 0x24, 0xc7,
+ 0x75, 0xc6, 0xec, 0x62, 0x17, 0x87, 0x3e, 0x2c, 0xb0, 0x98, 0xbb, 0x03, 0xe6, 0x40, 0xd2, 0x5c,
+ 0x9d, 0x65, 0x79, 0x7d, 0xe6, 0xe1, 0x80, 0x41, 0xa3, 0x8f, 0xb7, 0x66, 0xd0, 0x81, 0x3c, 0x6a,
+ 0x29, 0x8b, 0x4b, 0xd7, 0xb0, 0xce, 0xa5, 0x52, 0xb1, 0x0c, 0x03, 0x87, 0x05, 0x0e, 0xe4, 0x06,
+ 0x10, 0xd8, 0x3d, 0xf2, 0x2c, 0xb9, 0x78, 0x96, 0xe3, 0x4f, 0x2a, 0xa7, 0x95, 0x44, 0x31, 0x4b,
+ 0x8c, 0xca, 0x89, 0x49, 0xc1, 0x36, 0x95, 0x93, 0x83, 0x9c, 0xe4, 0x9c, 0xe4, 0x9c, 0x73, 0xa8,
+ 0xee, 0xd7, 0x3d, 0xdd, 0x3d, 0xd3, 0xb3, 0x40, 0xcf, 0xaa, 0xf8, 0x83, 0x55, 0xbc, 0xde, 0xd7,
+ 0xef, 0xeb, 0xf7, 0x6d, 0xbf, 0xf7, 0x3e, 0xf4, 0x4c, 0x2f, 0x3a, 0xba, 0xb5, 0xdd, 0xee, 0xb4,
+ 0xfd, 0xd9, 0xf3, 0x73, 0xb3, 0x73, 0xb3, 0x73, 0xc7, 0xfc, 0xb9, 0x79, 0x32, 0xb7, 0x38, 0x7f,
+ 0xf2, 0xd8, 0x0a, 0x5e, 0x59, 0x3d, 0x59, 0x3f, 0xbb, 0x78, 0xbc, 0x53, 0xdf, 0xe9, 0xcc, 0x32,
+ 0x23, 0xf7, 0x25, 0x1b, 0xed, 0xf6,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f, 0xbe, 0xd9, 0xea, 0xd4, 0xb7, 0x5b, 0x2b, 0x0d, 0xf6, 0x53, 0xb7, 0xec,
+ 0x83, 0x9d, 0xe3, 0x8d, 0xfa, 0xc6, 0xca, 0xd9, 0x0b, 0xc7, 0x77, 0xf9, 0x71, 0xdc, 0xff, 0x0f,
+ 0x00, 0x00, 0xff, 0xff, 0x2f, 0xb5, 0x6d, 0xc6, 0x3e, 0x57, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.proto b/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.proto
new file mode 100644
index 0000000..ad2764c
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5/test.proto
@@ -0,0 +1,333 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package google.golang.org.proto2_20160519;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v0.0.0-20160519-a4ab9ec5";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+ optional group NamedGroup = 1 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+
+ // Optional fields.
+ optional bool optional_bool = 100;
+ optional int32 optional_int32 = 101;
+ optional sint32 optional_sint32 = 102;
+ optional uint32 optional_uint32 = 103;
+ optional int64 optional_int64 = 104;
+ optional sint64 optional_sint64 = 105;
+ optional uint64 optional_uint64 = 106;
+ optional fixed32 optional_fixed32 = 107;
+ optional sfixed32 optional_sfixed32 = 108;
+ optional float optional_float = 109;
+ optional fixed64 optional_fixed64 = 110;
+ optional sfixed64 optional_sfixed64 = 111;
+ optional double optional_double = 112;
+ optional string optional_string = 113;
+ optional bytes optional_bytes = 114;
+
+ optional ChildEnum optional_child_enum = 115;
+ optional ChildMessage optional_child_message = 116;
+ optional NamedGroup optional_named_group = 117;
+ optional SiblingEnum optional_sibling_enum = 118;
+ optional SiblingMessage optional_sibling_message = 119;
+ optional group OptionalGroup = 120 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool defaulted_bool = 200 [default = true];
+ optional int32 defaulted_int32 = 201 [default = -12345];
+ optional sint32 defaulted_sint32 = 202 [default = -3200];
+ optional uint32 defaulted_uint32 = 203 [default = 3200];
+ optional int64 defaulted_int64 = 204 [default = -123456789];
+ optional sint64 defaulted_sint64 = 205 [default = -6400];
+ optional uint64 defaulted_uint64 = 206 [default = 6400];
+ optional fixed32 defaulted_fixed32 = 207 [default = 320000];
+ optional sfixed32 defaulted_sfixed32 = 208 [default = -320000];
+ optional float defaulted_float = 209 [default = 3.14159];
+ optional fixed64 defaulted_fixed64 = 210 [default = 640000];
+ optional sfixed64 defaulted_sfixed64 = 211 [default = -640000];
+ optional double defaulted_double = 212 [default = 3.14159265359];
+ optional string defaulted_string = 213 [default = "hello, \"world!\"\n"];
+ optional bytes defaulted_bytes = 214 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum defaulted_child_enum = 215 [default = ALPHA];
+ optional SiblingEnum defaulted_sibling_enum = 216 [default = ALPHA];
+
+ // Required fields.
+ required bool required_bool = 300;
+ required int32 required_int32 = 301;
+ required sint32 required_sint32 = 302;
+ required uint32 required_uint32 = 303;
+ required int64 required_int64 = 304;
+ required sint64 required_sint64 = 305;
+ required uint64 required_uint64 = 306;
+ required fixed32 required_fixed32 = 307;
+ required sfixed32 required_sfixed32 = 308;
+ required float required_float = 309;
+ required fixed64 required_fixed64 = 310;
+ required sfixed64 required_sfixed64 = 311;
+ required double required_double = 312;
+ required string required_string = 313;
+ required bytes required_bytes = 314;
+
+ required ChildEnum required_child_enum = 315;
+ required ChildMessage required_child_message = 316;
+ required NamedGroup required_named_group = 317;
+ required SiblingEnum required_sibling_enum = 318;
+ required SiblingMessage required_sibling_message = 319;
+ required group RequiredGroup = 320 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ // Required default fields.
+ required bool required_defaulted_bool = 400 [default = true];
+ required int32 required_defaulted_int32 = 401 [default = -12345];
+ required sint32 required_defaulted_sint32 = 402 [default = -3200];
+ required uint32 required_defaulted_uint32 = 403 [default = 3200];
+ required int64 required_defaulted_int64 = 404 [default = -123456789];
+ required sint64 required_defaulted_sint64 = 405 [default = -6400];
+ required uint64 required_defaulted_uint64 = 406 [default = 6400];
+ required fixed32 required_defaulted_fixed32 = 407 [default = 320000];
+ required sfixed32 required_defaulted_sfixed32 = 408 [default = -320000];
+ required float required_defaulted_float = 409 [default = 3.14159];
+ required fixed64 required_defaulted_fixed64 = 410 [default = 640000];
+ required sfixed64 required_defaulted_sfixed64 = 411 [default = -640000];
+ required double required_defaulted_double = 412 [default = 3.14159265359];
+ required string required_defaulted_string = 413 [default = "hello, \"world!\"\n"];
+ required bytes required_defaulted_bytes = 414 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ required ChildEnum required_defaulted_child_enum = 415 [default = ALPHA];
+ required SiblingEnum required_defaulted_sibling_enum = 416 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool repeated_bool = 500;
+ repeated int32 repeated_int32 = 501;
+ repeated sint32 repeated_sint32 = 502;
+ repeated uint32 repeated_uint32 = 503;
+ repeated int64 repeated_int64 = 504;
+ repeated sint64 repeated_sint64 = 505;
+ repeated uint64 repeated_uint64 = 506;
+ repeated fixed32 repeated_fixed32 = 507;
+ repeated sfixed32 repeated_sfixed32 = 508;
+ repeated float repeated_float = 509;
+ repeated fixed64 repeated_fixed64 = 510;
+ repeated sfixed64 repeated_sfixed64 = 511;
+ repeated double repeated_double = 512;
+ repeated string repeated_string = 513;
+ repeated bytes repeated_bytes = 514;
+
+ repeated ChildEnum repeated_child_enum = 515;
+ repeated ChildMessage repeated_child_message = 516;
+ repeated NamedGroup repeated_named_group = 517;
+ repeated SiblingEnum repeated_sibling_enum = 518;
+ repeated SiblingMessage repeated_sibling_message = 519;
+ repeated group RepeatedGroup = 520 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 600;
+ map<bool, int32> map_bool_int32 = 601;
+ map<bool, sint32> map_bool_sint32 = 602;
+ map<bool, uint32> map_bool_uint32 = 603;
+ map<bool, int64> map_bool_int64 = 604;
+ map<bool, sint64> map_bool_sint64 = 605;
+ map<bool, uint64> map_bool_uint64 = 606;
+ map<bool, fixed32> map_bool_fixed32 = 607;
+ map<bool, sfixed32> map_bool_sfixed32 = 608;
+ map<bool, float> map_bool_float = 609;
+ map<bool, fixed64> map_bool_fixed64 = 610;
+ map<bool, sfixed64> map_bool_sfixed64 = 611;
+ map<bool, double> map_bool_double = 612;
+ map<bool, string> map_bool_string = 613;
+ map<bool, bytes> map_bool_bytes = 614;
+
+ map<bool, ChildEnum> map_bool_child_enum = 615;
+ map<bool, ChildMessage> map_bool_child_message = 616;
+ map<bool, NamedGroup> map_bool_named_group = 617;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 618;
+ map<bool, SiblingMessage> map_bool_sibling_message = 619;
+
+ map<int32, bool> map_int32_bool = 620;
+ map<sint32, bool> map_sint32_bool = 621;
+ map<uint32, bool> map_uint32_bool = 622;
+ map<int64, bool> map_int64_bool = 623;
+ map<sint64, bool> map_sint64_bool = 624;
+ map<uint64, bool> map_uint64_bool = 625;
+ map<fixed32, bool> map_fixed32_bool = 626;
+ map<string, bool> map_string_bool = 627;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 700;
+ int32 oneof_int32 = 701;
+ sint32 oneof_sint32 = 702;
+ uint32 oneof_uint32 = 703;
+ int64 oneof_int64 = 704;
+ sint64 oneof_sint64 = 705;
+ uint64 oneof_uint64 = 706;
+ fixed32 oneof_fixed32 = 707;
+ sfixed32 oneof_sfixed32 = 708;
+ float oneof_float = 709;
+ fixed64 oneof_fixed64 = 710;
+ sfixed64 oneof_sfixed64 = 711;
+ double oneof_double = 712;
+ string oneof_string = 713;
+ bytes oneof_bytes = 714;
+
+ ChildEnum oneof_child_enum = 715;
+ ChildMessage oneof_child_message = 716;
+ NamedGroup oneof_named_group = 717;
+ SiblingEnum oneof_sibling_enum = 718;
+ SiblingMessage oneof_sibling_message = 719;
+ group OneofGroup = 720 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ string oneof_string1 = 721;
+ string oneof_string2 = 722;
+ string oneof_string3 = 723;
+ }
+
+ // Oneof default fields.
+ oneof oneof_defaulted_union {
+ bool oneof_defaulted_bool = 800 [default = true];
+ int32 oneof_defaulted_int32 = 801 [default = -12345];
+ sint32 oneof_defaulted_sint32 = 802 [default = -3200];
+ uint32 oneof_defaulted_uint32 = 803 [default = 3200];
+ int64 oneof_defaulted_int64 = 804 [default = -123456789];
+ sint64 oneof_defaulted_sint64 = 805 [default = -6400];
+ uint64 oneof_defaulted_uint64 = 806 [default = 6400];
+ fixed32 oneof_defaulted_fixed32 = 807 [default = 320000];
+ sfixed32 oneof_defaulted_sfixed32 = 808 [default = -320000];
+ float oneof_defaulted_float = 809 [default = 3.14159];
+ fixed64 oneof_defaulted_fixed64 = 810 [default = 640000];
+ sfixed64 oneof_defaulted_sfixed64 = 811 [default = -640000];
+ double oneof_defaulted_double = 812 [default = 3.14159265359];
+ string oneof_defaulted_string = 813 [default = "hello, \"world!\"\n"];
+ bytes oneof_defaulted_bytes = 814 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ ChildEnum oneof_defaulted_child_enum = 815 [default = ALPHA];
+ SiblingEnum oneof_defaulted_sibling_enum = 816 [default = ALPHA];
+ }
+
+ // Extension fields.
+ extend Message {
+ // Optional fields.
+ optional bool extension_optional_bool = 10000;
+ optional int32 extension_optional_int32 = 10001;
+ optional sint32 extension_optional_sint32 = 10002;
+ optional uint32 extension_optional_uint32 = 10003;
+ optional int64 extension_optional_int64 = 10004;
+ optional sint64 extension_optional_sint64 = 10005;
+ optional uint64 extension_optional_uint64 = 10006;
+ optional fixed32 extension_optional_fixed32 = 10007;
+ optional sfixed32 extension_optional_sfixed32 = 10008;
+ optional float extension_optional_float = 10009;
+ optional fixed64 extension_optional_fixed64 = 10010;
+ optional sfixed64 extension_optional_sfixed64 = 10011;
+ optional double extension_optional_double = 10012;
+ optional string extension_optional_string = 10013;
+ optional bytes extension_optional_bytes = 10014;
+
+ optional ChildEnum extension_optional_child_enum = 10015;
+ optional ChildMessage extension_optional_child_message = 10016;
+ optional NamedGroup extension_optional_named_group = 10017;
+ optional SiblingEnum extension_optional_sibling_enum = 10018;
+ optional SiblingMessage extension_optional_sibling_message = 10019;
+ optional group ExtensionOptionalGroup = 10020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool extension_defaulted_bool = 20000 [default = true];
+ optional int32 extension_defaulted_int32 = 20001 [default = -12345];
+ optional sint32 extension_defaulted_sint32 = 20002 [default = -3200];
+ optional uint32 extension_defaulted_uint32 = 20003 [default = 3200];
+ optional int64 extension_defaulted_int64 = 20004 [default = -123456789];
+ optional sint64 extension_defaulted_sint64 = 20005 [default = -6400];
+ optional uint64 extension_defaulted_uint64 = 20006 [default = 6400];
+ optional fixed32 extension_defaulted_fixed32 = 20007 [default = 320000];
+ optional sfixed32 extension_defaulted_sfixed32 = 20008 [default = -320000];
+ optional float extension_defaulted_float = 20009 [default = 3.14159];
+ optional fixed64 extension_defaulted_fixed64 = 20010 [default = 640000];
+ optional sfixed64 extension_defaulted_sfixed64 = 20011 [default = -640000];
+ optional double extension_defaulted_double = 20012 [default = 3.14159265359];
+ optional string extension_defaulted_string = 20013 [default = "hello, \"world!\"\n"];
+ optional bytes extension_defaulted_bytes = 20014 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum extension_defaulted_child_enum = 20015 [default = ALPHA];
+ optional SiblingEnum extension_defaulted_sibling_enum = 20016 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool extension_repeated_bool = 30000;
+ repeated int32 extension_repeated_int32 = 30001;
+ repeated sint32 extension_repeated_sint32 = 30002;
+ repeated uint32 extension_repeated_uint32 = 30003;
+ repeated int64 extension_repeated_int64 = 30004;
+ repeated sint64 extension_repeated_sint64 = 30005;
+ repeated uint64 extension_repeated_uint64 = 30006;
+ repeated fixed32 extension_repeated_fixed32 = 30007;
+ repeated sfixed32 extension_repeated_sfixed32 = 30008;
+ repeated float extension_repeated_float = 30009;
+ repeated fixed64 extension_repeated_fixed64 = 30010;
+ repeated sfixed64 extension_repeated_sfixed64 = 30011;
+ repeated double extension_repeated_double = 30012;
+ repeated string extension_repeated_string = 30013;
+ repeated bytes extension_repeated_bytes = 30014;
+
+ repeated ChildEnum extension_repeated_child_enum = 30015;
+ repeated ChildMessage extension_repeated_child_message = 30016;
+ repeated NamedGroup extension_repeated_named_group = 30017;
+ repeated SiblingEnum extension_repeated_sibling_enum = 30018;
+ repeated SiblingMessage extension_repeated_sibling_message = 30019;
+ repeated group ExtensionRepeatedGroup = 30020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ }
+
+ extensions 10000 to max;
+}
diff --git a/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.pb.go b/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.pb.go
new file mode 100644
index 0000000..12f197a
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.pb.go
@@ -0,0 +1,3585 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto2.v1.0.0-20180125-92554152/test.proto
+
+/*
+Package proto2_v1_0_0_20180125_92554152 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto2.v1.0.0-20180125-92554152/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package proto2_v1_0_0_20180125_92554152
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) Enum() *SiblingEnum {
+ p := new(SiblingEnum)
+ *p = x
+ return p
+}
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
+ if err != nil {
+ return err
+ }
+ *x = SiblingEnum(value)
+ return nil
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) Enum() *Message_ChildEnum {
+ p := new(Message_ChildEnum)
+ *p = x
+ return p
+}
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
+ if err != nil {
+ return err
+ }
+ *x = Message_ChildEnum(value)
+ return nil
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message struct {
+ Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
+ // Optional fields.
+ OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
+ OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
+ OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
+ // Optional default fields.
+ DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
+ DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
+ DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
+ DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
+ DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
+ DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
+ DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
+ DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
+ DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
+ DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
+ DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
+ DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
+ DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
+ DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
+ DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
+ DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
+ DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
+ // Required fields.
+ RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
+ RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
+ RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
+ RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
+ RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
+ RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
+ RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
+ RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
+ RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
+ RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
+ RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
+ RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
+ RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
+ RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
+ RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
+ RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"required_child_enum,omitempty"`
+ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
+ RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
+ RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"required_sibling_enum,omitempty"`
+ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
+ Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
+ // Required default fields.
+ RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
+ RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
+ RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
+ RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
+ RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
+ RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
+ RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
+ RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
+ RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
+ RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
+ RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
+ RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
+ RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
+ RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
+ RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
+ RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
+ RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180125.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180125.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofNamedGroup
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_Oneofgroup
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ // Oneof default fields.
+ //
+ // Types that are valid to be assigned to OneofDefaultedUnion:
+ // *Message_OneofDefaultedBool
+ // *Message_OneofDefaultedInt32
+ // *Message_OneofDefaultedSint32
+ // *Message_OneofDefaultedUint32
+ // *Message_OneofDefaultedInt64
+ // *Message_OneofDefaultedSint64
+ // *Message_OneofDefaultedUint64
+ // *Message_OneofDefaultedFixed32
+ // *Message_OneofDefaultedSfixed32
+ // *Message_OneofDefaultedFloat
+ // *Message_OneofDefaultedFixed64
+ // *Message_OneofDefaultedSfixed64
+ // *Message_OneofDefaultedDouble
+ // *Message_OneofDefaultedString
+ // *Message_OneofDefaultedBytes
+ // *Message_OneofDefaultedChildEnum
+ // *Message_OneofDefaultedSiblingEnum
+ OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
+ proto.XXX_InternalExtensions `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+var extRange_Message = []proto.ExtensionRange{
+ {10000, 536870911},
+}
+
+func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
+ return extRange_Message
+}
+
+const Default_Message_DefaultedBool bool = true
+const Default_Message_DefaultedInt32 int32 = -12345
+const Default_Message_DefaultedSint32 int32 = -3200
+const Default_Message_DefaultedUint32 uint32 = 3200
+const Default_Message_DefaultedInt64 int64 = -123456789
+const Default_Message_DefaultedSint64 int64 = -6400
+const Default_Message_DefaultedUint64 uint64 = 6400
+const Default_Message_DefaultedFixed32 uint32 = 320000
+const Default_Message_DefaultedSfixed32 int32 = -320000
+const Default_Message_DefaultedFloat float32 = 3.14159
+const Default_Message_DefaultedFixed64 uint64 = 640000
+const Default_Message_DefaultedSfixed64 int64 = -640000
+const Default_Message_DefaultedDouble float64 = 3.14159265359
+const Default_Message_DefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_DefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_RequiredDefaultedBool bool = true
+const Default_Message_RequiredDefaultedInt32 int32 = -12345
+const Default_Message_RequiredDefaultedSint32 int32 = -3200
+const Default_Message_RequiredDefaultedUint32 uint32 = 3200
+const Default_Message_RequiredDefaultedInt64 int64 = -123456789
+const Default_Message_RequiredDefaultedSint64 int64 = -6400
+const Default_Message_RequiredDefaultedUint64 uint64 = 6400
+const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
+const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
+const Default_Message_RequiredDefaultedFloat float32 = 3.14159
+const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
+const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
+const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
+const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_OneofDefaultedBool bool = true
+const Default_Message_OneofDefaultedInt32 int32 = -12345
+const Default_Message_OneofDefaultedSint32 int32 = -3200
+const Default_Message_OneofDefaultedUint32 uint32 = 3200
+const Default_Message_OneofDefaultedInt64 int64 = -123456789
+const Default_Message_OneofDefaultedSint64 int64 = -6400
+const Default_Message_OneofDefaultedUint64 uint64 = 6400
+const Default_Message_OneofDefaultedFixed32 uint32 = 320000
+const Default_Message_OneofDefaultedSfixed32 int32 = -320000
+const Default_Message_OneofDefaultedFloat float32 = 3.14159
+const Default_Message_OneofDefaultedFixed64 uint64 = 640000
+const Default_Message_OneofDefaultedSfixed64 int64 = -640000
+const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
+const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofNamedGroup struct {
+ OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_Oneofgroup struct {
+ Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+type Message_OneofDefaultedBool struct {
+ OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
+}
+type Message_OneofDefaultedInt32 struct {
+ OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
+}
+type Message_OneofDefaultedSint32 struct {
+ OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
+}
+type Message_OneofDefaultedUint32 struct {
+ OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
+}
+type Message_OneofDefaultedInt64 struct {
+ OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
+}
+type Message_OneofDefaultedSint64 struct {
+ OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
+}
+type Message_OneofDefaultedUint64 struct {
+ OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
+}
+type Message_OneofDefaultedFixed32 struct {
+ OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
+}
+type Message_OneofDefaultedSfixed32 struct {
+ OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
+}
+type Message_OneofDefaultedFloat struct {
+ OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
+}
+type Message_OneofDefaultedFixed64 struct {
+ OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
+}
+type Message_OneofDefaultedSfixed64 struct {
+ OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
+}
+type Message_OneofDefaultedDouble struct {
+ OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
+}
+type Message_OneofDefaultedString struct {
+ OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
+}
+type Message_OneofDefaultedBytes struct {
+ OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
+}
+type Message_OneofDefaultedChildEnum struct {
+ OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,oneof,def=0"`
+}
+type Message_OneofDefaultedSiblingEnum struct {
+ OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,oneof,def=0"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_Oneofgroup) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
+ if m != nil {
+ return m.OneofDefaultedUnion
+ }
+ return nil
+}
+
+func (m *Message) GetNamedgroup() *Message_NamedGroup {
+ if m != nil {
+ return m.Namedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil && m.OptionalBool != nil {
+ return *m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil && m.OptionalInt32 != nil {
+ return *m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil && m.OptionalSint32 != nil {
+ return *m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil && m.OptionalUint32 != nil {
+ return *m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil && m.OptionalInt64 != nil {
+ return *m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil && m.OptionalSint64 != nil {
+ return *m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil && m.OptionalUint64 != nil {
+ return *m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil && m.OptionalFixed32 != nil {
+ return *m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil && m.OptionalSfixed32 != nil {
+ return *m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil && m.OptionalFloat != nil {
+ return *m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil && m.OptionalFixed64 != nil {
+ return *m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil && m.OptionalSfixed64 != nil {
+ return *m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil && m.OptionalDouble != nil {
+ return *m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil && m.OptionalString != nil {
+ return *m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil && m.OptionalChildEnum != nil {
+ return *m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.OptionalNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil && m.OptionalSiblingEnum != nil {
+ return *m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
+ if m != nil {
+ return m.Optionalgroup
+ }
+ return nil
+}
+
+func (m *Message) GetDefaultedBool() bool {
+ if m != nil && m.DefaultedBool != nil {
+ return *m.DefaultedBool
+ }
+ return Default_Message_DefaultedBool
+}
+
+func (m *Message) GetDefaultedInt32() int32 {
+ if m != nil && m.DefaultedInt32 != nil {
+ return *m.DefaultedInt32
+ }
+ return Default_Message_DefaultedInt32
+}
+
+func (m *Message) GetDefaultedSint32() int32 {
+ if m != nil && m.DefaultedSint32 != nil {
+ return *m.DefaultedSint32
+ }
+ return Default_Message_DefaultedSint32
+}
+
+func (m *Message) GetDefaultedUint32() uint32 {
+ if m != nil && m.DefaultedUint32 != nil {
+ return *m.DefaultedUint32
+ }
+ return Default_Message_DefaultedUint32
+}
+
+func (m *Message) GetDefaultedInt64() int64 {
+ if m != nil && m.DefaultedInt64 != nil {
+ return *m.DefaultedInt64
+ }
+ return Default_Message_DefaultedInt64
+}
+
+func (m *Message) GetDefaultedSint64() int64 {
+ if m != nil && m.DefaultedSint64 != nil {
+ return *m.DefaultedSint64
+ }
+ return Default_Message_DefaultedSint64
+}
+
+func (m *Message) GetDefaultedUint64() uint64 {
+ if m != nil && m.DefaultedUint64 != nil {
+ return *m.DefaultedUint64
+ }
+ return Default_Message_DefaultedUint64
+}
+
+func (m *Message) GetDefaultedFixed32() uint32 {
+ if m != nil && m.DefaultedFixed32 != nil {
+ return *m.DefaultedFixed32
+ }
+ return Default_Message_DefaultedFixed32
+}
+
+func (m *Message) GetDefaultedSfixed32() int32 {
+ if m != nil && m.DefaultedSfixed32 != nil {
+ return *m.DefaultedSfixed32
+ }
+ return Default_Message_DefaultedSfixed32
+}
+
+func (m *Message) GetDefaultedFloat() float32 {
+ if m != nil && m.DefaultedFloat != nil {
+ return *m.DefaultedFloat
+ }
+ return Default_Message_DefaultedFloat
+}
+
+func (m *Message) GetDefaultedFixed64() uint64 {
+ if m != nil && m.DefaultedFixed64 != nil {
+ return *m.DefaultedFixed64
+ }
+ return Default_Message_DefaultedFixed64
+}
+
+func (m *Message) GetDefaultedSfixed64() int64 {
+ if m != nil && m.DefaultedSfixed64 != nil {
+ return *m.DefaultedSfixed64
+ }
+ return Default_Message_DefaultedSfixed64
+}
+
+func (m *Message) GetDefaultedDouble() float64 {
+ if m != nil && m.DefaultedDouble != nil {
+ return *m.DefaultedDouble
+ }
+ return Default_Message_DefaultedDouble
+}
+
+func (m *Message) GetDefaultedString() string {
+ if m != nil && m.DefaultedString != nil {
+ return *m.DefaultedString
+ }
+ return Default_Message_DefaultedString
+}
+
+func (m *Message) GetDefaultedBytes() []byte {
+ if m != nil && m.DefaultedBytes != nil {
+ return m.DefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_DefaultedBytes...)
+}
+
+func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.DefaultedChildEnum != nil {
+ return *m.DefaultedChildEnum
+ }
+ return Default_Message_DefaultedChildEnum
+}
+
+func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.DefaultedSiblingEnum != nil {
+ return *m.DefaultedSiblingEnum
+ }
+ return Default_Message_DefaultedSiblingEnum
+}
+
+func (m *Message) GetRequiredBool() bool {
+ if m != nil && m.RequiredBool != nil {
+ return *m.RequiredBool
+ }
+ return false
+}
+
+func (m *Message) GetRequiredInt32() int32 {
+ if m != nil && m.RequiredInt32 != nil {
+ return *m.RequiredInt32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint32() int32 {
+ if m != nil && m.RequiredSint32 != nil {
+ return *m.RequiredSint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint32() uint32 {
+ if m != nil && m.RequiredUint32 != nil {
+ return *m.RequiredUint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredInt64() int64 {
+ if m != nil && m.RequiredInt64 != nil {
+ return *m.RequiredInt64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint64() int64 {
+ if m != nil && m.RequiredSint64 != nil {
+ return *m.RequiredSint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint64() uint64 {
+ if m != nil && m.RequiredUint64 != nil {
+ return *m.RequiredUint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed32() uint32 {
+ if m != nil && m.RequiredFixed32 != nil {
+ return *m.RequiredFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed32() int32 {
+ if m != nil && m.RequiredSfixed32 != nil {
+ return *m.RequiredSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFloat() float32 {
+ if m != nil && m.RequiredFloat != nil {
+ return *m.RequiredFloat
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed64() uint64 {
+ if m != nil && m.RequiredFixed64 != nil {
+ return *m.RequiredFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed64() int64 {
+ if m != nil && m.RequiredSfixed64 != nil {
+ return *m.RequiredSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredDouble() float64 {
+ if m != nil && m.RequiredDouble != nil {
+ return *m.RequiredDouble
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredString() string {
+ if m != nil && m.RequiredString != nil {
+ return *m.RequiredString
+ }
+ return ""
+}
+
+func (m *Message) GetRequiredBytes() []byte {
+ if m != nil {
+ return m.RequiredBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredChildEnum != nil {
+ return *m.RequiredChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.RequiredChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.RequiredNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredSiblingEnum != nil {
+ return *m.RequiredSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.RequiredSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
+ if m != nil {
+ return m.Requiredgroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredDefaultedBool() bool {
+ if m != nil && m.RequiredDefaultedBool != nil {
+ return *m.RequiredDefaultedBool
+ }
+ return Default_Message_RequiredDefaultedBool
+}
+
+func (m *Message) GetRequiredDefaultedInt32() int32 {
+ if m != nil && m.RequiredDefaultedInt32 != nil {
+ return *m.RequiredDefaultedInt32
+ }
+ return Default_Message_RequiredDefaultedInt32
+}
+
+func (m *Message) GetRequiredDefaultedSint32() int32 {
+ if m != nil && m.RequiredDefaultedSint32 != nil {
+ return *m.RequiredDefaultedSint32
+ }
+ return Default_Message_RequiredDefaultedSint32
+}
+
+func (m *Message) GetRequiredDefaultedUint32() uint32 {
+ if m != nil && m.RequiredDefaultedUint32 != nil {
+ return *m.RequiredDefaultedUint32
+ }
+ return Default_Message_RequiredDefaultedUint32
+}
+
+func (m *Message) GetRequiredDefaultedInt64() int64 {
+ if m != nil && m.RequiredDefaultedInt64 != nil {
+ return *m.RequiredDefaultedInt64
+ }
+ return Default_Message_RequiredDefaultedInt64
+}
+
+func (m *Message) GetRequiredDefaultedSint64() int64 {
+ if m != nil && m.RequiredDefaultedSint64 != nil {
+ return *m.RequiredDefaultedSint64
+ }
+ return Default_Message_RequiredDefaultedSint64
+}
+
+func (m *Message) GetRequiredDefaultedUint64() uint64 {
+ if m != nil && m.RequiredDefaultedUint64 != nil {
+ return *m.RequiredDefaultedUint64
+ }
+ return Default_Message_RequiredDefaultedUint64
+}
+
+func (m *Message) GetRequiredDefaultedFixed32() uint32 {
+ if m != nil && m.RequiredDefaultedFixed32 != nil {
+ return *m.RequiredDefaultedFixed32
+ }
+ return Default_Message_RequiredDefaultedFixed32
+}
+
+func (m *Message) GetRequiredDefaultedSfixed32() int32 {
+ if m != nil && m.RequiredDefaultedSfixed32 != nil {
+ return *m.RequiredDefaultedSfixed32
+ }
+ return Default_Message_RequiredDefaultedSfixed32
+}
+
+func (m *Message) GetRequiredDefaultedFloat() float32 {
+ if m != nil && m.RequiredDefaultedFloat != nil {
+ return *m.RequiredDefaultedFloat
+ }
+ return Default_Message_RequiredDefaultedFloat
+}
+
+func (m *Message) GetRequiredDefaultedFixed64() uint64 {
+ if m != nil && m.RequiredDefaultedFixed64 != nil {
+ return *m.RequiredDefaultedFixed64
+ }
+ return Default_Message_RequiredDefaultedFixed64
+}
+
+func (m *Message) GetRequiredDefaultedSfixed64() int64 {
+ if m != nil && m.RequiredDefaultedSfixed64 != nil {
+ return *m.RequiredDefaultedSfixed64
+ }
+ return Default_Message_RequiredDefaultedSfixed64
+}
+
+func (m *Message) GetRequiredDefaultedDouble() float64 {
+ if m != nil && m.RequiredDefaultedDouble != nil {
+ return *m.RequiredDefaultedDouble
+ }
+ return Default_Message_RequiredDefaultedDouble
+}
+
+func (m *Message) GetRequiredDefaultedString() string {
+ if m != nil && m.RequiredDefaultedString != nil {
+ return *m.RequiredDefaultedString
+ }
+ return Default_Message_RequiredDefaultedString
+}
+
+func (m *Message) GetRequiredDefaultedBytes() []byte {
+ if m != nil && m.RequiredDefaultedBytes != nil {
+ return m.RequiredDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
+}
+
+func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredDefaultedChildEnum != nil {
+ return *m.RequiredDefaultedChildEnum
+ }
+ return Default_Message_RequiredDefaultedChildEnum
+}
+
+func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredDefaultedSiblingEnum != nil {
+ return *m.RequiredDefaultedSiblingEnum
+ }
+ return Default_Message_RequiredDefaultedSiblingEnum
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
+ if m != nil {
+ return m.RepeatedNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
+ if m != nil {
+ return m.Repeatedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
+ if m != nil {
+ return m.MapBoolNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
+ if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
+ return x.OneofNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofgroup() *Message_OneofGroup {
+ if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
+ return x.Oneofgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+func (m *Message) GetOneofDefaultedBool() bool {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
+ return x.OneofDefaultedBool
+ }
+ return Default_Message_OneofDefaultedBool
+}
+
+func (m *Message) GetOneofDefaultedInt32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
+ return x.OneofDefaultedInt32
+ }
+ return Default_Message_OneofDefaultedInt32
+}
+
+func (m *Message) GetOneofDefaultedSint32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
+ return x.OneofDefaultedSint32
+ }
+ return Default_Message_OneofDefaultedSint32
+}
+
+func (m *Message) GetOneofDefaultedUint32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
+ return x.OneofDefaultedUint32
+ }
+ return Default_Message_OneofDefaultedUint32
+}
+
+func (m *Message) GetOneofDefaultedInt64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
+ return x.OneofDefaultedInt64
+ }
+ return Default_Message_OneofDefaultedInt64
+}
+
+func (m *Message) GetOneofDefaultedSint64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
+ return x.OneofDefaultedSint64
+ }
+ return Default_Message_OneofDefaultedSint64
+}
+
+func (m *Message) GetOneofDefaultedUint64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
+ return x.OneofDefaultedUint64
+ }
+ return Default_Message_OneofDefaultedUint64
+}
+
+func (m *Message) GetOneofDefaultedFixed32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
+ return x.OneofDefaultedFixed32
+ }
+ return Default_Message_OneofDefaultedFixed32
+}
+
+func (m *Message) GetOneofDefaultedSfixed32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
+ return x.OneofDefaultedSfixed32
+ }
+ return Default_Message_OneofDefaultedSfixed32
+}
+
+func (m *Message) GetOneofDefaultedFloat() float32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
+ return x.OneofDefaultedFloat
+ }
+ return Default_Message_OneofDefaultedFloat
+}
+
+func (m *Message) GetOneofDefaultedFixed64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
+ return x.OneofDefaultedFixed64
+ }
+ return Default_Message_OneofDefaultedFixed64
+}
+
+func (m *Message) GetOneofDefaultedSfixed64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
+ return x.OneofDefaultedSfixed64
+ }
+ return Default_Message_OneofDefaultedSfixed64
+}
+
+func (m *Message) GetOneofDefaultedDouble() float64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
+ return x.OneofDefaultedDouble
+ }
+ return Default_Message_OneofDefaultedDouble
+}
+
+func (m *Message) GetOneofDefaultedString() string {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
+ return x.OneofDefaultedString
+ }
+ return Default_Message_OneofDefaultedString
+}
+
+func (m *Message) GetOneofDefaultedBytes() []byte {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
+ return x.OneofDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
+}
+
+func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
+ return x.OneofDefaultedChildEnum
+ }
+ return Default_Message_OneofDefaultedChildEnum
+}
+
+func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
+ return x.OneofDefaultedSiblingEnum
+ }
+ return Default_Message_OneofDefaultedSiblingEnum
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofNamedGroup)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_Oneofgroup)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ (*Message_OneofDefaultedBool)(nil),
+ (*Message_OneofDefaultedInt32)(nil),
+ (*Message_OneofDefaultedSint32)(nil),
+ (*Message_OneofDefaultedUint32)(nil),
+ (*Message_OneofDefaultedInt64)(nil),
+ (*Message_OneofDefaultedSint64)(nil),
+ (*Message_OneofDefaultedUint64)(nil),
+ (*Message_OneofDefaultedFixed32)(nil),
+ (*Message_OneofDefaultedSfixed32)(nil),
+ (*Message_OneofDefaultedFloat)(nil),
+ (*Message_OneofDefaultedFixed64)(nil),
+ (*Message_OneofDefaultedSfixed64)(nil),
+ (*Message_OneofDefaultedDouble)(nil),
+ (*Message_OneofDefaultedString)(nil),
+ (*Message_OneofDefaultedBytes)(nil),
+ (*Message_OneofDefaultedChildEnum)(nil),
+ (*Message_OneofDefaultedSiblingEnum)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(700<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(701<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(702<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(703<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(704<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(705<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(706<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(707<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(708<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(709<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(710<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(711<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(712<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(713<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(714<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(715<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(716<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofNamedGroup:
+ b.EncodeVarint(717<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(718<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(719<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_Oneofgroup:
+ b.EncodeVarint(720<<3 | proto.WireStartGroup)
+ if err := b.Marshal(x.Oneofgroup); err != nil {
+ return err
+ }
+ b.EncodeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ b.EncodeVarint(721<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(722<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(723<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ t := uint64(0)
+ if x.OneofDefaultedBool {
+ t = 1
+ }
+ b.EncodeVarint(800<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofDefaultedInt32:
+ b.EncodeVarint(801<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ b.EncodeVarint(802<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
+ case *Message_OneofDefaultedUint32:
+ b.EncodeVarint(803<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ b.EncodeVarint(804<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ b.EncodeVarint(805<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
+ case *Message_OneofDefaultedUint64:
+ b.EncodeVarint(806<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ b.EncodeVarint(807<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
+ case *Message_OneofDefaultedSfixed32:
+ b.EncodeVarint(808<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
+ case *Message_OneofDefaultedFloat:
+ b.EncodeVarint(809<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
+ case *Message_OneofDefaultedFixed64:
+ b.EncodeVarint(810<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
+ case *Message_OneofDefaultedSfixed64:
+ b.EncodeVarint(811<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
+ case *Message_OneofDefaultedDouble:
+ b.EncodeVarint(812<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
+ case *Message_OneofDefaultedString:
+ b.EncodeVarint(813<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ b.EncodeVarint(814<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ b.EncodeVarint(815<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ b.EncodeVarint(816<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 700: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 701: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 702: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 703: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 704: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 705: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 706: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 707: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 708: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 709: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 710: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 711: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 712: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 713: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 714: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 715: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 716: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 717: // oneof_union.oneof_named_group
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_NamedGroup)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofNamedGroup{msg}
+ return true, err
+ case 718: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 719: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 720: // oneof_union.oneofgroup
+ if wire != proto.WireStartGroup {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_OneofGroup)
+ err := b.DecodeGroup(msg)
+ m.OneofUnion = &Message_Oneofgroup{msg}
+ return true, err
+ case 721: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 722: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 723: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ case 800: // oneof_defaulted_union.oneof_defaulted_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
+ return true, err
+ case 801: // oneof_defaulted_union.oneof_defaulted_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
+ return true, err
+ case 802: // oneof_defaulted_union.oneof_defaulted_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
+ return true, err
+ case 803: // oneof_defaulted_union.oneof_defaulted_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
+ return true, err
+ case 804: // oneof_defaulted_union.oneof_defaulted_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
+ return true, err
+ case 805: // oneof_defaulted_union.oneof_defaulted_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
+ return true, err
+ case 806: // oneof_defaulted_union.oneof_defaulted_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
+ return true, err
+ case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
+ return true, err
+ case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
+ return true, err
+ case 809: // oneof_defaulted_union.oneof_defaulted_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
+ return true, err
+ case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
+ return true, err
+ case 812: // oneof_defaulted_union.oneof_defaulted_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
+ return true, err
+ case 813: // oneof_defaulted_union.oneof_defaulted_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
+ return true, err
+ case 814: // oneof_defaulted_union.oneof_defaulted_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
+ return true, err
+ case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(700<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(701<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(702<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(703<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(704<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(705<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(706<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(707<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(708<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(709<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(710<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(711<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(712<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(713<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(714<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(715<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(716<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofNamedGroup:
+ s := proto.Size(x.OneofNamedGroup)
+ n += proto.SizeVarint(717<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(718<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(719<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_Oneofgroup:
+ n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
+ n += proto.Size(x.Oneofgroup)
+ n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ n += proto.SizeVarint(721<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(722<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(723<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ n += proto.SizeVarint(800<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofDefaultedInt32:
+ n += proto.SizeVarint(801<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ n += proto.SizeVarint(802<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
+ case *Message_OneofDefaultedUint32:
+ n += proto.SizeVarint(803<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ n += proto.SizeVarint(804<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ n += proto.SizeVarint(805<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
+ case *Message_OneofDefaultedUint64:
+ n += proto.SizeVarint(806<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ n += proto.SizeVarint(807<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedSfixed32:
+ n += proto.SizeVarint(808<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFloat:
+ n += proto.SizeVarint(809<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofDefaultedFixed64:
+ n += proto.SizeVarint(810<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedSfixed64:
+ n += proto.SizeVarint(811<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedDouble:
+ n += proto.SizeVarint(812<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDefaultedString:
+ n += proto.SizeVarint(813<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
+ n += len(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ n += proto.SizeVarint(814<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
+ n += len(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ n += proto.SizeVarint(815<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ n += proto.SizeVarint(816<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 10000,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_bool",
+ Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10001,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_int32",
+ Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10002,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sint32",
+ Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10003,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_uint32",
+ Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10004,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_int64",
+ Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10005,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sint64",
+ Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10006,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_uint64",
+ Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10007,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_fixed32",
+ Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10008,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sfixed32",
+ Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 10009,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_float",
+ Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10010,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_fixed64",
+ Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10011,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sfixed64",
+ Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 10012,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_double",
+ Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 10013,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_string",
+ Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 10014,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_bytes",
+ Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 10015,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_child_enum",
+ Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildMessage)(nil),
+ Field: 10016,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_child_message",
+ Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_NamedGroup)(nil),
+ Field: 10017,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_named_group",
+ Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 10018,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sibling_enum",
+ Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingMessage)(nil),
+ Field: 10019,
+ Name: "google.golang.org.proto2_20180125.Message.extension_optional_sibling_message",
+ Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
+ Field: 10020,
+ Name: "google.golang.org.proto2_20180125.Message.extensionoptionalgroup",
+ Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 20000,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_bool",
+ Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20001,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_int32",
+ Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20002,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sint32",
+ Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20003,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_uint32",
+ Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20004,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_int64",
+ Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20005,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sint64",
+ Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20006,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_uint64",
+ Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20007,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_fixed32",
+ Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20008,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sfixed32",
+ Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 20009,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_float",
+ Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20010,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_fixed64",
+ Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20011,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sfixed64",
+ Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 20012,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_double",
+ Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 20013,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_string",
+ Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 20014,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_bytes",
+ Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 20015,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_child_enum",
+ Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 20016,
+ Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sibling_enum",
+ Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]bool)(nil),
+ Field: 30000,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_bool",
+ Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30001,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_int32",
+ Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30002,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sint32",
+ Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30003,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_uint32",
+ Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30004,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_int64",
+ Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30005,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sint64",
+ Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30006,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_uint64",
+ Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30007,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_fixed32",
+ Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30008,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sfixed32",
+ Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float32)(nil),
+ Field: 30009,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_float",
+ Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30010,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_fixed64",
+ Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30011,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sfixed64",
+ Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float64)(nil),
+ Field: 30012,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_double",
+ Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]string)(nil),
+ Field: 30013,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_string",
+ Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([][]byte)(nil),
+ Field: 30014,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_bytes",
+ Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]Message_ChildEnum)(nil),
+ Field: 30015,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_child_enum",
+ Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ChildMessage)(nil),
+ Field: 30016,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_child_message",
+ Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_NamedGroup)(nil),
+ Field: 30017,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_named_group",
+ Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]SiblingEnum)(nil),
+ Field: 30018,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sibling_enum",
+ Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*SiblingMessage)(nil),
+ Field: 30019,
+ Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sibling_message",
+ Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
+ Field: 30020,
+ Name: "google.golang.org.proto2_20180125.Message.extensionrepeatedgroup",
+ Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
+ Filename: "proto2.v1.0.0-20180125-92554152/test.proto",
+}
+
+type Message_ChildMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_NamedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
+func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_NamedGroup) ProtoMessage() {}
+func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
+
+func (m *Message_NamedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_NamedGroup) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_OptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
+func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OptionalGroup) ProtoMessage() {}
+func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
+
+func (m *Message_OptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RequiredGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
+func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RequiredGroup) ProtoMessage() {}
+func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
+
+func (m *Message_RequiredGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
+func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RepeatedGroup) ProtoMessage() {}
+func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
+
+func (m *Message_RepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_OneofGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
+func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OneofGroup) ProtoMessage() {}
+func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
+
+func (m *Message_OneofGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionOptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
+func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
+func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 34}
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionRepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_unrecognized []byte `json:"-"`
+}
+
+func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
+func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
+func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor0, []int{1, 35}
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180125.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180125.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180125.Message.ChildMessage")
+ proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180125.Message.NamedGroup")
+ proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180125.Message.OptionalGroup")
+ proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180125.Message.RequiredGroup")
+ proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180125.Message.RepeatedGroup")
+ proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180125.Message.OneofGroup")
+ proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180125.Message.ExtensionOptionalGroup")
+ proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180125.Message.ExtensionRepeatedGroup")
+ proto.RegisterEnum("google.golang.org.proto2_20180125.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto2_20180125.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBool)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
+ proto.RegisterExtension(E_Message_ExtensionOptionalString)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionoptionalgroup)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedString)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedString)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
+}
+
+func init() { proto.RegisterFile("proto2.v1.0.0-20180125-92554152/test.proto", fileDescriptor0) }
+
+var fileDescriptor0 = []byte{
+ // 4492 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x1c, 0xc7,
+ 0x75, 0xc6, 0xec, 0x62, 0x17, 0x44, 0x13, 0x0b, 0x2c, 0x86, 0x24, 0x30, 0x84, 0xa4, 0x68, 0xcd,
+ 0x38, 0xce, 0x86, 0x11, 0x41, 0x60, 0xd0, 0x68, 0x8a, 0x1b, 0x1d, 0x26, 0x24, 0xca, 0x2b, 0xc7,
+ 0x5a, 0xa5, 0x46, 0xc5, 0x94, 0xcb, 0xa5, 0x0a, 0x03, 0x12, 0x0b, 0x70, 0xa5, 0x3d, 0x20, 0x60,
+ 0x97, 0x12, 0x63, 0xa7, 0xc4, 0x38, 0xe7, 0x4f, 0xf9, 0xbe, 0xd6, 0xb6, 0xac, 0xdb, 0xd6, 0xe9,
+ 0xfb, 0xd2, 0xe5, 0x23, 0x89, 0x7c, 0x5f, 0x39, 0x9c, 0xcb, 0xb9, 0x2f, 0xe7, 0xbe, 0xef, 0xa3,
+ 0xba, 0x5f, 0xf7, 0x74, 0xf7, 0x4c, 0xcf, 0x02, 0x3d, 0xeb, 0xd2, 0x0f, 0x55, 0x89, 0xbd, 0xaf,
+ 0xdf, 0xd7, 0xef, 0xdb, 0x7e, 0xef, 0x7d, 0xe8, 0x99, 0x5e, 0x74, 0x78, 0x73, 0xab, 0xd3, 0xed,
+ 0xf8, 0xf3, 0xe7, 0x17, 0xe7, 0x17, 0xe6, 0x17, 0x8e, 0xf8, 0x0b, 0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1, 0x59, 0x79, 0xcd, 0x6b, 0x5e, 0xbd, 0xd1, 0xe8,
+ 0x9e, 0xeb, 0x9d, 0x99, 0x3f, 0xdb, 0x69, 0x1d, 0x85, 0xa5, 0x1f, 0x65, 0xcb, 0x3e, 0xd3, 0x5b,
+ 0x3f, 0x7a, 0xde, 0x3f, 0xda, 0x68, 0x77, 0xeb, 0x5b, 0xed, 0xd5, 0x26, 0xfb, 0xa9, 0x5b, 0xf6,
+ 0xc1, 0xf6, 0xd1, 0x66, 0x7d, 0x63, 0xf5, 0xec, 0x85, 0xa3, 0x3b, 0xfc, 0x38, 0xee, 0xff, 0x07,
+ 0x00, 0x00, 0xff, 0xff, 0x68, 0x28, 0x46, 0x53, 0x3e, 0x57, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.proto b/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.proto
new file mode 100644
index 0000000..8419f74
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152/test.proto
@@ -0,0 +1,333 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package google.golang.org.proto2_20180125;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.0.0-20180125-92554152";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+ optional group NamedGroup = 1 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+
+ // Optional fields.
+ optional bool optional_bool = 100;
+ optional int32 optional_int32 = 101;
+ optional sint32 optional_sint32 = 102;
+ optional uint32 optional_uint32 = 103;
+ optional int64 optional_int64 = 104;
+ optional sint64 optional_sint64 = 105;
+ optional uint64 optional_uint64 = 106;
+ optional fixed32 optional_fixed32 = 107;
+ optional sfixed32 optional_sfixed32 = 108;
+ optional float optional_float = 109;
+ optional fixed64 optional_fixed64 = 110;
+ optional sfixed64 optional_sfixed64 = 111;
+ optional double optional_double = 112;
+ optional string optional_string = 113;
+ optional bytes optional_bytes = 114;
+
+ optional ChildEnum optional_child_enum = 115;
+ optional ChildMessage optional_child_message = 116;
+ optional NamedGroup optional_named_group = 117;
+ optional SiblingEnum optional_sibling_enum = 118;
+ optional SiblingMessage optional_sibling_message = 119;
+ optional group OptionalGroup = 120 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool defaulted_bool = 200 [default = true];
+ optional int32 defaulted_int32 = 201 [default = -12345];
+ optional sint32 defaulted_sint32 = 202 [default = -3200];
+ optional uint32 defaulted_uint32 = 203 [default = 3200];
+ optional int64 defaulted_int64 = 204 [default = -123456789];
+ optional sint64 defaulted_sint64 = 205 [default = -6400];
+ optional uint64 defaulted_uint64 = 206 [default = 6400];
+ optional fixed32 defaulted_fixed32 = 207 [default = 320000];
+ optional sfixed32 defaulted_sfixed32 = 208 [default = -320000];
+ optional float defaulted_float = 209 [default = 3.14159];
+ optional fixed64 defaulted_fixed64 = 210 [default = 640000];
+ optional sfixed64 defaulted_sfixed64 = 211 [default = -640000];
+ optional double defaulted_double = 212 [default = 3.14159265359];
+ optional string defaulted_string = 213 [default = "hello, \"world!\"\n"];
+ optional bytes defaulted_bytes = 214 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum defaulted_child_enum = 215 [default = ALPHA];
+ optional SiblingEnum defaulted_sibling_enum = 216 [default = ALPHA];
+
+ // Required fields.
+ required bool required_bool = 300;
+ required int32 required_int32 = 301;
+ required sint32 required_sint32 = 302;
+ required uint32 required_uint32 = 303;
+ required int64 required_int64 = 304;
+ required sint64 required_sint64 = 305;
+ required uint64 required_uint64 = 306;
+ required fixed32 required_fixed32 = 307;
+ required sfixed32 required_sfixed32 = 308;
+ required float required_float = 309;
+ required fixed64 required_fixed64 = 310;
+ required sfixed64 required_sfixed64 = 311;
+ required double required_double = 312;
+ required string required_string = 313;
+ required bytes required_bytes = 314;
+
+ required ChildEnum required_child_enum = 315;
+ required ChildMessage required_child_message = 316;
+ required NamedGroup required_named_group = 317;
+ required SiblingEnum required_sibling_enum = 318;
+ required SiblingMessage required_sibling_message = 319;
+ required group RequiredGroup = 320 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ // Required default fields.
+ required bool required_defaulted_bool = 400 [default = true];
+ required int32 required_defaulted_int32 = 401 [default = -12345];
+ required sint32 required_defaulted_sint32 = 402 [default = -3200];
+ required uint32 required_defaulted_uint32 = 403 [default = 3200];
+ required int64 required_defaulted_int64 = 404 [default = -123456789];
+ required sint64 required_defaulted_sint64 = 405 [default = -6400];
+ required uint64 required_defaulted_uint64 = 406 [default = 6400];
+ required fixed32 required_defaulted_fixed32 = 407 [default = 320000];
+ required sfixed32 required_defaulted_sfixed32 = 408 [default = -320000];
+ required float required_defaulted_float = 409 [default = 3.14159];
+ required fixed64 required_defaulted_fixed64 = 410 [default = 640000];
+ required sfixed64 required_defaulted_sfixed64 = 411 [default = -640000];
+ required double required_defaulted_double = 412 [default = 3.14159265359];
+ required string required_defaulted_string = 413 [default = "hello, \"world!\"\n"];
+ required bytes required_defaulted_bytes = 414 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ required ChildEnum required_defaulted_child_enum = 415 [default = ALPHA];
+ required SiblingEnum required_defaulted_sibling_enum = 416 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool repeated_bool = 500;
+ repeated int32 repeated_int32 = 501;
+ repeated sint32 repeated_sint32 = 502;
+ repeated uint32 repeated_uint32 = 503;
+ repeated int64 repeated_int64 = 504;
+ repeated sint64 repeated_sint64 = 505;
+ repeated uint64 repeated_uint64 = 506;
+ repeated fixed32 repeated_fixed32 = 507;
+ repeated sfixed32 repeated_sfixed32 = 508;
+ repeated float repeated_float = 509;
+ repeated fixed64 repeated_fixed64 = 510;
+ repeated sfixed64 repeated_sfixed64 = 511;
+ repeated double repeated_double = 512;
+ repeated string repeated_string = 513;
+ repeated bytes repeated_bytes = 514;
+
+ repeated ChildEnum repeated_child_enum = 515;
+ repeated ChildMessage repeated_child_message = 516;
+ repeated NamedGroup repeated_named_group = 517;
+ repeated SiblingEnum repeated_sibling_enum = 518;
+ repeated SiblingMessage repeated_sibling_message = 519;
+ repeated group RepeatedGroup = 520 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 600;
+ map<bool, int32> map_bool_int32 = 601;
+ map<bool, sint32> map_bool_sint32 = 602;
+ map<bool, uint32> map_bool_uint32 = 603;
+ map<bool, int64> map_bool_int64 = 604;
+ map<bool, sint64> map_bool_sint64 = 605;
+ map<bool, uint64> map_bool_uint64 = 606;
+ map<bool, fixed32> map_bool_fixed32 = 607;
+ map<bool, sfixed32> map_bool_sfixed32 = 608;
+ map<bool, float> map_bool_float = 609;
+ map<bool, fixed64> map_bool_fixed64 = 610;
+ map<bool, sfixed64> map_bool_sfixed64 = 611;
+ map<bool, double> map_bool_double = 612;
+ map<bool, string> map_bool_string = 613;
+ map<bool, bytes> map_bool_bytes = 614;
+
+ map<bool, ChildEnum> map_bool_child_enum = 615;
+ map<bool, ChildMessage> map_bool_child_message = 616;
+ map<bool, NamedGroup> map_bool_named_group = 617;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 618;
+ map<bool, SiblingMessage> map_bool_sibling_message = 619;
+
+ map<int32, bool> map_int32_bool = 620;
+ map<sint32, bool> map_sint32_bool = 621;
+ map<uint32, bool> map_uint32_bool = 622;
+ map<int64, bool> map_int64_bool = 623;
+ map<sint64, bool> map_sint64_bool = 624;
+ map<uint64, bool> map_uint64_bool = 625;
+ map<fixed32, bool> map_fixed32_bool = 626;
+ map<string, bool> map_string_bool = 627;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 700;
+ int32 oneof_int32 = 701;
+ sint32 oneof_sint32 = 702;
+ uint32 oneof_uint32 = 703;
+ int64 oneof_int64 = 704;
+ sint64 oneof_sint64 = 705;
+ uint64 oneof_uint64 = 706;
+ fixed32 oneof_fixed32 = 707;
+ sfixed32 oneof_sfixed32 = 708;
+ float oneof_float = 709;
+ fixed64 oneof_fixed64 = 710;
+ sfixed64 oneof_sfixed64 = 711;
+ double oneof_double = 712;
+ string oneof_string = 713;
+ bytes oneof_bytes = 714;
+
+ ChildEnum oneof_child_enum = 715;
+ ChildMessage oneof_child_message = 716;
+ NamedGroup oneof_named_group = 717;
+ SiblingEnum oneof_sibling_enum = 718;
+ SiblingMessage oneof_sibling_message = 719;
+ group OneofGroup = 720 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ string oneof_string1 = 721;
+ string oneof_string2 = 722;
+ string oneof_string3 = 723;
+ }
+
+ // Oneof default fields.
+ oneof oneof_defaulted_union {
+ bool oneof_defaulted_bool = 800 [default = true];
+ int32 oneof_defaulted_int32 = 801 [default = -12345];
+ sint32 oneof_defaulted_sint32 = 802 [default = -3200];
+ uint32 oneof_defaulted_uint32 = 803 [default = 3200];
+ int64 oneof_defaulted_int64 = 804 [default = -123456789];
+ sint64 oneof_defaulted_sint64 = 805 [default = -6400];
+ uint64 oneof_defaulted_uint64 = 806 [default = 6400];
+ fixed32 oneof_defaulted_fixed32 = 807 [default = 320000];
+ sfixed32 oneof_defaulted_sfixed32 = 808 [default = -320000];
+ float oneof_defaulted_float = 809 [default = 3.14159];
+ fixed64 oneof_defaulted_fixed64 = 810 [default = 640000];
+ sfixed64 oneof_defaulted_sfixed64 = 811 [default = -640000];
+ double oneof_defaulted_double = 812 [default = 3.14159265359];
+ string oneof_defaulted_string = 813 [default = "hello, \"world!\"\n"];
+ bytes oneof_defaulted_bytes = 814 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ ChildEnum oneof_defaulted_child_enum = 815 [default = ALPHA];
+ SiblingEnum oneof_defaulted_sibling_enum = 816 [default = ALPHA];
+ }
+
+ // Extension fields.
+ extend Message {
+ // Optional fields.
+ optional bool extension_optional_bool = 10000;
+ optional int32 extension_optional_int32 = 10001;
+ optional sint32 extension_optional_sint32 = 10002;
+ optional uint32 extension_optional_uint32 = 10003;
+ optional int64 extension_optional_int64 = 10004;
+ optional sint64 extension_optional_sint64 = 10005;
+ optional uint64 extension_optional_uint64 = 10006;
+ optional fixed32 extension_optional_fixed32 = 10007;
+ optional sfixed32 extension_optional_sfixed32 = 10008;
+ optional float extension_optional_float = 10009;
+ optional fixed64 extension_optional_fixed64 = 10010;
+ optional sfixed64 extension_optional_sfixed64 = 10011;
+ optional double extension_optional_double = 10012;
+ optional string extension_optional_string = 10013;
+ optional bytes extension_optional_bytes = 10014;
+
+ optional ChildEnum extension_optional_child_enum = 10015;
+ optional ChildMessage extension_optional_child_message = 10016;
+ optional NamedGroup extension_optional_named_group = 10017;
+ optional SiblingEnum extension_optional_sibling_enum = 10018;
+ optional SiblingMessage extension_optional_sibling_message = 10019;
+ optional group ExtensionOptionalGroup = 10020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool extension_defaulted_bool = 20000 [default = true];
+ optional int32 extension_defaulted_int32 = 20001 [default = -12345];
+ optional sint32 extension_defaulted_sint32 = 20002 [default = -3200];
+ optional uint32 extension_defaulted_uint32 = 20003 [default = 3200];
+ optional int64 extension_defaulted_int64 = 20004 [default = -123456789];
+ optional sint64 extension_defaulted_sint64 = 20005 [default = -6400];
+ optional uint64 extension_defaulted_uint64 = 20006 [default = 6400];
+ optional fixed32 extension_defaulted_fixed32 = 20007 [default = 320000];
+ optional sfixed32 extension_defaulted_sfixed32 = 20008 [default = -320000];
+ optional float extension_defaulted_float = 20009 [default = 3.14159];
+ optional fixed64 extension_defaulted_fixed64 = 20010 [default = 640000];
+ optional sfixed64 extension_defaulted_sfixed64 = 20011 [default = -640000];
+ optional double extension_defaulted_double = 20012 [default = 3.14159265359];
+ optional string extension_defaulted_string = 20013 [default = "hello, \"world!\"\n"];
+ optional bytes extension_defaulted_bytes = 20014 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum extension_defaulted_child_enum = 20015 [default = ALPHA];
+ optional SiblingEnum extension_defaulted_sibling_enum = 20016 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool extension_repeated_bool = 30000;
+ repeated int32 extension_repeated_int32 = 30001;
+ repeated sint32 extension_repeated_sint32 = 30002;
+ repeated uint32 extension_repeated_uint32 = 30003;
+ repeated int64 extension_repeated_int64 = 30004;
+ repeated sint64 extension_repeated_sint64 = 30005;
+ repeated uint64 extension_repeated_uint64 = 30006;
+ repeated fixed32 extension_repeated_fixed32 = 30007;
+ repeated sfixed32 extension_repeated_sfixed32 = 30008;
+ repeated float extension_repeated_float = 30009;
+ repeated fixed64 extension_repeated_fixed64 = 30010;
+ repeated sfixed64 extension_repeated_sfixed64 = 30011;
+ repeated double extension_repeated_double = 30012;
+ repeated string extension_repeated_string = 30013;
+ repeated bytes extension_repeated_bytes = 30014;
+
+ repeated ChildEnum extension_repeated_child_enum = 30015;
+ repeated ChildMessage extension_repeated_child_message = 30016;
+ repeated NamedGroup extension_repeated_named_group = 30017;
+ repeated SiblingEnum extension_repeated_sibling_enum = 30018;
+ repeated SiblingMessage extension_repeated_sibling_message = 30019;
+ repeated group ExtensionRepeatedGroup = 30020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ }
+
+ extensions 10000 to max;
+}
diff --git a/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.pb.go b/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.pb.go
new file mode 100644
index 0000000..d6870ec
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.pb.go
@@ -0,0 +1,3819 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto2.v1.1.0-20180430-b4deda09/test.proto
+
+package proto2_v1_1_0_20180430_b4deda09 // import "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09"
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) Enum() *SiblingEnum {
+ p := new(SiblingEnum)
+ *p = x
+ return p
+}
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
+ if err != nil {
+ return err
+ }
+ *x = SiblingEnum(value)
+ return nil
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{0}
+}
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) Enum() *Message_ChildEnum {
+ p := new(Message_ChildEnum)
+ *p = x
+ return p
+}
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
+ if err != nil {
+ return err
+ }
+ *x = Message_ChildEnum(value)
+ return nil
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 0}
+}
+
+type SiblingMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{0}
+}
+func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
+}
+func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
+}
+func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SiblingMessage.Merge(dst, src)
+}
+func (m *SiblingMessage) XXX_Size() int {
+ return xxx_messageInfo_SiblingMessage.Size(m)
+}
+func (m *SiblingMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message struct {
+ Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
+ // Optional fields.
+ OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
+ OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
+ OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
+ // Optional default fields.
+ DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
+ DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
+ DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
+ DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
+ DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
+ DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
+ DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
+ DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
+ DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
+ DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
+ DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
+ DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
+ DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
+ DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
+ DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
+ DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
+ DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
+ // Required fields.
+ RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
+ RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
+ RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
+ RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
+ RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
+ RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
+ RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
+ RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
+ RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
+ RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
+ RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
+ RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
+ RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
+ RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
+ RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
+ RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"required_child_enum,omitempty"`
+ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
+ RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
+ RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"required_sibling_enum,omitempty"`
+ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
+ Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
+ // Required default fields.
+ RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
+ RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
+ RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
+ RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
+ RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
+ RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
+ RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
+ RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
+ RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
+ RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
+ RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
+ RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
+ RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
+ RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
+ RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
+ RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
+ RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180430.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180430.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofNamedGroup
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_Oneofgroup
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ // Oneof default fields.
+ //
+ // Types that are valid to be assigned to OneofDefaultedUnion:
+ // *Message_OneofDefaultedBool
+ // *Message_OneofDefaultedInt32
+ // *Message_OneofDefaultedSint32
+ // *Message_OneofDefaultedUint32
+ // *Message_OneofDefaultedInt64
+ // *Message_OneofDefaultedSint64
+ // *Message_OneofDefaultedUint64
+ // *Message_OneofDefaultedFixed32
+ // *Message_OneofDefaultedSfixed32
+ // *Message_OneofDefaultedFloat
+ // *Message_OneofDefaultedFixed64
+ // *Message_OneofDefaultedSfixed64
+ // *Message_OneofDefaultedDouble
+ // *Message_OneofDefaultedString
+ // *Message_OneofDefaultedBytes
+ // *Message_OneofDefaultedChildEnum
+ // *Message_OneofDefaultedSiblingEnum
+ OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ proto.XXX_InternalExtensions `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1}
+}
+
+var extRange_Message = []proto.ExtensionRange{
+ {Start: 10000, End: 536870911},
+}
+
+func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
+ return extRange_Message
+}
+func (m *Message) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message.Unmarshal(m, b)
+}
+func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message.Marshal(b, m, deterministic)
+}
+func (dst *Message) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message.Merge(dst, src)
+}
+func (m *Message) XXX_Size() int {
+ return xxx_messageInfo_Message.Size(m)
+}
+func (m *Message) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message proto.InternalMessageInfo
+
+const Default_Message_DefaultedBool bool = true
+const Default_Message_DefaultedInt32 int32 = -12345
+const Default_Message_DefaultedSint32 int32 = -3200
+const Default_Message_DefaultedUint32 uint32 = 3200
+const Default_Message_DefaultedInt64 int64 = -123456789
+const Default_Message_DefaultedSint64 int64 = -6400
+const Default_Message_DefaultedUint64 uint64 = 6400
+const Default_Message_DefaultedFixed32 uint32 = 320000
+const Default_Message_DefaultedSfixed32 int32 = -320000
+const Default_Message_DefaultedFloat float32 = 3.14159
+const Default_Message_DefaultedFixed64 uint64 = 640000
+const Default_Message_DefaultedSfixed64 int64 = -640000
+const Default_Message_DefaultedDouble float64 = 3.14159265359
+const Default_Message_DefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_DefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_RequiredDefaultedBool bool = true
+const Default_Message_RequiredDefaultedInt32 int32 = -12345
+const Default_Message_RequiredDefaultedSint32 int32 = -3200
+const Default_Message_RequiredDefaultedUint32 uint32 = 3200
+const Default_Message_RequiredDefaultedInt64 int64 = -123456789
+const Default_Message_RequiredDefaultedSint64 int64 = -6400
+const Default_Message_RequiredDefaultedUint64 uint64 = 6400
+const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
+const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
+const Default_Message_RequiredDefaultedFloat float32 = 3.14159
+const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
+const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
+const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
+const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_OneofDefaultedBool bool = true
+const Default_Message_OneofDefaultedInt32 int32 = -12345
+const Default_Message_OneofDefaultedSint32 int32 = -3200
+const Default_Message_OneofDefaultedUint32 uint32 = 3200
+const Default_Message_OneofDefaultedInt64 int64 = -123456789
+const Default_Message_OneofDefaultedSint64 int64 = -6400
+const Default_Message_OneofDefaultedUint64 uint64 = 6400
+const Default_Message_OneofDefaultedFixed32 uint32 = 320000
+const Default_Message_OneofDefaultedSfixed32 int32 = -320000
+const Default_Message_OneofDefaultedFloat float32 = 3.14159
+const Default_Message_OneofDefaultedFixed64 uint64 = 640000
+const Default_Message_OneofDefaultedSfixed64 int64 = -640000
+const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
+const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+
+type isMessage_OneofUnion interface {
+ isMessage_OneofUnion()
+}
+type isMessage_OneofDefaultedUnion interface {
+ isMessage_OneofDefaultedUnion()
+}
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofNamedGroup struct {
+ OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_Oneofgroup struct {
+ Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+type Message_OneofDefaultedBool struct {
+ OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
+}
+type Message_OneofDefaultedInt32 struct {
+ OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
+}
+type Message_OneofDefaultedSint32 struct {
+ OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
+}
+type Message_OneofDefaultedUint32 struct {
+ OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
+}
+type Message_OneofDefaultedInt64 struct {
+ OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
+}
+type Message_OneofDefaultedSint64 struct {
+ OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
+}
+type Message_OneofDefaultedUint64 struct {
+ OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
+}
+type Message_OneofDefaultedFixed32 struct {
+ OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
+}
+type Message_OneofDefaultedSfixed32 struct {
+ OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
+}
+type Message_OneofDefaultedFloat struct {
+ OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
+}
+type Message_OneofDefaultedFixed64 struct {
+ OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
+}
+type Message_OneofDefaultedSfixed64 struct {
+ OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
+}
+type Message_OneofDefaultedDouble struct {
+ OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
+}
+type Message_OneofDefaultedString struct {
+ OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
+}
+type Message_OneofDefaultedBytes struct {
+ OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
+}
+type Message_OneofDefaultedChildEnum struct {
+ OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,oneof,def=0"`
+}
+type Message_OneofDefaultedSiblingEnum struct {
+ OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,oneof,def=0"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_Oneofgroup) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
+func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
+ if m != nil {
+ return m.OneofDefaultedUnion
+ }
+ return nil
+}
+
+func (m *Message) GetNamedgroup() *Message_NamedGroup {
+ if m != nil {
+ return m.Namedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil && m.OptionalBool != nil {
+ return *m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil && m.OptionalInt32 != nil {
+ return *m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil && m.OptionalSint32 != nil {
+ return *m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil && m.OptionalUint32 != nil {
+ return *m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil && m.OptionalInt64 != nil {
+ return *m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil && m.OptionalSint64 != nil {
+ return *m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil && m.OptionalUint64 != nil {
+ return *m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil && m.OptionalFixed32 != nil {
+ return *m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil && m.OptionalSfixed32 != nil {
+ return *m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil && m.OptionalFloat != nil {
+ return *m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil && m.OptionalFixed64 != nil {
+ return *m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil && m.OptionalSfixed64 != nil {
+ return *m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil && m.OptionalDouble != nil {
+ return *m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil && m.OptionalString != nil {
+ return *m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil && m.OptionalChildEnum != nil {
+ return *m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.OptionalNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil && m.OptionalSiblingEnum != nil {
+ return *m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
+ if m != nil {
+ return m.Optionalgroup
+ }
+ return nil
+}
+
+func (m *Message) GetDefaultedBool() bool {
+ if m != nil && m.DefaultedBool != nil {
+ return *m.DefaultedBool
+ }
+ return Default_Message_DefaultedBool
+}
+
+func (m *Message) GetDefaultedInt32() int32 {
+ if m != nil && m.DefaultedInt32 != nil {
+ return *m.DefaultedInt32
+ }
+ return Default_Message_DefaultedInt32
+}
+
+func (m *Message) GetDefaultedSint32() int32 {
+ if m != nil && m.DefaultedSint32 != nil {
+ return *m.DefaultedSint32
+ }
+ return Default_Message_DefaultedSint32
+}
+
+func (m *Message) GetDefaultedUint32() uint32 {
+ if m != nil && m.DefaultedUint32 != nil {
+ return *m.DefaultedUint32
+ }
+ return Default_Message_DefaultedUint32
+}
+
+func (m *Message) GetDefaultedInt64() int64 {
+ if m != nil && m.DefaultedInt64 != nil {
+ return *m.DefaultedInt64
+ }
+ return Default_Message_DefaultedInt64
+}
+
+func (m *Message) GetDefaultedSint64() int64 {
+ if m != nil && m.DefaultedSint64 != nil {
+ return *m.DefaultedSint64
+ }
+ return Default_Message_DefaultedSint64
+}
+
+func (m *Message) GetDefaultedUint64() uint64 {
+ if m != nil && m.DefaultedUint64 != nil {
+ return *m.DefaultedUint64
+ }
+ return Default_Message_DefaultedUint64
+}
+
+func (m *Message) GetDefaultedFixed32() uint32 {
+ if m != nil && m.DefaultedFixed32 != nil {
+ return *m.DefaultedFixed32
+ }
+ return Default_Message_DefaultedFixed32
+}
+
+func (m *Message) GetDefaultedSfixed32() int32 {
+ if m != nil && m.DefaultedSfixed32 != nil {
+ return *m.DefaultedSfixed32
+ }
+ return Default_Message_DefaultedSfixed32
+}
+
+func (m *Message) GetDefaultedFloat() float32 {
+ if m != nil && m.DefaultedFloat != nil {
+ return *m.DefaultedFloat
+ }
+ return Default_Message_DefaultedFloat
+}
+
+func (m *Message) GetDefaultedFixed64() uint64 {
+ if m != nil && m.DefaultedFixed64 != nil {
+ return *m.DefaultedFixed64
+ }
+ return Default_Message_DefaultedFixed64
+}
+
+func (m *Message) GetDefaultedSfixed64() int64 {
+ if m != nil && m.DefaultedSfixed64 != nil {
+ return *m.DefaultedSfixed64
+ }
+ return Default_Message_DefaultedSfixed64
+}
+
+func (m *Message) GetDefaultedDouble() float64 {
+ if m != nil && m.DefaultedDouble != nil {
+ return *m.DefaultedDouble
+ }
+ return Default_Message_DefaultedDouble
+}
+
+func (m *Message) GetDefaultedString() string {
+ if m != nil && m.DefaultedString != nil {
+ return *m.DefaultedString
+ }
+ return Default_Message_DefaultedString
+}
+
+func (m *Message) GetDefaultedBytes() []byte {
+ if m != nil && m.DefaultedBytes != nil {
+ return m.DefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_DefaultedBytes...)
+}
+
+func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.DefaultedChildEnum != nil {
+ return *m.DefaultedChildEnum
+ }
+ return Default_Message_DefaultedChildEnum
+}
+
+func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.DefaultedSiblingEnum != nil {
+ return *m.DefaultedSiblingEnum
+ }
+ return Default_Message_DefaultedSiblingEnum
+}
+
+func (m *Message) GetRequiredBool() bool {
+ if m != nil && m.RequiredBool != nil {
+ return *m.RequiredBool
+ }
+ return false
+}
+
+func (m *Message) GetRequiredInt32() int32 {
+ if m != nil && m.RequiredInt32 != nil {
+ return *m.RequiredInt32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint32() int32 {
+ if m != nil && m.RequiredSint32 != nil {
+ return *m.RequiredSint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint32() uint32 {
+ if m != nil && m.RequiredUint32 != nil {
+ return *m.RequiredUint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredInt64() int64 {
+ if m != nil && m.RequiredInt64 != nil {
+ return *m.RequiredInt64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint64() int64 {
+ if m != nil && m.RequiredSint64 != nil {
+ return *m.RequiredSint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint64() uint64 {
+ if m != nil && m.RequiredUint64 != nil {
+ return *m.RequiredUint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed32() uint32 {
+ if m != nil && m.RequiredFixed32 != nil {
+ return *m.RequiredFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed32() int32 {
+ if m != nil && m.RequiredSfixed32 != nil {
+ return *m.RequiredSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFloat() float32 {
+ if m != nil && m.RequiredFloat != nil {
+ return *m.RequiredFloat
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed64() uint64 {
+ if m != nil && m.RequiredFixed64 != nil {
+ return *m.RequiredFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed64() int64 {
+ if m != nil && m.RequiredSfixed64 != nil {
+ return *m.RequiredSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredDouble() float64 {
+ if m != nil && m.RequiredDouble != nil {
+ return *m.RequiredDouble
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredString() string {
+ if m != nil && m.RequiredString != nil {
+ return *m.RequiredString
+ }
+ return ""
+}
+
+func (m *Message) GetRequiredBytes() []byte {
+ if m != nil {
+ return m.RequiredBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredChildEnum != nil {
+ return *m.RequiredChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.RequiredChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.RequiredNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredSiblingEnum != nil {
+ return *m.RequiredSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.RequiredSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
+ if m != nil {
+ return m.Requiredgroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredDefaultedBool() bool {
+ if m != nil && m.RequiredDefaultedBool != nil {
+ return *m.RequiredDefaultedBool
+ }
+ return Default_Message_RequiredDefaultedBool
+}
+
+func (m *Message) GetRequiredDefaultedInt32() int32 {
+ if m != nil && m.RequiredDefaultedInt32 != nil {
+ return *m.RequiredDefaultedInt32
+ }
+ return Default_Message_RequiredDefaultedInt32
+}
+
+func (m *Message) GetRequiredDefaultedSint32() int32 {
+ if m != nil && m.RequiredDefaultedSint32 != nil {
+ return *m.RequiredDefaultedSint32
+ }
+ return Default_Message_RequiredDefaultedSint32
+}
+
+func (m *Message) GetRequiredDefaultedUint32() uint32 {
+ if m != nil && m.RequiredDefaultedUint32 != nil {
+ return *m.RequiredDefaultedUint32
+ }
+ return Default_Message_RequiredDefaultedUint32
+}
+
+func (m *Message) GetRequiredDefaultedInt64() int64 {
+ if m != nil && m.RequiredDefaultedInt64 != nil {
+ return *m.RequiredDefaultedInt64
+ }
+ return Default_Message_RequiredDefaultedInt64
+}
+
+func (m *Message) GetRequiredDefaultedSint64() int64 {
+ if m != nil && m.RequiredDefaultedSint64 != nil {
+ return *m.RequiredDefaultedSint64
+ }
+ return Default_Message_RequiredDefaultedSint64
+}
+
+func (m *Message) GetRequiredDefaultedUint64() uint64 {
+ if m != nil && m.RequiredDefaultedUint64 != nil {
+ return *m.RequiredDefaultedUint64
+ }
+ return Default_Message_RequiredDefaultedUint64
+}
+
+func (m *Message) GetRequiredDefaultedFixed32() uint32 {
+ if m != nil && m.RequiredDefaultedFixed32 != nil {
+ return *m.RequiredDefaultedFixed32
+ }
+ return Default_Message_RequiredDefaultedFixed32
+}
+
+func (m *Message) GetRequiredDefaultedSfixed32() int32 {
+ if m != nil && m.RequiredDefaultedSfixed32 != nil {
+ return *m.RequiredDefaultedSfixed32
+ }
+ return Default_Message_RequiredDefaultedSfixed32
+}
+
+func (m *Message) GetRequiredDefaultedFloat() float32 {
+ if m != nil && m.RequiredDefaultedFloat != nil {
+ return *m.RequiredDefaultedFloat
+ }
+ return Default_Message_RequiredDefaultedFloat
+}
+
+func (m *Message) GetRequiredDefaultedFixed64() uint64 {
+ if m != nil && m.RequiredDefaultedFixed64 != nil {
+ return *m.RequiredDefaultedFixed64
+ }
+ return Default_Message_RequiredDefaultedFixed64
+}
+
+func (m *Message) GetRequiredDefaultedSfixed64() int64 {
+ if m != nil && m.RequiredDefaultedSfixed64 != nil {
+ return *m.RequiredDefaultedSfixed64
+ }
+ return Default_Message_RequiredDefaultedSfixed64
+}
+
+func (m *Message) GetRequiredDefaultedDouble() float64 {
+ if m != nil && m.RequiredDefaultedDouble != nil {
+ return *m.RequiredDefaultedDouble
+ }
+ return Default_Message_RequiredDefaultedDouble
+}
+
+func (m *Message) GetRequiredDefaultedString() string {
+ if m != nil && m.RequiredDefaultedString != nil {
+ return *m.RequiredDefaultedString
+ }
+ return Default_Message_RequiredDefaultedString
+}
+
+func (m *Message) GetRequiredDefaultedBytes() []byte {
+ if m != nil && m.RequiredDefaultedBytes != nil {
+ return m.RequiredDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
+}
+
+func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredDefaultedChildEnum != nil {
+ return *m.RequiredDefaultedChildEnum
+ }
+ return Default_Message_RequiredDefaultedChildEnum
+}
+
+func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredDefaultedSiblingEnum != nil {
+ return *m.RequiredDefaultedSiblingEnum
+ }
+ return Default_Message_RequiredDefaultedSiblingEnum
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
+ if m != nil {
+ return m.RepeatedNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
+ if m != nil {
+ return m.Repeatedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
+ if m != nil {
+ return m.MapBoolNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
+ if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
+ return x.OneofNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofgroup() *Message_OneofGroup {
+ if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
+ return x.Oneofgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+func (m *Message) GetOneofDefaultedBool() bool {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
+ return x.OneofDefaultedBool
+ }
+ return Default_Message_OneofDefaultedBool
+}
+
+func (m *Message) GetOneofDefaultedInt32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
+ return x.OneofDefaultedInt32
+ }
+ return Default_Message_OneofDefaultedInt32
+}
+
+func (m *Message) GetOneofDefaultedSint32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
+ return x.OneofDefaultedSint32
+ }
+ return Default_Message_OneofDefaultedSint32
+}
+
+func (m *Message) GetOneofDefaultedUint32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
+ return x.OneofDefaultedUint32
+ }
+ return Default_Message_OneofDefaultedUint32
+}
+
+func (m *Message) GetOneofDefaultedInt64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
+ return x.OneofDefaultedInt64
+ }
+ return Default_Message_OneofDefaultedInt64
+}
+
+func (m *Message) GetOneofDefaultedSint64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
+ return x.OneofDefaultedSint64
+ }
+ return Default_Message_OneofDefaultedSint64
+}
+
+func (m *Message) GetOneofDefaultedUint64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
+ return x.OneofDefaultedUint64
+ }
+ return Default_Message_OneofDefaultedUint64
+}
+
+func (m *Message) GetOneofDefaultedFixed32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
+ return x.OneofDefaultedFixed32
+ }
+ return Default_Message_OneofDefaultedFixed32
+}
+
+func (m *Message) GetOneofDefaultedSfixed32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
+ return x.OneofDefaultedSfixed32
+ }
+ return Default_Message_OneofDefaultedSfixed32
+}
+
+func (m *Message) GetOneofDefaultedFloat() float32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
+ return x.OneofDefaultedFloat
+ }
+ return Default_Message_OneofDefaultedFloat
+}
+
+func (m *Message) GetOneofDefaultedFixed64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
+ return x.OneofDefaultedFixed64
+ }
+ return Default_Message_OneofDefaultedFixed64
+}
+
+func (m *Message) GetOneofDefaultedSfixed64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
+ return x.OneofDefaultedSfixed64
+ }
+ return Default_Message_OneofDefaultedSfixed64
+}
+
+func (m *Message) GetOneofDefaultedDouble() float64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
+ return x.OneofDefaultedDouble
+ }
+ return Default_Message_OneofDefaultedDouble
+}
+
+func (m *Message) GetOneofDefaultedString() string {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
+ return x.OneofDefaultedString
+ }
+ return Default_Message_OneofDefaultedString
+}
+
+func (m *Message) GetOneofDefaultedBytes() []byte {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
+ return x.OneofDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
+}
+
+func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
+ return x.OneofDefaultedChildEnum
+ }
+ return Default_Message_OneofDefaultedChildEnum
+}
+
+func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
+ return x.OneofDefaultedSiblingEnum
+ }
+ return Default_Message_OneofDefaultedSiblingEnum
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofNamedGroup)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_Oneofgroup)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ (*Message_OneofDefaultedBool)(nil),
+ (*Message_OneofDefaultedInt32)(nil),
+ (*Message_OneofDefaultedSint32)(nil),
+ (*Message_OneofDefaultedUint32)(nil),
+ (*Message_OneofDefaultedInt64)(nil),
+ (*Message_OneofDefaultedSint64)(nil),
+ (*Message_OneofDefaultedUint64)(nil),
+ (*Message_OneofDefaultedFixed32)(nil),
+ (*Message_OneofDefaultedSfixed32)(nil),
+ (*Message_OneofDefaultedFloat)(nil),
+ (*Message_OneofDefaultedFixed64)(nil),
+ (*Message_OneofDefaultedSfixed64)(nil),
+ (*Message_OneofDefaultedDouble)(nil),
+ (*Message_OneofDefaultedString)(nil),
+ (*Message_OneofDefaultedBytes)(nil),
+ (*Message_OneofDefaultedChildEnum)(nil),
+ (*Message_OneofDefaultedSiblingEnum)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(700<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(701<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(702<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(703<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(704<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(705<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(706<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(707<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(708<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(709<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(710<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(711<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(712<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(713<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(714<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(715<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(716<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofNamedGroup:
+ b.EncodeVarint(717<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(718<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(719<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_Oneofgroup:
+ b.EncodeVarint(720<<3 | proto.WireStartGroup)
+ if err := b.Marshal(x.Oneofgroup); err != nil {
+ return err
+ }
+ b.EncodeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ b.EncodeVarint(721<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(722<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(723<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ t := uint64(0)
+ if x.OneofDefaultedBool {
+ t = 1
+ }
+ b.EncodeVarint(800<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofDefaultedInt32:
+ b.EncodeVarint(801<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ b.EncodeVarint(802<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
+ case *Message_OneofDefaultedUint32:
+ b.EncodeVarint(803<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ b.EncodeVarint(804<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ b.EncodeVarint(805<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
+ case *Message_OneofDefaultedUint64:
+ b.EncodeVarint(806<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ b.EncodeVarint(807<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
+ case *Message_OneofDefaultedSfixed32:
+ b.EncodeVarint(808<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
+ case *Message_OneofDefaultedFloat:
+ b.EncodeVarint(809<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
+ case *Message_OneofDefaultedFixed64:
+ b.EncodeVarint(810<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
+ case *Message_OneofDefaultedSfixed64:
+ b.EncodeVarint(811<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
+ case *Message_OneofDefaultedDouble:
+ b.EncodeVarint(812<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
+ case *Message_OneofDefaultedString:
+ b.EncodeVarint(813<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ b.EncodeVarint(814<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ b.EncodeVarint(815<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ b.EncodeVarint(816<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 700: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 701: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 702: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 703: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 704: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 705: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 706: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 707: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 708: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 709: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 710: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 711: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 712: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 713: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 714: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 715: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 716: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 717: // oneof_union.oneof_named_group
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_NamedGroup)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofNamedGroup{msg}
+ return true, err
+ case 718: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 719: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 720: // oneof_union.oneofgroup
+ if wire != proto.WireStartGroup {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_OneofGroup)
+ err := b.DecodeGroup(msg)
+ m.OneofUnion = &Message_Oneofgroup{msg}
+ return true, err
+ case 721: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 722: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 723: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ case 800: // oneof_defaulted_union.oneof_defaulted_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
+ return true, err
+ case 801: // oneof_defaulted_union.oneof_defaulted_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
+ return true, err
+ case 802: // oneof_defaulted_union.oneof_defaulted_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
+ return true, err
+ case 803: // oneof_defaulted_union.oneof_defaulted_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
+ return true, err
+ case 804: // oneof_defaulted_union.oneof_defaulted_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
+ return true, err
+ case 805: // oneof_defaulted_union.oneof_defaulted_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
+ return true, err
+ case 806: // oneof_defaulted_union.oneof_defaulted_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
+ return true, err
+ case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
+ return true, err
+ case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
+ return true, err
+ case 809: // oneof_defaulted_union.oneof_defaulted_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
+ return true, err
+ case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
+ return true, err
+ case 812: // oneof_defaulted_union.oneof_defaulted_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
+ return true, err
+ case 813: // oneof_defaulted_union.oneof_defaulted_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
+ return true, err
+ case 814: // oneof_defaulted_union.oneof_defaulted_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
+ return true, err
+ case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofNamedGroup:
+ s := proto.Size(x.OneofNamedGroup)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_Oneofgroup:
+ n += 2 // tag and wire
+ n += proto.Size(x.Oneofgroup)
+ n += 2 // tag and wire
+ case *Message_OneofString1:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofDefaultedInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
+ case *Message_OneofDefaultedUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
+ case *Message_OneofDefaultedUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
+ n += len(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
+ n += len(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 10000,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_bool",
+ Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10001,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_int32",
+ Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10002,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sint32",
+ Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10003,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_uint32",
+ Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10004,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_int64",
+ Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10005,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sint64",
+ Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10006,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_uint64",
+ Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10007,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_fixed32",
+ Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10008,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sfixed32",
+ Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 10009,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_float",
+ Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10010,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_fixed64",
+ Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10011,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sfixed64",
+ Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 10012,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_double",
+ Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 10013,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_string",
+ Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 10014,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_bytes",
+ Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 10015,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_child_enum",
+ Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildMessage)(nil),
+ Field: 10016,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_child_message",
+ Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_NamedGroup)(nil),
+ Field: 10017,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_named_group",
+ Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 10018,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sibling_enum",
+ Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingMessage)(nil),
+ Field: 10019,
+ Name: "google.golang.org.proto2_20180430.Message.extension_optional_sibling_message",
+ Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
+ Field: 10020,
+ Name: "google.golang.org.proto2_20180430.Message.extensionoptionalgroup",
+ Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 20000,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_bool",
+ Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20001,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_int32",
+ Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20002,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sint32",
+ Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20003,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_uint32",
+ Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20004,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_int64",
+ Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20005,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sint64",
+ Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20006,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_uint64",
+ Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20007,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_fixed32",
+ Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20008,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sfixed32",
+ Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 20009,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_float",
+ Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20010,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_fixed64",
+ Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20011,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sfixed64",
+ Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 20012,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_double",
+ Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 20013,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_string",
+ Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 20014,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_bytes",
+ Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 20015,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_child_enum",
+ Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 20016,
+ Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sibling_enum",
+ Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]bool)(nil),
+ Field: 30000,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_bool",
+ Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30001,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_int32",
+ Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30002,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sint32",
+ Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30003,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_uint32",
+ Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30004,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_int64",
+ Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30005,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sint64",
+ Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30006,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_uint64",
+ Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30007,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_fixed32",
+ Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30008,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sfixed32",
+ Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float32)(nil),
+ Field: 30009,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_float",
+ Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30010,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_fixed64",
+ Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30011,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sfixed64",
+ Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float64)(nil),
+ Field: 30012,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_double",
+ Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]string)(nil),
+ Field: 30013,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_string",
+ Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([][]byte)(nil),
+ Field: 30014,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_bytes",
+ Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]Message_ChildEnum)(nil),
+ Field: 30015,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_child_enum",
+ Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ChildMessage)(nil),
+ Field: 30016,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_child_message",
+ Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_NamedGroup)(nil),
+ Field: 30017,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_named_group",
+ Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]SiblingEnum)(nil),
+ Field: 30018,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sibling_enum",
+ Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*SiblingMessage)(nil),
+ Field: 30019,
+ Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sibling_message",
+ Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
+ Field: 30020,
+ Name: "google.golang.org.proto2_20180430.Message.extensionrepeatedgroup",
+ Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
+ Filename: "proto2.v1.1.0-20180430-b4deda09/test.proto",
+}
+
+type Message_ChildMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 0}
+}
+func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
+}
+func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
+}
+func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
+}
+func (m *Message_ChildMessage) XXX_Size() int {
+ return xxx_messageInfo_Message_ChildMessage.Size(m)
+}
+func (m *Message_ChildMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_NamedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
+func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_NamedGroup) ProtoMessage() {}
+func (*Message_NamedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 1}
+}
+func (m *Message_NamedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_NamedGroup.Unmarshal(m, b)
+}
+func (m *Message_NamedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_NamedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_NamedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_NamedGroup.Merge(dst, src)
+}
+func (m *Message_NamedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_NamedGroup.Size(m)
+}
+func (m *Message_NamedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_NamedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_NamedGroup proto.InternalMessageInfo
+
+func (m *Message_NamedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_NamedGroup) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_OptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
+func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OptionalGroup) ProtoMessage() {}
+func (*Message_OptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 2}
+}
+func (m *Message_OptionalGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_OptionalGroup.Unmarshal(m, b)
+}
+func (m *Message_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_OptionalGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_OptionalGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_OptionalGroup.Merge(dst, src)
+}
+func (m *Message_OptionalGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_OptionalGroup.Size(m)
+}
+func (m *Message_OptionalGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_OptionalGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_OptionalGroup proto.InternalMessageInfo
+
+func (m *Message_OptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RequiredGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
+func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RequiredGroup) ProtoMessage() {}
+func (*Message_RequiredGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 3}
+}
+func (m *Message_RequiredGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_RequiredGroup.Unmarshal(m, b)
+}
+func (m *Message_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_RequiredGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_RequiredGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_RequiredGroup.Merge(dst, src)
+}
+func (m *Message_RequiredGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_RequiredGroup.Size(m)
+}
+func (m *Message_RequiredGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_RequiredGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_RequiredGroup proto.InternalMessageInfo
+
+func (m *Message_RequiredGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
+func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RepeatedGroup) ProtoMessage() {}
+func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 4}
+}
+func (m *Message_RepeatedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_RepeatedGroup.Unmarshal(m, b)
+}
+func (m *Message_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_RepeatedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_RepeatedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_RepeatedGroup.Merge(dst, src)
+}
+func (m *Message_RepeatedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_RepeatedGroup.Size(m)
+}
+func (m *Message_RepeatedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_RepeatedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_RepeatedGroup proto.InternalMessageInfo
+
+func (m *Message_RepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_OneofGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
+func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OneofGroup) ProtoMessage() {}
+func (*Message_OneofGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 33}
+}
+func (m *Message_OneofGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_OneofGroup.Unmarshal(m, b)
+}
+func (m *Message_OneofGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_OneofGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_OneofGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_OneofGroup.Merge(dst, src)
+}
+func (m *Message_OneofGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_OneofGroup.Size(m)
+}
+func (m *Message_OneofGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_OneofGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_OneofGroup proto.InternalMessageInfo
+
+func (m *Message_OneofGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionOptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
+func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
+func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 34}
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Unmarshal(m, b)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_ExtensionOptionalGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ExtensionOptionalGroup.Merge(dst, src)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Size(m)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ExtensionOptionalGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ExtensionOptionalGroup proto.InternalMessageInfo
+
+func (m *Message_ExtensionOptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionRepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
+func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
+func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_98bcf816f23990bb, []int{1, 35}
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Unmarshal(m, b)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_ExtensionRepeatedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ExtensionRepeatedGroup.Merge(dst, src)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Size(m)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ExtensionRepeatedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ExtensionRepeatedGroup proto.InternalMessageInfo
+
+func (m *Message_ExtensionRepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180430.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180430.Message")
+ proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto2_20180430.Message.MapBoolBoolEntry")
+ proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto2_20180430.Message.MapBoolBytesEntry")
+ proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto2_20180430.Message.MapBoolChildEnumEntry")
+ proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto2_20180430.Message.MapBoolChildMessageEntry")
+ proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolDoubleEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFixed32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFixed64Entry")
+ proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFloatEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolInt32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolInt64Entry")
+ proto.RegisterMapType((map[bool]*Message_NamedGroup)(nil), "google.golang.org.proto2_20180430.Message.MapBoolNamedGroupEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSfixed32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSfixed64Entry")
+ proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSiblingEnumEntry")
+ proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSiblingMessageEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSint32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSint64Entry")
+ proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto2_20180430.Message.MapBoolStringEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolUint32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolUint64Entry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapFixed32BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapInt32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapInt64BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapSint32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapSint64BoolEntry")
+ proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto2_20180430.Message.MapStringBoolEntry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapUint32BoolEntry")
+ proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapUint64BoolEntry")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180430.Message.ChildMessage")
+ proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180430.Message.NamedGroup")
+ proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180430.Message.OptionalGroup")
+ proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180430.Message.RequiredGroup")
+ proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180430.Message.RepeatedGroup")
+ proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180430.Message.OneofGroup")
+ proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180430.Message.ExtensionOptionalGroup")
+ proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180430.Message.ExtensionRepeatedGroup")
+ proto.RegisterEnum("google.golang.org.proto2_20180430.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto2_20180430.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBool)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
+ proto.RegisterExtension(E_Message_ExtensionOptionalString)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionoptionalgroup)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedString)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedString)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
+}
+
+func init() {
+ proto.RegisterFile("proto2.v1.1.0-20180430-b4deda09/test.proto", fileDescriptor_test_98bcf816f23990bb)
+}
+
+var fileDescriptor_test_98bcf816f23990bb = []byte{
+ // 4492 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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x95, 0xb3, 0x17, 0x8e, 0xee, 0xf0, 0xe3, 0xb8, 0xff, 0x1f,
+ 0x00, 0x00, 0xff, 0xff, 0xff, 0xb0, 0xa8, 0xaf, 0x3e, 0x57, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.proto b/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.proto
new file mode 100644
index 0000000..b53a638
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09/test.proto
@@ -0,0 +1,333 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package google.golang.org.proto2_20180430;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.1.0-20180430-b4deda09";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+ optional group NamedGroup = 1 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+
+ // Optional fields.
+ optional bool optional_bool = 100;
+ optional int32 optional_int32 = 101;
+ optional sint32 optional_sint32 = 102;
+ optional uint32 optional_uint32 = 103;
+ optional int64 optional_int64 = 104;
+ optional sint64 optional_sint64 = 105;
+ optional uint64 optional_uint64 = 106;
+ optional fixed32 optional_fixed32 = 107;
+ optional sfixed32 optional_sfixed32 = 108;
+ optional float optional_float = 109;
+ optional fixed64 optional_fixed64 = 110;
+ optional sfixed64 optional_sfixed64 = 111;
+ optional double optional_double = 112;
+ optional string optional_string = 113;
+ optional bytes optional_bytes = 114;
+
+ optional ChildEnum optional_child_enum = 115;
+ optional ChildMessage optional_child_message = 116;
+ optional NamedGroup optional_named_group = 117;
+ optional SiblingEnum optional_sibling_enum = 118;
+ optional SiblingMessage optional_sibling_message = 119;
+ optional group OptionalGroup = 120 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool defaulted_bool = 200 [default = true];
+ optional int32 defaulted_int32 = 201 [default = -12345];
+ optional sint32 defaulted_sint32 = 202 [default = -3200];
+ optional uint32 defaulted_uint32 = 203 [default = 3200];
+ optional int64 defaulted_int64 = 204 [default = -123456789];
+ optional sint64 defaulted_sint64 = 205 [default = -6400];
+ optional uint64 defaulted_uint64 = 206 [default = 6400];
+ optional fixed32 defaulted_fixed32 = 207 [default = 320000];
+ optional sfixed32 defaulted_sfixed32 = 208 [default = -320000];
+ optional float defaulted_float = 209 [default = 3.14159];
+ optional fixed64 defaulted_fixed64 = 210 [default = 640000];
+ optional sfixed64 defaulted_sfixed64 = 211 [default = -640000];
+ optional double defaulted_double = 212 [default = 3.14159265359];
+ optional string defaulted_string = 213 [default = "hello, \"world!\"\n"];
+ optional bytes defaulted_bytes = 214 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum defaulted_child_enum = 215 [default = ALPHA];
+ optional SiblingEnum defaulted_sibling_enum = 216 [default = ALPHA];
+
+ // Required fields.
+ required bool required_bool = 300;
+ required int32 required_int32 = 301;
+ required sint32 required_sint32 = 302;
+ required uint32 required_uint32 = 303;
+ required int64 required_int64 = 304;
+ required sint64 required_sint64 = 305;
+ required uint64 required_uint64 = 306;
+ required fixed32 required_fixed32 = 307;
+ required sfixed32 required_sfixed32 = 308;
+ required float required_float = 309;
+ required fixed64 required_fixed64 = 310;
+ required sfixed64 required_sfixed64 = 311;
+ required double required_double = 312;
+ required string required_string = 313;
+ required bytes required_bytes = 314;
+
+ required ChildEnum required_child_enum = 315;
+ required ChildMessage required_child_message = 316;
+ required NamedGroup required_named_group = 317;
+ required SiblingEnum required_sibling_enum = 318;
+ required SiblingMessage required_sibling_message = 319;
+ required group RequiredGroup = 320 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ // Required default fields.
+ required bool required_defaulted_bool = 400 [default = true];
+ required int32 required_defaulted_int32 = 401 [default = -12345];
+ required sint32 required_defaulted_sint32 = 402 [default = -3200];
+ required uint32 required_defaulted_uint32 = 403 [default = 3200];
+ required int64 required_defaulted_int64 = 404 [default = -123456789];
+ required sint64 required_defaulted_sint64 = 405 [default = -6400];
+ required uint64 required_defaulted_uint64 = 406 [default = 6400];
+ required fixed32 required_defaulted_fixed32 = 407 [default = 320000];
+ required sfixed32 required_defaulted_sfixed32 = 408 [default = -320000];
+ required float required_defaulted_float = 409 [default = 3.14159];
+ required fixed64 required_defaulted_fixed64 = 410 [default = 640000];
+ required sfixed64 required_defaulted_sfixed64 = 411 [default = -640000];
+ required double required_defaulted_double = 412 [default = 3.14159265359];
+ required string required_defaulted_string = 413 [default = "hello, \"world!\"\n"];
+ required bytes required_defaulted_bytes = 414 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ required ChildEnum required_defaulted_child_enum = 415 [default = ALPHA];
+ required SiblingEnum required_defaulted_sibling_enum = 416 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool repeated_bool = 500;
+ repeated int32 repeated_int32 = 501;
+ repeated sint32 repeated_sint32 = 502;
+ repeated uint32 repeated_uint32 = 503;
+ repeated int64 repeated_int64 = 504;
+ repeated sint64 repeated_sint64 = 505;
+ repeated uint64 repeated_uint64 = 506;
+ repeated fixed32 repeated_fixed32 = 507;
+ repeated sfixed32 repeated_sfixed32 = 508;
+ repeated float repeated_float = 509;
+ repeated fixed64 repeated_fixed64 = 510;
+ repeated sfixed64 repeated_sfixed64 = 511;
+ repeated double repeated_double = 512;
+ repeated string repeated_string = 513;
+ repeated bytes repeated_bytes = 514;
+
+ repeated ChildEnum repeated_child_enum = 515;
+ repeated ChildMessage repeated_child_message = 516;
+ repeated NamedGroup repeated_named_group = 517;
+ repeated SiblingEnum repeated_sibling_enum = 518;
+ repeated SiblingMessage repeated_sibling_message = 519;
+ repeated group RepeatedGroup = 520 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 600;
+ map<bool, int32> map_bool_int32 = 601;
+ map<bool, sint32> map_bool_sint32 = 602;
+ map<bool, uint32> map_bool_uint32 = 603;
+ map<bool, int64> map_bool_int64 = 604;
+ map<bool, sint64> map_bool_sint64 = 605;
+ map<bool, uint64> map_bool_uint64 = 606;
+ map<bool, fixed32> map_bool_fixed32 = 607;
+ map<bool, sfixed32> map_bool_sfixed32 = 608;
+ map<bool, float> map_bool_float = 609;
+ map<bool, fixed64> map_bool_fixed64 = 610;
+ map<bool, sfixed64> map_bool_sfixed64 = 611;
+ map<bool, double> map_bool_double = 612;
+ map<bool, string> map_bool_string = 613;
+ map<bool, bytes> map_bool_bytes = 614;
+
+ map<bool, ChildEnum> map_bool_child_enum = 615;
+ map<bool, ChildMessage> map_bool_child_message = 616;
+ map<bool, NamedGroup> map_bool_named_group = 617;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 618;
+ map<bool, SiblingMessage> map_bool_sibling_message = 619;
+
+ map<int32, bool> map_int32_bool = 620;
+ map<sint32, bool> map_sint32_bool = 621;
+ map<uint32, bool> map_uint32_bool = 622;
+ map<int64, bool> map_int64_bool = 623;
+ map<sint64, bool> map_sint64_bool = 624;
+ map<uint64, bool> map_uint64_bool = 625;
+ map<fixed32, bool> map_fixed32_bool = 626;
+ map<string, bool> map_string_bool = 627;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 700;
+ int32 oneof_int32 = 701;
+ sint32 oneof_sint32 = 702;
+ uint32 oneof_uint32 = 703;
+ int64 oneof_int64 = 704;
+ sint64 oneof_sint64 = 705;
+ uint64 oneof_uint64 = 706;
+ fixed32 oneof_fixed32 = 707;
+ sfixed32 oneof_sfixed32 = 708;
+ float oneof_float = 709;
+ fixed64 oneof_fixed64 = 710;
+ sfixed64 oneof_sfixed64 = 711;
+ double oneof_double = 712;
+ string oneof_string = 713;
+ bytes oneof_bytes = 714;
+
+ ChildEnum oneof_child_enum = 715;
+ ChildMessage oneof_child_message = 716;
+ NamedGroup oneof_named_group = 717;
+ SiblingEnum oneof_sibling_enum = 718;
+ SiblingMessage oneof_sibling_message = 719;
+ group OneofGroup = 720 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ string oneof_string1 = 721;
+ string oneof_string2 = 722;
+ string oneof_string3 = 723;
+ }
+
+ // Oneof default fields.
+ oneof oneof_defaulted_union {
+ bool oneof_defaulted_bool = 800 [default = true];
+ int32 oneof_defaulted_int32 = 801 [default = -12345];
+ sint32 oneof_defaulted_sint32 = 802 [default = -3200];
+ uint32 oneof_defaulted_uint32 = 803 [default = 3200];
+ int64 oneof_defaulted_int64 = 804 [default = -123456789];
+ sint64 oneof_defaulted_sint64 = 805 [default = -6400];
+ uint64 oneof_defaulted_uint64 = 806 [default = 6400];
+ fixed32 oneof_defaulted_fixed32 = 807 [default = 320000];
+ sfixed32 oneof_defaulted_sfixed32 = 808 [default = -320000];
+ float oneof_defaulted_float = 809 [default = 3.14159];
+ fixed64 oneof_defaulted_fixed64 = 810 [default = 640000];
+ sfixed64 oneof_defaulted_sfixed64 = 811 [default = -640000];
+ double oneof_defaulted_double = 812 [default = 3.14159265359];
+ string oneof_defaulted_string = 813 [default = "hello, \"world!\"\n"];
+ bytes oneof_defaulted_bytes = 814 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ ChildEnum oneof_defaulted_child_enum = 815 [default = ALPHA];
+ SiblingEnum oneof_defaulted_sibling_enum = 816 [default = ALPHA];
+ }
+
+ // Extension fields.
+ extend Message {
+ // Optional fields.
+ optional bool extension_optional_bool = 10000;
+ optional int32 extension_optional_int32 = 10001;
+ optional sint32 extension_optional_sint32 = 10002;
+ optional uint32 extension_optional_uint32 = 10003;
+ optional int64 extension_optional_int64 = 10004;
+ optional sint64 extension_optional_sint64 = 10005;
+ optional uint64 extension_optional_uint64 = 10006;
+ optional fixed32 extension_optional_fixed32 = 10007;
+ optional sfixed32 extension_optional_sfixed32 = 10008;
+ optional float extension_optional_float = 10009;
+ optional fixed64 extension_optional_fixed64 = 10010;
+ optional sfixed64 extension_optional_sfixed64 = 10011;
+ optional double extension_optional_double = 10012;
+ optional string extension_optional_string = 10013;
+ optional bytes extension_optional_bytes = 10014;
+
+ optional ChildEnum extension_optional_child_enum = 10015;
+ optional ChildMessage extension_optional_child_message = 10016;
+ optional NamedGroup extension_optional_named_group = 10017;
+ optional SiblingEnum extension_optional_sibling_enum = 10018;
+ optional SiblingMessage extension_optional_sibling_message = 10019;
+ optional group ExtensionOptionalGroup = 10020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool extension_defaulted_bool = 20000 [default = true];
+ optional int32 extension_defaulted_int32 = 20001 [default = -12345];
+ optional sint32 extension_defaulted_sint32 = 20002 [default = -3200];
+ optional uint32 extension_defaulted_uint32 = 20003 [default = 3200];
+ optional int64 extension_defaulted_int64 = 20004 [default = -123456789];
+ optional sint64 extension_defaulted_sint64 = 20005 [default = -6400];
+ optional uint64 extension_defaulted_uint64 = 20006 [default = 6400];
+ optional fixed32 extension_defaulted_fixed32 = 20007 [default = 320000];
+ optional sfixed32 extension_defaulted_sfixed32 = 20008 [default = -320000];
+ optional float extension_defaulted_float = 20009 [default = 3.14159];
+ optional fixed64 extension_defaulted_fixed64 = 20010 [default = 640000];
+ optional sfixed64 extension_defaulted_sfixed64 = 20011 [default = -640000];
+ optional double extension_defaulted_double = 20012 [default = 3.14159265359];
+ optional string extension_defaulted_string = 20013 [default = "hello, \"world!\"\n"];
+ optional bytes extension_defaulted_bytes = 20014 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum extension_defaulted_child_enum = 20015 [default = ALPHA];
+ optional SiblingEnum extension_defaulted_sibling_enum = 20016 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool extension_repeated_bool = 30000;
+ repeated int32 extension_repeated_int32 = 30001;
+ repeated sint32 extension_repeated_sint32 = 30002;
+ repeated uint32 extension_repeated_uint32 = 30003;
+ repeated int64 extension_repeated_int64 = 30004;
+ repeated sint64 extension_repeated_sint64 = 30005;
+ repeated uint64 extension_repeated_uint64 = 30006;
+ repeated fixed32 extension_repeated_fixed32 = 30007;
+ repeated sfixed32 extension_repeated_sfixed32 = 30008;
+ repeated float extension_repeated_float = 30009;
+ repeated fixed64 extension_repeated_fixed64 = 30010;
+ repeated sfixed64 extension_repeated_sfixed64 = 30011;
+ repeated double extension_repeated_double = 30012;
+ repeated string extension_repeated_string = 30013;
+ repeated bytes extension_repeated_bytes = 30014;
+
+ repeated ChildEnum extension_repeated_child_enum = 30015;
+ repeated ChildMessage extension_repeated_child_message = 30016;
+ repeated NamedGroup extension_repeated_named_group = 30017;
+ repeated SiblingEnum extension_repeated_sibling_enum = 30018;
+ repeated SiblingMessage extension_repeated_sibling_message = 30019;
+ repeated group ExtensionRepeatedGroup = 30020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ }
+
+ extensions 10000 to max;
+}
diff --git a/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.pb.go b/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.pb.go
new file mode 100644
index 0000000..c85a645
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.pb.go
@@ -0,0 +1,3901 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto2.v1.2.0-20180814-aa810b61/test.proto
+
+package proto2_v1_2_0_20180814_aa810b61 // import "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61"
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) Enum() *SiblingEnum {
+ p := new(SiblingEnum)
+ *p = x
+ return p
+}
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
+ if err != nil {
+ return err
+ }
+ *x = SiblingEnum(value)
+ return nil
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{0}
+}
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) Enum() *Message_ChildEnum {
+ p := new(Message_ChildEnum)
+ *p = x
+ return p
+}
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
+ value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
+ if err != nil {
+ return err
+ }
+ *x = Message_ChildEnum(value)
+ return nil
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 0}
+}
+
+type SiblingMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{0}
+}
+func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
+}
+func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
+}
+func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SiblingMessage.Merge(dst, src)
+}
+func (m *SiblingMessage) XXX_Size() int {
+ return xxx_messageInfo_SiblingMessage.Size(m)
+}
+func (m *SiblingMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message struct {
+ Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
+ // Optional fields.
+ OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
+ OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
+ OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
+ // Optional default fields.
+ DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
+ DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
+ DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
+ DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
+ DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
+ DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
+ DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
+ DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
+ DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
+ DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
+ DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
+ DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
+ DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
+ DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
+ DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
+ DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
+ DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
+ // Required fields.
+ RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
+ RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
+ RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
+ RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
+ RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
+ RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
+ RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
+ RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
+ RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
+ RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
+ RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
+ RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
+ RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
+ RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
+ RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
+ RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"required_child_enum,omitempty"`
+ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
+ RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
+ RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"required_sibling_enum,omitempty"`
+ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
+ Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
+ // Required default fields.
+ RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
+ RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
+ RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
+ RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
+ RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
+ RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
+ RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
+ RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
+ RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
+ RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
+ RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
+ RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
+ RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
+ RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
+ RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
+ RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
+ RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180814.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180814.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofNamedGroup
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_Oneofgroup
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ // Oneof default fields.
+ //
+ // Types that are valid to be assigned to OneofDefaultedUnion:
+ // *Message_OneofDefaultedBool
+ // *Message_OneofDefaultedInt32
+ // *Message_OneofDefaultedSint32
+ // *Message_OneofDefaultedUint32
+ // *Message_OneofDefaultedInt64
+ // *Message_OneofDefaultedSint64
+ // *Message_OneofDefaultedUint64
+ // *Message_OneofDefaultedFixed32
+ // *Message_OneofDefaultedSfixed32
+ // *Message_OneofDefaultedFloat
+ // *Message_OneofDefaultedFixed64
+ // *Message_OneofDefaultedSfixed64
+ // *Message_OneofDefaultedDouble
+ // *Message_OneofDefaultedString
+ // *Message_OneofDefaultedBytes
+ // *Message_OneofDefaultedChildEnum
+ // *Message_OneofDefaultedSiblingEnum
+ OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ proto.XXX_InternalExtensions `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1}
+}
+
+var extRange_Message = []proto.ExtensionRange{
+ {Start: 10000, End: 536870911},
+}
+
+func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
+ return extRange_Message
+}
+func (m *Message) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message.Unmarshal(m, b)
+}
+func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message.Marshal(b, m, deterministic)
+}
+func (dst *Message) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message.Merge(dst, src)
+}
+func (m *Message) XXX_Size() int {
+ return xxx_messageInfo_Message.Size(m)
+}
+func (m *Message) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message proto.InternalMessageInfo
+
+const Default_Message_DefaultedBool bool = true
+const Default_Message_DefaultedInt32 int32 = -12345
+const Default_Message_DefaultedSint32 int32 = -3200
+const Default_Message_DefaultedUint32 uint32 = 3200
+const Default_Message_DefaultedInt64 int64 = -123456789
+const Default_Message_DefaultedSint64 int64 = -6400
+const Default_Message_DefaultedUint64 uint64 = 6400
+const Default_Message_DefaultedFixed32 uint32 = 320000
+const Default_Message_DefaultedSfixed32 int32 = -320000
+const Default_Message_DefaultedFloat float32 = 3.14159
+const Default_Message_DefaultedFixed64 uint64 = 640000
+const Default_Message_DefaultedSfixed64 int64 = -640000
+const Default_Message_DefaultedDouble float64 = 3.14159265359
+const Default_Message_DefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_DefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_RequiredDefaultedBool bool = true
+const Default_Message_RequiredDefaultedInt32 int32 = -12345
+const Default_Message_RequiredDefaultedSint32 int32 = -3200
+const Default_Message_RequiredDefaultedUint32 uint32 = 3200
+const Default_Message_RequiredDefaultedInt64 int64 = -123456789
+const Default_Message_RequiredDefaultedSint64 int64 = -6400
+const Default_Message_RequiredDefaultedUint64 uint64 = 6400
+const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
+const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
+const Default_Message_RequiredDefaultedFloat float32 = 3.14159
+const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
+const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
+const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
+const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+const Default_Message_OneofDefaultedBool bool = true
+const Default_Message_OneofDefaultedInt32 int32 = -12345
+const Default_Message_OneofDefaultedSint32 int32 = -3200
+const Default_Message_OneofDefaultedUint32 uint32 = 3200
+const Default_Message_OneofDefaultedInt64 int64 = -123456789
+const Default_Message_OneofDefaultedSint64 int64 = -6400
+const Default_Message_OneofDefaultedUint64 uint64 = 6400
+const Default_Message_OneofDefaultedFixed32 uint32 = 320000
+const Default_Message_OneofDefaultedSfixed32 int32 = -320000
+const Default_Message_OneofDefaultedFloat float32 = 3.14159
+const Default_Message_OneofDefaultedFixed64 uint64 = 640000
+const Default_Message_OneofDefaultedSfixed64 int64 = -640000
+const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
+const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
+
+var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ\xbe\xefbeef")
+
+const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
+const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
+
+func (m *Message) GetNamedgroup() *Message_NamedGroup {
+ if m != nil {
+ return m.Namedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil && m.OptionalBool != nil {
+ return *m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil && m.OptionalInt32 != nil {
+ return *m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil && m.OptionalSint32 != nil {
+ return *m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil && m.OptionalUint32 != nil {
+ return *m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil && m.OptionalInt64 != nil {
+ return *m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil && m.OptionalSint64 != nil {
+ return *m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil && m.OptionalUint64 != nil {
+ return *m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil && m.OptionalFixed32 != nil {
+ return *m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil && m.OptionalSfixed32 != nil {
+ return *m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil && m.OptionalFloat != nil {
+ return *m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil && m.OptionalFixed64 != nil {
+ return *m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil && m.OptionalSfixed64 != nil {
+ return *m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil && m.OptionalDouble != nil {
+ return *m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil && m.OptionalString != nil {
+ return *m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil && m.OptionalChildEnum != nil {
+ return *m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.OptionalNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil && m.OptionalSiblingEnum != nil {
+ return *m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
+ if m != nil {
+ return m.Optionalgroup
+ }
+ return nil
+}
+
+func (m *Message) GetDefaultedBool() bool {
+ if m != nil && m.DefaultedBool != nil {
+ return *m.DefaultedBool
+ }
+ return Default_Message_DefaultedBool
+}
+
+func (m *Message) GetDefaultedInt32() int32 {
+ if m != nil && m.DefaultedInt32 != nil {
+ return *m.DefaultedInt32
+ }
+ return Default_Message_DefaultedInt32
+}
+
+func (m *Message) GetDefaultedSint32() int32 {
+ if m != nil && m.DefaultedSint32 != nil {
+ return *m.DefaultedSint32
+ }
+ return Default_Message_DefaultedSint32
+}
+
+func (m *Message) GetDefaultedUint32() uint32 {
+ if m != nil && m.DefaultedUint32 != nil {
+ return *m.DefaultedUint32
+ }
+ return Default_Message_DefaultedUint32
+}
+
+func (m *Message) GetDefaultedInt64() int64 {
+ if m != nil && m.DefaultedInt64 != nil {
+ return *m.DefaultedInt64
+ }
+ return Default_Message_DefaultedInt64
+}
+
+func (m *Message) GetDefaultedSint64() int64 {
+ if m != nil && m.DefaultedSint64 != nil {
+ return *m.DefaultedSint64
+ }
+ return Default_Message_DefaultedSint64
+}
+
+func (m *Message) GetDefaultedUint64() uint64 {
+ if m != nil && m.DefaultedUint64 != nil {
+ return *m.DefaultedUint64
+ }
+ return Default_Message_DefaultedUint64
+}
+
+func (m *Message) GetDefaultedFixed32() uint32 {
+ if m != nil && m.DefaultedFixed32 != nil {
+ return *m.DefaultedFixed32
+ }
+ return Default_Message_DefaultedFixed32
+}
+
+func (m *Message) GetDefaultedSfixed32() int32 {
+ if m != nil && m.DefaultedSfixed32 != nil {
+ return *m.DefaultedSfixed32
+ }
+ return Default_Message_DefaultedSfixed32
+}
+
+func (m *Message) GetDefaultedFloat() float32 {
+ if m != nil && m.DefaultedFloat != nil {
+ return *m.DefaultedFloat
+ }
+ return Default_Message_DefaultedFloat
+}
+
+func (m *Message) GetDefaultedFixed64() uint64 {
+ if m != nil && m.DefaultedFixed64 != nil {
+ return *m.DefaultedFixed64
+ }
+ return Default_Message_DefaultedFixed64
+}
+
+func (m *Message) GetDefaultedSfixed64() int64 {
+ if m != nil && m.DefaultedSfixed64 != nil {
+ return *m.DefaultedSfixed64
+ }
+ return Default_Message_DefaultedSfixed64
+}
+
+func (m *Message) GetDefaultedDouble() float64 {
+ if m != nil && m.DefaultedDouble != nil {
+ return *m.DefaultedDouble
+ }
+ return Default_Message_DefaultedDouble
+}
+
+func (m *Message) GetDefaultedString() string {
+ if m != nil && m.DefaultedString != nil {
+ return *m.DefaultedString
+ }
+ return Default_Message_DefaultedString
+}
+
+func (m *Message) GetDefaultedBytes() []byte {
+ if m != nil && m.DefaultedBytes != nil {
+ return m.DefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_DefaultedBytes...)
+}
+
+func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.DefaultedChildEnum != nil {
+ return *m.DefaultedChildEnum
+ }
+ return Default_Message_DefaultedChildEnum
+}
+
+func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.DefaultedSiblingEnum != nil {
+ return *m.DefaultedSiblingEnum
+ }
+ return Default_Message_DefaultedSiblingEnum
+}
+
+func (m *Message) GetRequiredBool() bool {
+ if m != nil && m.RequiredBool != nil {
+ return *m.RequiredBool
+ }
+ return false
+}
+
+func (m *Message) GetRequiredInt32() int32 {
+ if m != nil && m.RequiredInt32 != nil {
+ return *m.RequiredInt32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint32() int32 {
+ if m != nil && m.RequiredSint32 != nil {
+ return *m.RequiredSint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint32() uint32 {
+ if m != nil && m.RequiredUint32 != nil {
+ return *m.RequiredUint32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredInt64() int64 {
+ if m != nil && m.RequiredInt64 != nil {
+ return *m.RequiredInt64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSint64() int64 {
+ if m != nil && m.RequiredSint64 != nil {
+ return *m.RequiredSint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredUint64() uint64 {
+ if m != nil && m.RequiredUint64 != nil {
+ return *m.RequiredUint64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed32() uint32 {
+ if m != nil && m.RequiredFixed32 != nil {
+ return *m.RequiredFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed32() int32 {
+ if m != nil && m.RequiredSfixed32 != nil {
+ return *m.RequiredSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFloat() float32 {
+ if m != nil && m.RequiredFloat != nil {
+ return *m.RequiredFloat
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredFixed64() uint64 {
+ if m != nil && m.RequiredFixed64 != nil {
+ return *m.RequiredFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredSfixed64() int64 {
+ if m != nil && m.RequiredSfixed64 != nil {
+ return *m.RequiredSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredDouble() float64 {
+ if m != nil && m.RequiredDouble != nil {
+ return *m.RequiredDouble
+ }
+ return 0
+}
+
+func (m *Message) GetRequiredString() string {
+ if m != nil && m.RequiredString != nil {
+ return *m.RequiredString
+ }
+ return ""
+}
+
+func (m *Message) GetRequiredBytes() []byte {
+ if m != nil {
+ return m.RequiredBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredChildEnum != nil {
+ return *m.RequiredChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.RequiredChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
+ if m != nil {
+ return m.RequiredNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredSiblingEnum != nil {
+ return *m.RequiredSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.RequiredSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
+ if m != nil {
+ return m.Requiredgroup
+ }
+ return nil
+}
+
+func (m *Message) GetRequiredDefaultedBool() bool {
+ if m != nil && m.RequiredDefaultedBool != nil {
+ return *m.RequiredDefaultedBool
+ }
+ return Default_Message_RequiredDefaultedBool
+}
+
+func (m *Message) GetRequiredDefaultedInt32() int32 {
+ if m != nil && m.RequiredDefaultedInt32 != nil {
+ return *m.RequiredDefaultedInt32
+ }
+ return Default_Message_RequiredDefaultedInt32
+}
+
+func (m *Message) GetRequiredDefaultedSint32() int32 {
+ if m != nil && m.RequiredDefaultedSint32 != nil {
+ return *m.RequiredDefaultedSint32
+ }
+ return Default_Message_RequiredDefaultedSint32
+}
+
+func (m *Message) GetRequiredDefaultedUint32() uint32 {
+ if m != nil && m.RequiredDefaultedUint32 != nil {
+ return *m.RequiredDefaultedUint32
+ }
+ return Default_Message_RequiredDefaultedUint32
+}
+
+func (m *Message) GetRequiredDefaultedInt64() int64 {
+ if m != nil && m.RequiredDefaultedInt64 != nil {
+ return *m.RequiredDefaultedInt64
+ }
+ return Default_Message_RequiredDefaultedInt64
+}
+
+func (m *Message) GetRequiredDefaultedSint64() int64 {
+ if m != nil && m.RequiredDefaultedSint64 != nil {
+ return *m.RequiredDefaultedSint64
+ }
+ return Default_Message_RequiredDefaultedSint64
+}
+
+func (m *Message) GetRequiredDefaultedUint64() uint64 {
+ if m != nil && m.RequiredDefaultedUint64 != nil {
+ return *m.RequiredDefaultedUint64
+ }
+ return Default_Message_RequiredDefaultedUint64
+}
+
+func (m *Message) GetRequiredDefaultedFixed32() uint32 {
+ if m != nil && m.RequiredDefaultedFixed32 != nil {
+ return *m.RequiredDefaultedFixed32
+ }
+ return Default_Message_RequiredDefaultedFixed32
+}
+
+func (m *Message) GetRequiredDefaultedSfixed32() int32 {
+ if m != nil && m.RequiredDefaultedSfixed32 != nil {
+ return *m.RequiredDefaultedSfixed32
+ }
+ return Default_Message_RequiredDefaultedSfixed32
+}
+
+func (m *Message) GetRequiredDefaultedFloat() float32 {
+ if m != nil && m.RequiredDefaultedFloat != nil {
+ return *m.RequiredDefaultedFloat
+ }
+ return Default_Message_RequiredDefaultedFloat
+}
+
+func (m *Message) GetRequiredDefaultedFixed64() uint64 {
+ if m != nil && m.RequiredDefaultedFixed64 != nil {
+ return *m.RequiredDefaultedFixed64
+ }
+ return Default_Message_RequiredDefaultedFixed64
+}
+
+func (m *Message) GetRequiredDefaultedSfixed64() int64 {
+ if m != nil && m.RequiredDefaultedSfixed64 != nil {
+ return *m.RequiredDefaultedSfixed64
+ }
+ return Default_Message_RequiredDefaultedSfixed64
+}
+
+func (m *Message) GetRequiredDefaultedDouble() float64 {
+ if m != nil && m.RequiredDefaultedDouble != nil {
+ return *m.RequiredDefaultedDouble
+ }
+ return Default_Message_RequiredDefaultedDouble
+}
+
+func (m *Message) GetRequiredDefaultedString() string {
+ if m != nil && m.RequiredDefaultedString != nil {
+ return *m.RequiredDefaultedString
+ }
+ return Default_Message_RequiredDefaultedString
+}
+
+func (m *Message) GetRequiredDefaultedBytes() []byte {
+ if m != nil && m.RequiredDefaultedBytes != nil {
+ return m.RequiredDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
+}
+
+func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
+ if m != nil && m.RequiredDefaultedChildEnum != nil {
+ return *m.RequiredDefaultedChildEnum
+ }
+ return Default_Message_RequiredDefaultedChildEnum
+}
+
+func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
+ if m != nil && m.RequiredDefaultedSiblingEnum != nil {
+ return *m.RequiredDefaultedSiblingEnum
+ }
+ return Default_Message_RequiredDefaultedSiblingEnum
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
+ if m != nil {
+ return m.RepeatedNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
+ if m != nil {
+ return m.Repeatedgroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
+ if m != nil {
+ return m.MapBoolNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+type isMessage_OneofUnion interface {
+ isMessage_OneofUnion()
+}
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
+}
+
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
+}
+
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,oneof"`
+}
+
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+
+type Message_OneofNamedGroup struct {
+ OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
+}
+
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,oneof"`
+}
+
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+
+type Message_Oneofgroup struct {
+ Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
+}
+
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+
+func (*Message_OneofString) isMessage_OneofUnion() {}
+
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+
+func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
+
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+
+func (*Message_Oneofgroup) isMessage_OneofUnion() {}
+
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
+ if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
+ return x.OneofNamedGroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofgroup() *Message_OneofGroup {
+ if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
+ return x.Oneofgroup
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+type isMessage_OneofDefaultedUnion interface {
+ isMessage_OneofDefaultedUnion()
+}
+
+type Message_OneofDefaultedBool struct {
+ OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
+}
+
+type Message_OneofDefaultedInt32 struct {
+ OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
+}
+
+type Message_OneofDefaultedSint32 struct {
+ OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
+}
+
+type Message_OneofDefaultedUint32 struct {
+ OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
+}
+
+type Message_OneofDefaultedInt64 struct {
+ OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
+}
+
+type Message_OneofDefaultedSint64 struct {
+ OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
+}
+
+type Message_OneofDefaultedUint64 struct {
+ OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
+}
+
+type Message_OneofDefaultedFixed32 struct {
+ OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
+}
+
+type Message_OneofDefaultedSfixed32 struct {
+ OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
+}
+
+type Message_OneofDefaultedFloat struct {
+ OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
+}
+
+type Message_OneofDefaultedFixed64 struct {
+ OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
+}
+
+type Message_OneofDefaultedSfixed64 struct {
+ OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
+}
+
+type Message_OneofDefaultedDouble struct {
+ OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
+}
+
+type Message_OneofDefaultedString struct {
+ OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
+}
+
+type Message_OneofDefaultedBytes struct {
+ OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
+}
+
+type Message_OneofDefaultedChildEnum struct {
+ OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,oneof,def=0"`
+}
+
+type Message_OneofDefaultedSiblingEnum struct {
+ OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,oneof,def=0"`
+}
+
+func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
+
+func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
+
+func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
+ if m != nil {
+ return m.OneofDefaultedUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOneofDefaultedBool() bool {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
+ return x.OneofDefaultedBool
+ }
+ return Default_Message_OneofDefaultedBool
+}
+
+func (m *Message) GetOneofDefaultedInt32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
+ return x.OneofDefaultedInt32
+ }
+ return Default_Message_OneofDefaultedInt32
+}
+
+func (m *Message) GetOneofDefaultedSint32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
+ return x.OneofDefaultedSint32
+ }
+ return Default_Message_OneofDefaultedSint32
+}
+
+func (m *Message) GetOneofDefaultedUint32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
+ return x.OneofDefaultedUint32
+ }
+ return Default_Message_OneofDefaultedUint32
+}
+
+func (m *Message) GetOneofDefaultedInt64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
+ return x.OneofDefaultedInt64
+ }
+ return Default_Message_OneofDefaultedInt64
+}
+
+func (m *Message) GetOneofDefaultedSint64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
+ return x.OneofDefaultedSint64
+ }
+ return Default_Message_OneofDefaultedSint64
+}
+
+func (m *Message) GetOneofDefaultedUint64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
+ return x.OneofDefaultedUint64
+ }
+ return Default_Message_OneofDefaultedUint64
+}
+
+func (m *Message) GetOneofDefaultedFixed32() uint32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
+ return x.OneofDefaultedFixed32
+ }
+ return Default_Message_OneofDefaultedFixed32
+}
+
+func (m *Message) GetOneofDefaultedSfixed32() int32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
+ return x.OneofDefaultedSfixed32
+ }
+ return Default_Message_OneofDefaultedSfixed32
+}
+
+func (m *Message) GetOneofDefaultedFloat() float32 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
+ return x.OneofDefaultedFloat
+ }
+ return Default_Message_OneofDefaultedFloat
+}
+
+func (m *Message) GetOneofDefaultedFixed64() uint64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
+ return x.OneofDefaultedFixed64
+ }
+ return Default_Message_OneofDefaultedFixed64
+}
+
+func (m *Message) GetOneofDefaultedSfixed64() int64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
+ return x.OneofDefaultedSfixed64
+ }
+ return Default_Message_OneofDefaultedSfixed64
+}
+
+func (m *Message) GetOneofDefaultedDouble() float64 {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
+ return x.OneofDefaultedDouble
+ }
+ return Default_Message_OneofDefaultedDouble
+}
+
+func (m *Message) GetOneofDefaultedString() string {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
+ return x.OneofDefaultedString
+ }
+ return Default_Message_OneofDefaultedString
+}
+
+func (m *Message) GetOneofDefaultedBytes() []byte {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
+ return x.OneofDefaultedBytes
+ }
+ return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
+}
+
+func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
+ return x.OneofDefaultedChildEnum
+ }
+ return Default_Message_OneofDefaultedChildEnum
+}
+
+func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
+ return x.OneofDefaultedSiblingEnum
+ }
+ return Default_Message_OneofDefaultedSiblingEnum
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofNamedGroup)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_Oneofgroup)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ (*Message_OneofDefaultedBool)(nil),
+ (*Message_OneofDefaultedInt32)(nil),
+ (*Message_OneofDefaultedSint32)(nil),
+ (*Message_OneofDefaultedUint32)(nil),
+ (*Message_OneofDefaultedInt64)(nil),
+ (*Message_OneofDefaultedSint64)(nil),
+ (*Message_OneofDefaultedUint64)(nil),
+ (*Message_OneofDefaultedFixed32)(nil),
+ (*Message_OneofDefaultedSfixed32)(nil),
+ (*Message_OneofDefaultedFloat)(nil),
+ (*Message_OneofDefaultedFixed64)(nil),
+ (*Message_OneofDefaultedSfixed64)(nil),
+ (*Message_OneofDefaultedDouble)(nil),
+ (*Message_OneofDefaultedString)(nil),
+ (*Message_OneofDefaultedBytes)(nil),
+ (*Message_OneofDefaultedChildEnum)(nil),
+ (*Message_OneofDefaultedSiblingEnum)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(700<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(701<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(702<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(703<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(704<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(705<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(706<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(707<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(708<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(709<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(710<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(711<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(712<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(713<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(714<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(715<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(716<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofNamedGroup:
+ b.EncodeVarint(717<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(718<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(719<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_Oneofgroup:
+ b.EncodeVarint(720<<3 | proto.WireStartGroup)
+ if err := b.Marshal(x.Oneofgroup); err != nil {
+ return err
+ }
+ b.EncodeVarint(720<<3 | proto.WireEndGroup)
+ case *Message_OneofString1:
+ b.EncodeVarint(721<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(722<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(723<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ t := uint64(0)
+ if x.OneofDefaultedBool {
+ t = 1
+ }
+ b.EncodeVarint(800<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofDefaultedInt32:
+ b.EncodeVarint(801<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ b.EncodeVarint(802<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
+ case *Message_OneofDefaultedUint32:
+ b.EncodeVarint(803<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ b.EncodeVarint(804<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ b.EncodeVarint(805<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
+ case *Message_OneofDefaultedUint64:
+ b.EncodeVarint(806<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ b.EncodeVarint(807<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
+ case *Message_OneofDefaultedSfixed32:
+ b.EncodeVarint(808<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
+ case *Message_OneofDefaultedFloat:
+ b.EncodeVarint(809<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
+ case *Message_OneofDefaultedFixed64:
+ b.EncodeVarint(810<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
+ case *Message_OneofDefaultedSfixed64:
+ b.EncodeVarint(811<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
+ case *Message_OneofDefaultedDouble:
+ b.EncodeVarint(812<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
+ case *Message_OneofDefaultedString:
+ b.EncodeVarint(813<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ b.EncodeVarint(814<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ b.EncodeVarint(815<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ b.EncodeVarint(816<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 700: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 701: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 702: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 703: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 704: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 705: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 706: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 707: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 708: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 709: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 710: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 711: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 712: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 713: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 714: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 715: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 716: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 717: // oneof_union.oneof_named_group
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_NamedGroup)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofNamedGroup{msg}
+ return true, err
+ case 718: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 719: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 720: // oneof_union.oneofgroup
+ if wire != proto.WireStartGroup {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_OneofGroup)
+ err := b.DecodeGroup(msg)
+ m.OneofUnion = &Message_Oneofgroup{msg}
+ return true, err
+ case 721: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 722: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 723: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ case 800: // oneof_defaulted_union.oneof_defaulted_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
+ return true, err
+ case 801: // oneof_defaulted_union.oneof_defaulted_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
+ return true, err
+ case 802: // oneof_defaulted_union.oneof_defaulted_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
+ return true, err
+ case 803: // oneof_defaulted_union.oneof_defaulted_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
+ return true, err
+ case 804: // oneof_defaulted_union.oneof_defaulted_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
+ return true, err
+ case 805: // oneof_defaulted_union.oneof_defaulted_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
+ return true, err
+ case 806: // oneof_defaulted_union.oneof_defaulted_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
+ return true, err
+ case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
+ return true, err
+ case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
+ return true, err
+ case 809: // oneof_defaulted_union.oneof_defaulted_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
+ return true, err
+ case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
+ return true, err
+ case 812: // oneof_defaulted_union.oneof_defaulted_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
+ return true, err
+ case 813: // oneof_defaulted_union.oneof_defaulted_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
+ return true, err
+ case 814: // oneof_defaulted_union.oneof_defaulted_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
+ return true, err
+ case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofNamedGroup:
+ s := proto.Size(x.OneofNamedGroup)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_Oneofgroup:
+ n += 2 // tag and wire
+ n += proto.Size(x.Oneofgroup)
+ n += 2 // tag and wire
+ case *Message_OneofString1:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ // oneof_defaulted_union
+ switch x := m.OneofDefaultedUnion.(type) {
+ case *Message_OneofDefaultedBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofDefaultedInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
+ case *Message_OneofDefaultedSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
+ case *Message_OneofDefaultedUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
+ case *Message_OneofDefaultedInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
+ case *Message_OneofDefaultedSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
+ case *Message_OneofDefaultedUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
+ case *Message_OneofDefaultedFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofDefaultedFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDefaultedString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
+ n += len(x.OneofDefaultedString)
+ case *Message_OneofDefaultedBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
+ n += len(x.OneofDefaultedBytes)
+ case *Message_OneofDefaultedChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
+ case *Message_OneofDefaultedSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 10000,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_bool",
+ Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10001,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_int32",
+ Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10002,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sint32",
+ Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10003,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_uint32",
+ Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10004,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_int64",
+ Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10005,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sint64",
+ Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10006,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_uint64",
+ Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 10007,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_fixed32",
+ Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 10008,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sfixed32",
+ Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 10009,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_float",
+ Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 10010,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_fixed64",
+ Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 10011,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sfixed64",
+ Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 10012,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_double",
+ Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 10013,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_string",
+ Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 10014,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_bytes",
+ Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 10015,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_child_enum",
+ Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildMessage)(nil),
+ Field: 10016,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_child_message",
+ Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_NamedGroup)(nil),
+ Field: 10017,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_named_group",
+ Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 10018,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sibling_enum",
+ Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingMessage)(nil),
+ Field: 10019,
+ Name: "google.golang.org.proto2_20180814.Message.extension_optional_sibling_message",
+ Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
+ Field: 10020,
+ Name: "google.golang.org.proto2_20180814.Message.extensionoptionalgroup",
+ Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*bool)(nil),
+ Field: 20000,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_bool",
+ Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20001,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_int32",
+ Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20002,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sint32",
+ Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20003,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_uint32",
+ Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20004,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_int64",
+ Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20005,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sint64",
+ Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20006,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_uint64",
+ Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint32)(nil),
+ Field: 20007,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_fixed32",
+ Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int32)(nil),
+ Field: 20008,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sfixed32",
+ Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float32)(nil),
+ Field: 20009,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_float",
+ Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*uint64)(nil),
+ Field: 20010,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_fixed64",
+ Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*int64)(nil),
+ Field: 20011,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sfixed64",
+ Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*float64)(nil),
+ Field: 20012,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_double",
+ Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*string)(nil),
+ Field: 20013,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_string",
+ Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]byte)(nil),
+ Field: 20014,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_bytes",
+ Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*Message_ChildEnum)(nil),
+ Field: 20015,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_child_enum",
+ Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: (*SiblingEnum)(nil),
+ Field: 20016,
+ Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sibling_enum",
+ Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]bool)(nil),
+ Field: 30000,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_bool",
+ Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30001,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_int32",
+ Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30002,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sint32",
+ Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30003,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_uint32",
+ Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30004,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_int64",
+ Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30005,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sint64",
+ Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30006,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_uint64",
+ Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint32)(nil),
+ Field: 30007,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_fixed32",
+ Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int32)(nil),
+ Field: 30008,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sfixed32",
+ Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float32)(nil),
+ Field: 30009,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_float",
+ Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]uint64)(nil),
+ Field: 30010,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_fixed64",
+ Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]int64)(nil),
+ Field: 30011,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sfixed64",
+ Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]float64)(nil),
+ Field: 30012,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_double",
+ Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]string)(nil),
+ Field: 30013,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_string",
+ Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([][]byte)(nil),
+ Field: 30014,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_bytes",
+ Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]Message_ChildEnum)(nil),
+ Field: 30015,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_child_enum",
+ Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ChildMessage)(nil),
+ Field: 30016,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_child_message",
+ Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_NamedGroup)(nil),
+ Field: 30017,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_named_group",
+ Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]SiblingEnum)(nil),
+ Field: 30018,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sibling_enum",
+ Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*SiblingMessage)(nil),
+ Field: 30019,
+ Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sibling_message",
+ Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
+ ExtendedType: (*Message)(nil),
+ ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
+ Field: 30020,
+ Name: "google.golang.org.proto2_20180814.Message.extensionrepeatedgroup",
+ Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
+ Filename: "proto2.v1.2.0-20180814-aa810b61/test.proto",
+}
+
+type Message_ChildMessage struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 0}
+}
+func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
+}
+func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
+}
+func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
+}
+func (m *Message_ChildMessage) XXX_Size() int {
+ return xxx_messageInfo_Message_ChildMessage.Size(m)
+}
+func (m *Message_ChildMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_NamedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
+func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_NamedGroup) ProtoMessage() {}
+func (*Message_NamedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 1}
+}
+func (m *Message_NamedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_NamedGroup.Unmarshal(m, b)
+}
+func (m *Message_NamedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_NamedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_NamedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_NamedGroup.Merge(dst, src)
+}
+func (m *Message_NamedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_NamedGroup.Size(m)
+}
+func (m *Message_NamedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_NamedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_NamedGroup proto.InternalMessageInfo
+
+func (m *Message_NamedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_NamedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func (m *Message_NamedGroup) GetF4() *Message {
+ if m != nil {
+ return m.F4
+ }
+ return nil
+}
+
+type Message_OptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
+func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OptionalGroup) ProtoMessage() {}
+func (*Message_OptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 2}
+}
+func (m *Message_OptionalGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_OptionalGroup.Unmarshal(m, b)
+}
+func (m *Message_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_OptionalGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_OptionalGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_OptionalGroup.Merge(dst, src)
+}
+func (m *Message_OptionalGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_OptionalGroup.Size(m)
+}
+func (m *Message_OptionalGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_OptionalGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_OptionalGroup proto.InternalMessageInfo
+
+func (m *Message_OptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RequiredGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
+func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RequiredGroup) ProtoMessage() {}
+func (*Message_RequiredGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 3}
+}
+func (m *Message_RequiredGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_RequiredGroup.Unmarshal(m, b)
+}
+func (m *Message_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_RequiredGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_RequiredGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_RequiredGroup.Merge(dst, src)
+}
+func (m *Message_RequiredGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_RequiredGroup.Size(m)
+}
+func (m *Message_RequiredGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_RequiredGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_RequiredGroup proto.InternalMessageInfo
+
+func (m *Message_RequiredGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RequiredGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_RepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
+func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_RepeatedGroup) ProtoMessage() {}
+func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 4}
+}
+func (m *Message_RepeatedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_RepeatedGroup.Unmarshal(m, b)
+}
+func (m *Message_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_RepeatedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_RepeatedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_RepeatedGroup.Merge(dst, src)
+}
+func (m *Message_RepeatedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_RepeatedGroup.Size(m)
+}
+func (m *Message_RepeatedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_RepeatedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_RepeatedGroup proto.InternalMessageInfo
+
+func (m *Message_RepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_RepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_OneofGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
+func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_OneofGroup) ProtoMessage() {}
+func (*Message_OneofGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 33}
+}
+func (m *Message_OneofGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_OneofGroup.Unmarshal(m, b)
+}
+func (m *Message_OneofGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_OneofGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_OneofGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_OneofGroup.Merge(dst, src)
+}
+func (m *Message_OneofGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_OneofGroup.Size(m)
+}
+func (m *Message_OneofGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_OneofGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_OneofGroup proto.InternalMessageInfo
+
+func (m *Message_OneofGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_OneofGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionOptionalGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
+func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
+func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 34}
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Unmarshal(m, b)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_ExtensionOptionalGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ExtensionOptionalGroup.Merge(dst, src)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_ExtensionOptionalGroup.Size(m)
+}
+func (m *Message_ExtensionOptionalGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ExtensionOptionalGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ExtensionOptionalGroup proto.InternalMessageInfo
+
+func (m *Message_ExtensionOptionalGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionOptionalGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message_ExtensionRepeatedGroup struct {
+ F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
+ F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
+func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
+func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
+func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_3cbbf8564163e8c6, []int{1, 35}
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Unmarshal(m, b)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Marshal(b, m, deterministic)
+}
+func (dst *Message_ExtensionRepeatedGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ExtensionRepeatedGroup.Merge(dst, src)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_Size() int {
+ return xxx_messageInfo_Message_ExtensionRepeatedGroup.Size(m)
+}
+func (m *Message_ExtensionRepeatedGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ExtensionRepeatedGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ExtensionRepeatedGroup proto.InternalMessageInfo
+
+func (m *Message_ExtensionRepeatedGroup) GetF1() string {
+ if m != nil && m.F1 != nil {
+ return *m.F1
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF2() string {
+ if m != nil && m.F2 != nil {
+ return *m.F2
+ }
+ return ""
+}
+
+func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180814.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180814.Message")
+ proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto2_20180814.Message.MapBoolBoolEntry")
+ proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto2_20180814.Message.MapBoolBytesEntry")
+ proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto2_20180814.Message.MapBoolChildEnumEntry")
+ proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto2_20180814.Message.MapBoolChildMessageEntry")
+ proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolDoubleEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFixed32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFixed64Entry")
+ proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFloatEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolInt32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolInt64Entry")
+ proto.RegisterMapType((map[bool]*Message_NamedGroup)(nil), "google.golang.org.proto2_20180814.Message.MapBoolNamedGroupEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSfixed32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSfixed64Entry")
+ proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSiblingEnumEntry")
+ proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSiblingMessageEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSint32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSint64Entry")
+ proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto2_20180814.Message.MapBoolStringEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolUint32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolUint64Entry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapFixed32BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapInt32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapInt64BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapSint32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapSint64BoolEntry")
+ proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto2_20180814.Message.MapStringBoolEntry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapUint32BoolEntry")
+ proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapUint64BoolEntry")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180814.Message.ChildMessage")
+ proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180814.Message.NamedGroup")
+ proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180814.Message.OptionalGroup")
+ proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180814.Message.RequiredGroup")
+ proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180814.Message.RepeatedGroup")
+ proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180814.Message.OneofGroup")
+ proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180814.Message.ExtensionOptionalGroup")
+ proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180814.Message.ExtensionRepeatedGroup")
+ proto.RegisterEnum("google.golang.org.proto2_20180814.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto2_20180814.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBool)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
+ proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
+ proto.RegisterExtension(E_Message_ExtensionOptionalString)
+ proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionoptionalgroup)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedString)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedString)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
+ proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
+ proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
+}
+
+func init() {
+ proto.RegisterFile("proto2.v1.2.0-20180814-aa810b61/test.proto", fileDescriptor_test_3cbbf8564163e8c6)
+}
+
+var fileDescriptor_test_3cbbf8564163e8c6 = []byte{
+ // 4492 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x1c, 0xc7,
+ 0x75, 0xc6, 0x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 0x1f,
+ 0x00, 0x00, 0xff, 0xff, 0x79, 0xa2, 0xfb, 0xa1, 0x3e, 0x57, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.proto b/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.proto
new file mode 100644
index 0000000..2bfc4ca
--- /dev/null
+++ b/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61/test.proto
@@ -0,0 +1,333 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package google.golang.org.proto2_20180814;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto2.v1.2.0-20180814-aa810b61";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+ optional group NamedGroup = 1 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ optional Message f4 = 4;
+ }
+
+ // Optional fields.
+ optional bool optional_bool = 100;
+ optional int32 optional_int32 = 101;
+ optional sint32 optional_sint32 = 102;
+ optional uint32 optional_uint32 = 103;
+ optional int64 optional_int64 = 104;
+ optional sint64 optional_sint64 = 105;
+ optional uint64 optional_uint64 = 106;
+ optional fixed32 optional_fixed32 = 107;
+ optional sfixed32 optional_sfixed32 = 108;
+ optional float optional_float = 109;
+ optional fixed64 optional_fixed64 = 110;
+ optional sfixed64 optional_sfixed64 = 111;
+ optional double optional_double = 112;
+ optional string optional_string = 113;
+ optional bytes optional_bytes = 114;
+
+ optional ChildEnum optional_child_enum = 115;
+ optional ChildMessage optional_child_message = 116;
+ optional NamedGroup optional_named_group = 117;
+ optional SiblingEnum optional_sibling_enum = 118;
+ optional SiblingMessage optional_sibling_message = 119;
+ optional group OptionalGroup = 120 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool defaulted_bool = 200 [default = true];
+ optional int32 defaulted_int32 = 201 [default = -12345];
+ optional sint32 defaulted_sint32 = 202 [default = -3200];
+ optional uint32 defaulted_uint32 = 203 [default = 3200];
+ optional int64 defaulted_int64 = 204 [default = -123456789];
+ optional sint64 defaulted_sint64 = 205 [default = -6400];
+ optional uint64 defaulted_uint64 = 206 [default = 6400];
+ optional fixed32 defaulted_fixed32 = 207 [default = 320000];
+ optional sfixed32 defaulted_sfixed32 = 208 [default = -320000];
+ optional float defaulted_float = 209 [default = 3.14159];
+ optional fixed64 defaulted_fixed64 = 210 [default = 640000];
+ optional sfixed64 defaulted_sfixed64 = 211 [default = -640000];
+ optional double defaulted_double = 212 [default = 3.14159265359];
+ optional string defaulted_string = 213 [default = "hello, \"world!\"\n"];
+ optional bytes defaulted_bytes = 214 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum defaulted_child_enum = 215 [default = ALPHA];
+ optional SiblingEnum defaulted_sibling_enum = 216 [default = ALPHA];
+
+ // Required fields.
+ required bool required_bool = 300;
+ required int32 required_int32 = 301;
+ required sint32 required_sint32 = 302;
+ required uint32 required_uint32 = 303;
+ required int64 required_int64 = 304;
+ required sint64 required_sint64 = 305;
+ required uint64 required_uint64 = 306;
+ required fixed32 required_fixed32 = 307;
+ required sfixed32 required_sfixed32 = 308;
+ required float required_float = 309;
+ required fixed64 required_fixed64 = 310;
+ required sfixed64 required_sfixed64 = 311;
+ required double required_double = 312;
+ required string required_string = 313;
+ required bytes required_bytes = 314;
+
+ required ChildEnum required_child_enum = 315;
+ required ChildMessage required_child_message = 316;
+ required NamedGroup required_named_group = 317;
+ required SiblingEnum required_sibling_enum = 318;
+ required SiblingMessage required_sibling_message = 319;
+ required group RequiredGroup = 320 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ // Required default fields.
+ required bool required_defaulted_bool = 400 [default = true];
+ required int32 required_defaulted_int32 = 401 [default = -12345];
+ required sint32 required_defaulted_sint32 = 402 [default = -3200];
+ required uint32 required_defaulted_uint32 = 403 [default = 3200];
+ required int64 required_defaulted_int64 = 404 [default = -123456789];
+ required sint64 required_defaulted_sint64 = 405 [default = -6400];
+ required uint64 required_defaulted_uint64 = 406 [default = 6400];
+ required fixed32 required_defaulted_fixed32 = 407 [default = 320000];
+ required sfixed32 required_defaulted_sfixed32 = 408 [default = -320000];
+ required float required_defaulted_float = 409 [default = 3.14159];
+ required fixed64 required_defaulted_fixed64 = 410 [default = 640000];
+ required sfixed64 required_defaulted_sfixed64 = 411 [default = -640000];
+ required double required_defaulted_double = 412 [default = 3.14159265359];
+ required string required_defaulted_string = 413 [default = "hello, \"world!\"\n"];
+ required bytes required_defaulted_bytes = 414 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ required ChildEnum required_defaulted_child_enum = 415 [default = ALPHA];
+ required SiblingEnum required_defaulted_sibling_enum = 416 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool repeated_bool = 500;
+ repeated int32 repeated_int32 = 501;
+ repeated sint32 repeated_sint32 = 502;
+ repeated uint32 repeated_uint32 = 503;
+ repeated int64 repeated_int64 = 504;
+ repeated sint64 repeated_sint64 = 505;
+ repeated uint64 repeated_uint64 = 506;
+ repeated fixed32 repeated_fixed32 = 507;
+ repeated sfixed32 repeated_sfixed32 = 508;
+ repeated float repeated_float = 509;
+ repeated fixed64 repeated_fixed64 = 510;
+ repeated sfixed64 repeated_sfixed64 = 511;
+ repeated double repeated_double = 512;
+ repeated string repeated_string = 513;
+ repeated bytes repeated_bytes = 514;
+
+ repeated ChildEnum repeated_child_enum = 515;
+ repeated ChildMessage repeated_child_message = 516;
+ repeated NamedGroup repeated_named_group = 517;
+ repeated SiblingEnum repeated_sibling_enum = 518;
+ repeated SiblingMessage repeated_sibling_message = 519;
+ repeated group RepeatedGroup = 520 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 600;
+ map<bool, int32> map_bool_int32 = 601;
+ map<bool, sint32> map_bool_sint32 = 602;
+ map<bool, uint32> map_bool_uint32 = 603;
+ map<bool, int64> map_bool_int64 = 604;
+ map<bool, sint64> map_bool_sint64 = 605;
+ map<bool, uint64> map_bool_uint64 = 606;
+ map<bool, fixed32> map_bool_fixed32 = 607;
+ map<bool, sfixed32> map_bool_sfixed32 = 608;
+ map<bool, float> map_bool_float = 609;
+ map<bool, fixed64> map_bool_fixed64 = 610;
+ map<bool, sfixed64> map_bool_sfixed64 = 611;
+ map<bool, double> map_bool_double = 612;
+ map<bool, string> map_bool_string = 613;
+ map<bool, bytes> map_bool_bytes = 614;
+
+ map<bool, ChildEnum> map_bool_child_enum = 615;
+ map<bool, ChildMessage> map_bool_child_message = 616;
+ map<bool, NamedGroup> map_bool_named_group = 617;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 618;
+ map<bool, SiblingMessage> map_bool_sibling_message = 619;
+
+ map<int32, bool> map_int32_bool = 620;
+ map<sint32, bool> map_sint32_bool = 621;
+ map<uint32, bool> map_uint32_bool = 622;
+ map<int64, bool> map_int64_bool = 623;
+ map<sint64, bool> map_sint64_bool = 624;
+ map<uint64, bool> map_uint64_bool = 625;
+ map<fixed32, bool> map_fixed32_bool = 626;
+ map<string, bool> map_string_bool = 627;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 700;
+ int32 oneof_int32 = 701;
+ sint32 oneof_sint32 = 702;
+ uint32 oneof_uint32 = 703;
+ int64 oneof_int64 = 704;
+ sint64 oneof_sint64 = 705;
+ uint64 oneof_uint64 = 706;
+ fixed32 oneof_fixed32 = 707;
+ sfixed32 oneof_sfixed32 = 708;
+ float oneof_float = 709;
+ fixed64 oneof_fixed64 = 710;
+ sfixed64 oneof_sfixed64 = 711;
+ double oneof_double = 712;
+ string oneof_string = 713;
+ bytes oneof_bytes = 714;
+
+ ChildEnum oneof_child_enum = 715;
+ ChildMessage oneof_child_message = 716;
+ NamedGroup oneof_named_group = 717;
+ SiblingEnum oneof_sibling_enum = 718;
+ SiblingMessage oneof_sibling_message = 719;
+ group OneofGroup = 720 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ string oneof_string1 = 721;
+ string oneof_string2 = 722;
+ string oneof_string3 = 723;
+ }
+
+ // Oneof default fields.
+ oneof oneof_defaulted_union {
+ bool oneof_defaulted_bool = 800 [default = true];
+ int32 oneof_defaulted_int32 = 801 [default = -12345];
+ sint32 oneof_defaulted_sint32 = 802 [default = -3200];
+ uint32 oneof_defaulted_uint32 = 803 [default = 3200];
+ int64 oneof_defaulted_int64 = 804 [default = -123456789];
+ sint64 oneof_defaulted_sint64 = 805 [default = -6400];
+ uint64 oneof_defaulted_uint64 = 806 [default = 6400];
+ fixed32 oneof_defaulted_fixed32 = 807 [default = 320000];
+ sfixed32 oneof_defaulted_sfixed32 = 808 [default = -320000];
+ float oneof_defaulted_float = 809 [default = 3.14159];
+ fixed64 oneof_defaulted_fixed64 = 810 [default = 640000];
+ sfixed64 oneof_defaulted_sfixed64 = 811 [default = -640000];
+ double oneof_defaulted_double = 812 [default = 3.14159265359];
+ string oneof_defaulted_string = 813 [default = "hello, \"world!\"\n"];
+ bytes oneof_defaulted_bytes = 814 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ ChildEnum oneof_defaulted_child_enum = 815 [default = ALPHA];
+ SiblingEnum oneof_defaulted_sibling_enum = 816 [default = ALPHA];
+ }
+
+ // Extension fields.
+ extend Message {
+ // Optional fields.
+ optional bool extension_optional_bool = 10000;
+ optional int32 extension_optional_int32 = 10001;
+ optional sint32 extension_optional_sint32 = 10002;
+ optional uint32 extension_optional_uint32 = 10003;
+ optional int64 extension_optional_int64 = 10004;
+ optional sint64 extension_optional_sint64 = 10005;
+ optional uint64 extension_optional_uint64 = 10006;
+ optional fixed32 extension_optional_fixed32 = 10007;
+ optional sfixed32 extension_optional_sfixed32 = 10008;
+ optional float extension_optional_float = 10009;
+ optional fixed64 extension_optional_fixed64 = 10010;
+ optional sfixed64 extension_optional_sfixed64 = 10011;
+ optional double extension_optional_double = 10012;
+ optional string extension_optional_string = 10013;
+ optional bytes extension_optional_bytes = 10014;
+
+ optional ChildEnum extension_optional_child_enum = 10015;
+ optional ChildMessage extension_optional_child_message = 10016;
+ optional NamedGroup extension_optional_named_group = 10017;
+ optional SiblingEnum extension_optional_sibling_enum = 10018;
+ optional SiblingMessage extension_optional_sibling_message = 10019;
+ optional group ExtensionOptionalGroup = 10020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+
+ // Optional default fields.
+ optional bool extension_defaulted_bool = 20000 [default = true];
+ optional int32 extension_defaulted_int32 = 20001 [default = -12345];
+ optional sint32 extension_defaulted_sint32 = 20002 [default = -3200];
+ optional uint32 extension_defaulted_uint32 = 20003 [default = 3200];
+ optional int64 extension_defaulted_int64 = 20004 [default = -123456789];
+ optional sint64 extension_defaulted_sint64 = 20005 [default = -6400];
+ optional uint64 extension_defaulted_uint64 = 20006 [default = 6400];
+ optional fixed32 extension_defaulted_fixed32 = 20007 [default = 320000];
+ optional sfixed32 extension_defaulted_sfixed32 = 20008 [default = -320000];
+ optional float extension_defaulted_float = 20009 [default = 3.14159];
+ optional fixed64 extension_defaulted_fixed64 = 20010 [default = 640000];
+ optional sfixed64 extension_defaulted_sfixed64 = 20011 [default = -640000];
+ optional double extension_defaulted_double = 20012 [default = 3.14159265359];
+ optional string extension_defaulted_string = 20013 [default = "hello, \"world!\"\n"];
+ optional bytes extension_defaulted_bytes = 20014 [default = "dead\xde\xad\xbe\xefbeef"];
+
+ optional ChildEnum extension_defaulted_child_enum = 20015 [default = ALPHA];
+ optional SiblingEnum extension_defaulted_sibling_enum = 20016 [default = ALPHA];
+
+ // Repeated fields.
+ repeated bool extension_repeated_bool = 30000;
+ repeated int32 extension_repeated_int32 = 30001;
+ repeated sint32 extension_repeated_sint32 = 30002;
+ repeated uint32 extension_repeated_uint32 = 30003;
+ repeated int64 extension_repeated_int64 = 30004;
+ repeated sint64 extension_repeated_sint64 = 30005;
+ repeated uint64 extension_repeated_uint64 = 30006;
+ repeated fixed32 extension_repeated_fixed32 = 30007;
+ repeated sfixed32 extension_repeated_sfixed32 = 30008;
+ repeated float extension_repeated_float = 30009;
+ repeated fixed64 extension_repeated_fixed64 = 30010;
+ repeated sfixed64 extension_repeated_sfixed64 = 30011;
+ repeated double extension_repeated_double = 30012;
+ repeated string extension_repeated_string = 30013;
+ repeated bytes extension_repeated_bytes = 30014;
+
+ repeated ChildEnum extension_repeated_child_enum = 30015;
+ repeated ChildMessage extension_repeated_child_message = 30016;
+ repeated NamedGroup extension_repeated_named_group = 30017;
+ repeated SiblingEnum extension_repeated_sibling_enum = 30018;
+ repeated SiblingMessage extension_repeated_sibling_message = 30019;
+ repeated group ExtensionRepeatedGroup = 30020 {
+ optional string f1 = 1;
+ required string f2 = 2;
+ repeated string f3 = 3;
+ }
+ }
+
+ extensions 10000 to max;
+}
diff --git a/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.pb.go b/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.pb.go
new file mode 100644
index 0000000..5d99a45
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.pb.go
@@ -0,0 +1,1182 @@
+// Code generated by protoc-gen-go.
+// source: proto3.v0.0.0-20160225-2fc053c5/test.proto
+// DO NOT EDIT!
+
+/*
+Package github_com_golang_protobuf_v2_internal_testprotos_legacy_proto3_v0_0_0_20160225_2fc053c5 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto3.v0.0.0-20160225-2fc053c5/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package github_com_golang_protobuf_v2_internal_testprotos_legacy_proto3_v0_0_0_20160225_2fc053c5
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+const _ = proto.ProtoPackageIsVersion1
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message struct {
+ // Optional fields.
+ OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
+ OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,204,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,206,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,209,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,212,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(400<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(401<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(402<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(403<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(404<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(405<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(406<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(407<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(408<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(409<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(410<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(411<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(412<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(413<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(414<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(415<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(416<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(417<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(418<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_OneofString1:
+ b.EncodeVarint(419<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(420<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(421<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 400: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 401: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 402: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 403: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 404: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 405: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 406: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 407: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 408: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 409: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 410: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 411: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 412: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 413: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 414: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 415: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 416: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 417: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 418: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 419: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 420: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 421: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(400<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(401<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(402<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(403<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(404<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(405<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(406<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(407<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(408<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(409<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(410<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(411<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(412<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(413<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(414<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(415<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(416<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(417<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(418<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofString1:
+ n += proto.SizeVarint(419<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(420<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(421<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+type Message_ChildMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20160225.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20160225.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20160225.Message.ChildMessage")
+ proto.RegisterEnum("google.golang.org.proto3_20160225.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto3_20160225.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+}
+
+var fileDescriptor0 = []byte{
+ // 1968 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x6f, 0xdb, 0xca,
+ 0x15, 0xc7, 0x45, 0xc9, 0x4b, 0x3c, 0xd6, 0x4a, 0xc5, 0xee, 0xc0, 0x4f, 0xac, 0x9b, 0xa6, 0xac,
+ 0xdb, 0xc8, 0xb6, 0xc4, 0xb0, 0x45, 0xda, 0x26, 0xb1, 0x13, 0xa7, 0x4a, 0x91, 0xa0, 0x05, 0x03,
+ 0x17, 0x45, 0x5e, 0x5c, 0xc9, 0xa6, 0x64, 0x25, 0xa4, 0xe8, 0x5a, 0x92, 0x51, 0xa3, 0x0f, 0xf9,
+ 0x0a, 0xdd, 0xf7, 0x7d, 0x79, 0xeb, 0xbe, 0xef, 0x7b, 0x2e, 0x72, 0xf7, 0x7d, 0xfd, 0x34, 0x17,
+ 0xc3, 0xc3, 0xd9, 0x48, 0x2a, 0x92, 0x28, 0xdc, 0x87, 0x00, 0xf6, 0xd1, 0x7f, 0xce, 0x4f, 0xe7,
+ 0xf0, 0xcc, 0x39, 0x33, 0x8c, 0xd1, 0xda, 0xd1, 0xb1, 0xd7, 0xf7, 0x6a, 0x95, 0x93, 0x8d, 0xca,
+ 0x46, 0x65, 0xe3, 0x42, 0x75, 0x63, 0xd3, 0xdc, 0xa8, 0x56, 0x2f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, 0x87, 0x83, 0x66, 0x65, 0xdf, 0x73, 0xd7, 0xa1, 0x86, 0xd7, 0xfd, 0xfa,
+ 0x6d, 0x0e, 0x5a, 0xeb, 0x27, 0xd5, 0xf5, 0x4e, 0xb7, 0x6f, 0x1f, 0x77, 0x1b, 0x8e, 0xff, 0x07,
+ 0x14, 0xfe, 0x07, 0xbd, 0x75, 0xc7, 0x6e, 0x37, 0xf6, 0x4f, 0xd7, 0x47, 0xfc, 0xc9, 0x45, 0x73,
+ 0x0e, 0x04, 0x6f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xf5, 0xc8, 0x6d, 0x9c, 0x21, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.proto b/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.proto
new file mode 100644
index 0000000..cff7157
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5/test.proto
@@ -0,0 +1,136 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org.proto3_20160225;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160225-2fc053c5";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+ }
+
+ // Optional fields.
+ bool optional_bool = 100;
+ int32 optional_int32 = 101;
+ sint32 optional_sint32 = 102;
+ uint32 optional_uint32 = 103;
+ int64 optional_int64 = 104;
+ sint64 optional_sint64 = 105;
+ uint64 optional_uint64 = 106;
+ fixed32 optional_fixed32 = 107;
+ sfixed32 optional_sfixed32 = 108;
+ float optional_float = 109;
+ fixed64 optional_fixed64 = 110;
+ sfixed64 optional_sfixed64 = 111;
+ double optional_double = 112;
+ string optional_string = 113;
+ bytes optional_bytes = 114;
+
+ ChildEnum optional_child_enum = 115;
+ ChildMessage optional_child_message = 116;
+ SiblingEnum optional_sibling_enum = 117;
+ SiblingMessage optional_sibling_message = 118;
+
+ // Repeated fields.
+ repeated bool repeated_bool = 200;
+ repeated int32 repeated_int32 = 201;
+ repeated sint32 repeated_sint32 = 202;
+ repeated uint32 repeated_uint32 = 203;
+ repeated int64 repeated_int64 = 204;
+ repeated sint64 repeated_sint64 = 205;
+ repeated uint64 repeated_uint64 = 206;
+ repeated fixed32 repeated_fixed32 = 207;
+ repeated sfixed32 repeated_sfixed32 = 208;
+ repeated float repeated_float = 209;
+ repeated fixed64 repeated_fixed64 = 210;
+ repeated sfixed64 repeated_sfixed64 = 211;
+ repeated double repeated_double = 212;
+ repeated string repeated_string = 213;
+ repeated bytes repeated_bytes = 214;
+
+ repeated ChildEnum repeated_child_enum = 215;
+ repeated ChildMessage repeated_child_message = 216;
+ repeated SiblingEnum repeated_sibling_enum = 217;
+ repeated SiblingMessage repeated_sibling_message = 218;
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 300;
+ map<bool, int32> map_bool_int32 = 301;
+ map<bool, sint32> map_bool_sint32 = 302;
+ map<bool, uint32> map_bool_uint32 = 303;
+ map<bool, int64> map_bool_int64 = 304;
+ map<bool, sint64> map_bool_sint64 = 305;
+ map<bool, uint64> map_bool_uint64 = 306;
+ map<bool, fixed32> map_bool_fixed32 = 307;
+ map<bool, sfixed32> map_bool_sfixed32 = 308;
+ map<bool, float> map_bool_float = 309;
+ map<bool, fixed64> map_bool_fixed64 = 310;
+ map<bool, sfixed64> map_bool_sfixed64 = 311;
+ map<bool, double> map_bool_double = 312;
+ map<bool, string> map_bool_string = 313;
+ map<bool, bytes> map_bool_bytes = 314;
+
+ map<bool, ChildEnum> map_bool_child_enum = 315;
+ map<bool, ChildMessage> map_bool_child_message = 316;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 317;
+ map<bool, SiblingMessage> map_bool_sibling_message = 318;
+
+ map<int32, bool> map_int32_bool = 319;
+ map<sint32, bool> map_sint32_bool = 320;
+ map<uint32, bool> map_uint32_bool = 321;
+ map<int64, bool> map_int64_bool = 322;
+ map<sint64, bool> map_sint64_bool = 323;
+ map<uint64, bool> map_uint64_bool = 324;
+ map<fixed32, bool> map_fixed32_bool = 325;
+ map<string, bool> map_string_bool = 326;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 400;
+ int32 oneof_int32 = 401;
+ sint32 oneof_sint32 = 402;
+ uint32 oneof_uint32 = 403;
+ int64 oneof_int64 = 404;
+ sint64 oneof_sint64 = 405;
+ uint64 oneof_uint64 = 406;
+ fixed32 oneof_fixed32 = 407;
+ sfixed32 oneof_sfixed32 = 408;
+ float oneof_float = 409;
+ fixed64 oneof_fixed64 = 410;
+ sfixed64 oneof_sfixed64 = 411;
+ double oneof_double = 412;
+ string oneof_string = 413;
+ bytes oneof_bytes = 414;
+
+ ChildEnum oneof_child_enum = 415;
+ ChildMessage oneof_child_message = 416;
+ SiblingEnum oneof_sibling_enum = 417;
+ SiblingMessage oneof_sibling_message = 418;
+
+ string oneof_string1 = 419;
+ string oneof_string2 = 420;
+ string oneof_string3 = 421;
+ }
+}
diff --git a/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.pb.go b/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.pb.go
new file mode 100644
index 0000000..192270b
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.pb.go
@@ -0,0 +1,1183 @@
+// Code generated by protoc-gen-go.
+// source: proto3.v0.0.0-20160519-a4ab9ec5/test.proto
+// DO NOT EDIT!
+
+/*
+Package proto3_v0_0_0_20160519_a4ab9ec5 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto3.v0.0.0-20160519-a4ab9ec5/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package proto3_v0_0_0_20160519_a4ab9ec5
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+const _ = proto.ProtoPackageIsVersion1
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message struct {
+ // Optional fields.
+ OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
+ OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,204,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,206,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,209,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,212,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160519.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160519.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(400<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(401<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(402<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(403<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(404<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(405<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(406<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(407<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(408<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(409<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(410<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(411<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(412<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(413<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(414<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(415<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(416<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(417<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(418<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_OneofString1:
+ b.EncodeVarint(419<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(420<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(421<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 400: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 401: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 402: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 403: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 404: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 405: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 406: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 407: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 408: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 409: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 410: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 411: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 412: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 413: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 414: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 415: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 416: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 417: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 418: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 419: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 420: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 421: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(400<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(401<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(402<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(403<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(404<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(405<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(406<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(407<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(408<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(409<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(410<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(411<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(412<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(413<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(414<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(415<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(416<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(417<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(418<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofString1:
+ n += proto.SizeVarint(419<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(420<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(421<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+type Message_ChildMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20160519.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20160519.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20160519.Message.ChildMessage")
+ proto.RegisterEnum("google.golang.org.proto3_20160519.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto3_20160519.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+}
+
+var fileDescriptor0 = []byte{
+ // 1969 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0xd7, 0x73, 0xdb, 0xce,
+ 0x11, 0xc7, 0x09, 0x52, 0xc5, 0x3a, 0xb1, 0x82, 0x96, 0x72, 0xa3, 0x27, 0x44, 0x71, 0x1c, 0x44,
+ 0x89, 0x29, 0x91, 0x84, 0x91, 0xd8, 0x49, 0x6c, 0x4b, 0xb6, 0x1c, 0x3a, 0x63, 0x4f, 0x32, 0xf0,
+ 0x28, 0x93, 0xf1, 0x8b, 0x42, 0x4a, 0x20, 0x45, 0x1b, 0x20, 0x14, 0x91, 0xd4, 0x44, 0x93, 0x07,
+ 0xff, 0x0b, 0xe9, 0xbd, 0x97, 0xb7, 0xf4, 0xde, 0xbb, 0x33, 0x4e, 0x6f, 0xbf, 0xfe, 0xd7, 0xfc,
+ 0xe6, 0xb0, 0xb8, 0x06, 0x80, 0x26, 0x09, 0xce, 0xef, 0xc1, 0x33, 0xd2, 0xf2, 0x7b, 0xfb, 0xe1,
+ 0x2e, 0xf6, 0x76, 0xef, 0x60, 0xa1, 0x8d, 0xe3, 0x13, 0x6f, 0xe0, 0xd5, 0x2b, 0xa7, 0x5b, 0x95,
+ 0xad, 0xca, 0xd6, 0xa5, 0xda, 0x56, 0xd5, 0xdc, 0xba, 0x5c, 0xbd, 0x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3c, 0x77, 0x13, 0x6a, 0x78, 0xd3, 0xaf,
+ 0xdf, 0xd6, 0xb0, 0xbd, 0x79, 0x5a, 0xdb, 0xec, 0xf6, 0x06, 0xf6, 0x49, 0xaf, 0xe9, 0xf8, 0x7f,
+ 0x40, 0xe1, 0x7f, 0xd0, 0xdf, 0x74, 0xec, 0x4e, 0xf3, 0xe0, 0x6c, 0x73, 0xcc, 0x9f, 0x5c, 0xb4,
+ 0x16, 0x40, 0xf0, 0x6a, 0x00, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x95, 0xb5, 0x99, 0x9c, 0x21, 0x00,
+ 0x00,
+}
diff --git a/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.proto b/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.proto
new file mode 100644
index 0000000..fcc8c34
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5/test.proto
@@ -0,0 +1,136 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org.proto3_20160519;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v0.0.0-20160519-a4ab9ec5";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+ }
+
+ // Optional fields.
+ bool optional_bool = 100;
+ int32 optional_int32 = 101;
+ sint32 optional_sint32 = 102;
+ uint32 optional_uint32 = 103;
+ int64 optional_int64 = 104;
+ sint64 optional_sint64 = 105;
+ uint64 optional_uint64 = 106;
+ fixed32 optional_fixed32 = 107;
+ sfixed32 optional_sfixed32 = 108;
+ float optional_float = 109;
+ fixed64 optional_fixed64 = 110;
+ sfixed64 optional_sfixed64 = 111;
+ double optional_double = 112;
+ string optional_string = 113;
+ bytes optional_bytes = 114;
+
+ ChildEnum optional_child_enum = 115;
+ ChildMessage optional_child_message = 116;
+ SiblingEnum optional_sibling_enum = 117;
+ SiblingMessage optional_sibling_message = 118;
+
+ // Repeated fields.
+ repeated bool repeated_bool = 200;
+ repeated int32 repeated_int32 = 201;
+ repeated sint32 repeated_sint32 = 202;
+ repeated uint32 repeated_uint32 = 203;
+ repeated int64 repeated_int64 = 204;
+ repeated sint64 repeated_sint64 = 205;
+ repeated uint64 repeated_uint64 = 206;
+ repeated fixed32 repeated_fixed32 = 207;
+ repeated sfixed32 repeated_sfixed32 = 208;
+ repeated float repeated_float = 209;
+ repeated fixed64 repeated_fixed64 = 210;
+ repeated sfixed64 repeated_sfixed64 = 211;
+ repeated double repeated_double = 212;
+ repeated string repeated_string = 213;
+ repeated bytes repeated_bytes = 214;
+
+ repeated ChildEnum repeated_child_enum = 215;
+ repeated ChildMessage repeated_child_message = 216;
+ repeated SiblingEnum repeated_sibling_enum = 217;
+ repeated SiblingMessage repeated_sibling_message = 218;
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 300;
+ map<bool, int32> map_bool_int32 = 301;
+ map<bool, sint32> map_bool_sint32 = 302;
+ map<bool, uint32> map_bool_uint32 = 303;
+ map<bool, int64> map_bool_int64 = 304;
+ map<bool, sint64> map_bool_sint64 = 305;
+ map<bool, uint64> map_bool_uint64 = 306;
+ map<bool, fixed32> map_bool_fixed32 = 307;
+ map<bool, sfixed32> map_bool_sfixed32 = 308;
+ map<bool, float> map_bool_float = 309;
+ map<bool, fixed64> map_bool_fixed64 = 310;
+ map<bool, sfixed64> map_bool_sfixed64 = 311;
+ map<bool, double> map_bool_double = 312;
+ map<bool, string> map_bool_string = 313;
+ map<bool, bytes> map_bool_bytes = 314;
+
+ map<bool, ChildEnum> map_bool_child_enum = 315;
+ map<bool, ChildMessage> map_bool_child_message = 316;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 317;
+ map<bool, SiblingMessage> map_bool_sibling_message = 318;
+
+ map<int32, bool> map_int32_bool = 319;
+ map<sint32, bool> map_sint32_bool = 320;
+ map<uint32, bool> map_uint32_bool = 321;
+ map<int64, bool> map_int64_bool = 322;
+ map<sint64, bool> map_sint64_bool = 323;
+ map<uint64, bool> map_uint64_bool = 324;
+ map<fixed32, bool> map_fixed32_bool = 325;
+ map<string, bool> map_string_bool = 326;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 400;
+ int32 oneof_int32 = 401;
+ sint32 oneof_sint32 = 402;
+ uint32 oneof_uint32 = 403;
+ int64 oneof_int64 = 404;
+ sint64 oneof_sint64 = 405;
+ uint64 oneof_uint64 = 406;
+ fixed32 oneof_fixed32 = 407;
+ sfixed32 oneof_sfixed32 = 408;
+ float oneof_float = 409;
+ fixed64 oneof_fixed64 = 410;
+ sfixed64 oneof_sfixed64 = 411;
+ double oneof_double = 412;
+ string oneof_string = 413;
+ bytes oneof_bytes = 414;
+
+ ChildEnum oneof_child_enum = 415;
+ ChildMessage oneof_child_message = 416;
+ SiblingEnum oneof_sibling_enum = 417;
+ SiblingMessage oneof_sibling_message = 418;
+
+ string oneof_string1 = 419;
+ string oneof_string2 = 420;
+ string oneof_string3 = 421;
+ }
+}
diff --git a/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.pb.go b/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.pb.go
new file mode 100644
index 0000000..15b1118
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.pb.go
@@ -0,0 +1,1452 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto3.v1.0.0-20180125-92554152/test.proto
+
+/*
+Package proto3_v1_0_0_20180125_92554152 is a generated protocol buffer package.
+
+It is generated from these files:
+ proto3.v1.0.0-20180125-92554152/test.proto
+
+It has these top-level messages:
+ SiblingMessage
+ Message
+*/
+package proto3_v1_0_0_20180125_92554152
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+type SiblingMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message struct {
+ // Optional fields.
+ OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
+ OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180125.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180125.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil {
+ return m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil {
+ return m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil {
+ return m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil {
+ return m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil {
+ return m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil {
+ return m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil {
+ return m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil {
+ return m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil {
+ return m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil {
+ return m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil {
+ return m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil {
+ return m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil {
+ return m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil {
+ return m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil {
+ return m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil {
+ return m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(400<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(401<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(402<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(403<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(404<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(405<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(406<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(407<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(408<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(409<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(410<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(411<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(412<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(413<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(414<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(415<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(416<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(417<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(418<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_OneofString1:
+ b.EncodeVarint(419<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(420<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(421<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 400: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 401: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 402: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 403: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 404: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 405: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 406: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 407: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 408: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 409: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 410: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 411: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 412: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 413: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 414: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 415: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 416: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 417: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 418: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 419: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 420: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 421: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += proto.SizeVarint(400<<3 | proto.WireVarint)
+ n += 1
+ case *Message_OneofInt32:
+ n += proto.SizeVarint(401<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += proto.SizeVarint(402<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += proto.SizeVarint(403<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += proto.SizeVarint(404<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += proto.SizeVarint(405<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += proto.SizeVarint(406<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += proto.SizeVarint(407<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofSfixed32:
+ n += proto.SizeVarint(408<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFloat:
+ n += proto.SizeVarint(409<<3 | proto.WireFixed32)
+ n += 4
+ case *Message_OneofFixed64:
+ n += proto.SizeVarint(410<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofSfixed64:
+ n += proto.SizeVarint(411<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofDouble:
+ n += proto.SizeVarint(412<<3 | proto.WireFixed64)
+ n += 8
+ case *Message_OneofString:
+ n += proto.SizeVarint(413<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += proto.SizeVarint(414<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += proto.SizeVarint(415<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += proto.SizeVarint(416<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += proto.SizeVarint(417<<3 | proto.WireVarint)
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += proto.SizeVarint(418<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofString1:
+ n += proto.SizeVarint(419<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += proto.SizeVarint(420<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += proto.SizeVarint(421<<3 | proto.WireBytes)
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+type Message_ChildMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180125.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180125.Message")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180125.Message.ChildMessage")
+ proto.RegisterEnum("google.golang.org.proto3_20180125.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto3_20180125.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+}
+
+func init() { proto.RegisterFile("proto3.v1.0.0-20180125-92554152/test.proto", fileDescriptor0) }
+
+var fileDescriptor0 = []byte{
+ // 1970 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x6f, 0xdb, 0xca,
+ 0x15, 0xc7, 0x45, 0xc9, 0x4b, 0x3c, 0xd6, 0x4a, 0xc5, 0xee, 0xc0, 0x4f, 0xac, 0x9b, 0xa6, 0xac,
+ 0xdb, 0xc8, 0x96, 0x44, 0xb3, 0x69, 0xda, 0x26, 0xb1, 0x13, 0xa7, 0x4a, 0x91, 0xa0, 0x05, 0x03,
+ 0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6, 0x78, 0x58, 0xaf, 0xa0, 0x25, 0x7e, 0x08, 0x5c, 0x42, 0xf3, 0x3b, 0xf7, 0xde, 0xd5,
+ 0xd8, 0x29, 0xa6, 0xc8, 0x8f, 0xbb, 0xd6, 0xce, 0xbb, 0xdf, 0x59, 0x54, 0xd4, 0x65, 0xb4, 0x78,
+ 0xab, 0xb1, 0x63, 0xdd, 0xbb, 0xbb, 0x57, 0x4c, 0xef, 0xe6, 0xe8, 0x71, 0x75, 0xd8, 0xeb, 0x7a,
+ 0xbd, 0x8d, 0x2a, 0x5a, 0x16, 0x0f, 0x5e, 0x71, 0x0e, 0x90, 0x9a, 0xe5, 0x0e, 0x9e, 0x29, 0xbb,
+ 0x0f, 0x1f, 0xbe, 0xa7, 0xd3, 0x1d, 0x1c, 0x0f, 0x5b, 0x95, 0x43, 0xcf, 0xdd, 0x84, 0x1a, 0xde,
+ 0xf4, 0xeb, 0xb7, 0x35, 0x6c, 0x6f, 0x9e, 0xd5, 0x36, 0xbb, 0xbd, 0x81, 0x7d, 0xda, 0x6b, 0x3a,
+ 0xfe, 0x1f, 0x50, 0xf8, 0x1f, 0xf4, 0x37, 0x1d, 0xbb, 0xd3, 0x3c, 0x3c, 0xdf, 0x1c, 0xf3, 0x27,
+ 0x17, 0xad, 0x05, 0x10, 0xbc, 0x1c, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x64, 0x7c, 0x2d, 0x9c, 0x21,
+ 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.proto b/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.proto
new file mode 100644
index 0000000..eab35a0
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152/test.proto
@@ -0,0 +1,136 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org.proto3_20180125;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.0.0-20180125-92554152";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+ }
+
+ // Optional fields.
+ bool optional_bool = 100;
+ int32 optional_int32 = 101;
+ sint32 optional_sint32 = 102;
+ uint32 optional_uint32 = 103;
+ int64 optional_int64 = 104;
+ sint64 optional_sint64 = 105;
+ uint64 optional_uint64 = 106;
+ fixed32 optional_fixed32 = 107;
+ sfixed32 optional_sfixed32 = 108;
+ float optional_float = 109;
+ fixed64 optional_fixed64 = 110;
+ sfixed64 optional_sfixed64 = 111;
+ double optional_double = 112;
+ string optional_string = 113;
+ bytes optional_bytes = 114;
+
+ ChildEnum optional_child_enum = 115;
+ ChildMessage optional_child_message = 116;
+ SiblingEnum optional_sibling_enum = 117;
+ SiblingMessage optional_sibling_message = 118;
+
+ // Repeated fields.
+ repeated bool repeated_bool = 200;
+ repeated int32 repeated_int32 = 201;
+ repeated sint32 repeated_sint32 = 202;
+ repeated uint32 repeated_uint32 = 203;
+ repeated int64 repeated_int64 = 204;
+ repeated sint64 repeated_sint64 = 205;
+ repeated uint64 repeated_uint64 = 206;
+ repeated fixed32 repeated_fixed32 = 207;
+ repeated sfixed32 repeated_sfixed32 = 208;
+ repeated float repeated_float = 209;
+ repeated fixed64 repeated_fixed64 = 210;
+ repeated sfixed64 repeated_sfixed64 = 211;
+ repeated double repeated_double = 212;
+ repeated string repeated_string = 213;
+ repeated bytes repeated_bytes = 214;
+
+ repeated ChildEnum repeated_child_enum = 215;
+ repeated ChildMessage repeated_child_message = 216;
+ repeated SiblingEnum repeated_sibling_enum = 217;
+ repeated SiblingMessage repeated_sibling_message = 218;
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 300;
+ map<bool, int32> map_bool_int32 = 301;
+ map<bool, sint32> map_bool_sint32 = 302;
+ map<bool, uint32> map_bool_uint32 = 303;
+ map<bool, int64> map_bool_int64 = 304;
+ map<bool, sint64> map_bool_sint64 = 305;
+ map<bool, uint64> map_bool_uint64 = 306;
+ map<bool, fixed32> map_bool_fixed32 = 307;
+ map<bool, sfixed32> map_bool_sfixed32 = 308;
+ map<bool, float> map_bool_float = 309;
+ map<bool, fixed64> map_bool_fixed64 = 310;
+ map<bool, sfixed64> map_bool_sfixed64 = 311;
+ map<bool, double> map_bool_double = 312;
+ map<bool, string> map_bool_string = 313;
+ map<bool, bytes> map_bool_bytes = 314;
+
+ map<bool, ChildEnum> map_bool_child_enum = 315;
+ map<bool, ChildMessage> map_bool_child_message = 316;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 317;
+ map<bool, SiblingMessage> map_bool_sibling_message = 318;
+
+ map<int32, bool> map_int32_bool = 319;
+ map<sint32, bool> map_sint32_bool = 320;
+ map<uint32, bool> map_uint32_bool = 321;
+ map<int64, bool> map_int64_bool = 322;
+ map<sint64, bool> map_sint64_bool = 323;
+ map<uint64, bool> map_uint64_bool = 324;
+ map<fixed32, bool> map_fixed32_bool = 325;
+ map<string, bool> map_string_bool = 326;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 400;
+ int32 oneof_int32 = 401;
+ sint32 oneof_sint32 = 402;
+ uint32 oneof_uint32 = 403;
+ int64 oneof_int64 = 404;
+ sint64 oneof_sint64 = 405;
+ uint64 oneof_uint64 = 406;
+ fixed32 oneof_fixed32 = 407;
+ sfixed32 oneof_sfixed32 = 408;
+ float oneof_float = 409;
+ fixed64 oneof_fixed64 = 410;
+ sfixed64 oneof_sfixed64 = 411;
+ double oneof_double = 412;
+ string oneof_string = 413;
+ bytes oneof_bytes = 414;
+
+ ChildEnum oneof_child_enum = 415;
+ ChildMessage oneof_child_message = 416;
+ SiblingEnum oneof_sibling_enum = 417;
+ SiblingMessage oneof_sibling_message = 418;
+
+ string oneof_string1 = 419;
+ string oneof_string2 = 420;
+ string oneof_string3 = 421;
+ }
+}
diff --git a/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.pb.go b/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.pb.go
new file mode 100644
index 0000000..b1e6e4b
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.pb.go
@@ -0,0 +1,1543 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto3.v1.1.0-20180430-b4deda09/test.proto
+
+package proto3_v1_1_0_20180430_b4deda09 // import "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09"
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_0bc46c1644599234, []int{0}
+}
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_0bc46c1644599234, []int{1, 0}
+}
+
+type SiblingMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_0bc46c1644599234, []int{0}
+}
+func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
+}
+func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
+}
+func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SiblingMessage.Merge(dst, src)
+}
+func (m *SiblingMessage) XXX_Size() int {
+ return xxx_messageInfo_SiblingMessage.Size(m)
+}
+func (m *SiblingMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message struct {
+ // Optional fields.
+ OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
+ OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
+ OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
+ OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
+ OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
+ OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
+ OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
+ OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
+ OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
+ OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
+ OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
+ OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
+ OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
+ OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
+ MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180430.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180430.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_0bc46c1644599234, []int{1}
+}
+func (m *Message) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message.Unmarshal(m, b)
+}
+func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message.Marshal(b, m, deterministic)
+}
+func (dst *Message) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message.Merge(dst, src)
+}
+func (m *Message) XXX_Size() int {
+ return xxx_messageInfo_Message.Size(m)
+}
+func (m *Message) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message proto.InternalMessageInfo
+
+type isMessage_OneofUnion interface {
+ isMessage_OneofUnion()
+}
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
+}
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
+}
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
+}
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
+}
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
+}
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
+}
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
+}
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
+}
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
+}
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
+}
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
+}
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
+}
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
+}
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
+}
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
+}
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum,oneof"`
+}
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
+}
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum,oneof"`
+}
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
+}
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
+}
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
+}
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+func (*Message_OneofString) isMessage_OneofUnion() {}
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil {
+ return m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil {
+ return m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil {
+ return m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil {
+ return m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil {
+ return m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil {
+ return m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil {
+ return m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil {
+ return m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil {
+ return m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil {
+ return m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil {
+ return m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil {
+ return m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil {
+ return m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil {
+ return m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil {
+ return m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil {
+ return m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(400<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(401<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(402<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(403<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(404<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(405<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(406<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(407<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(408<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(409<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(410<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(411<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(412<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(413<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(414<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(415<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(416<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(417<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(418<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_OneofString1:
+ b.EncodeVarint(419<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(420<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(421<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 400: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 401: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 402: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 403: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 404: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 405: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 406: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 407: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 408: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 409: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 410: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 411: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 412: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 413: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 414: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 415: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 416: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 417: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 418: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 419: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 420: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 421: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofString1:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+type Message_ChildMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_0bc46c1644599234, []int{1, 0}
+}
+func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
+}
+func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
+}
+func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
+}
+func (m *Message_ChildMessage) XXX_Size() int {
+ return xxx_messageInfo_Message_ChildMessage.Size(m)
+}
+func (m *Message_ChildMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180430.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180430.Message")
+ proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto3_20180430.Message.MapBoolBoolEntry")
+ proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto3_20180430.Message.MapBoolBytesEntry")
+ proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto3_20180430.Message.MapBoolChildEnumEntry")
+ proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto3_20180430.Message.MapBoolChildMessageEntry")
+ proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolDoubleEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFixed32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFixed64Entry")
+ proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFloatEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolInt32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolInt64Entry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSfixed32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSfixed64Entry")
+ proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSiblingEnumEntry")
+ proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSiblingMessageEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSint32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSint64Entry")
+ proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto3_20180430.Message.MapBoolStringEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolUint32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolUint64Entry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapFixed32BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapInt32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapInt64BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapSint32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapSint64BoolEntry")
+ proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto3_20180430.Message.MapStringBoolEntry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapUint32BoolEntry")
+ proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapUint64BoolEntry")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180430.Message.ChildMessage")
+ proto.RegisterEnum("google.golang.org.proto3_20180430.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto3_20180430.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+}
+
+func init() {
+ proto.RegisterFile("proto3.v1.1.0-20180430-b4deda09/test.proto", fileDescriptor_test_0bc46c1644599234)
+}
+
+var fileDescriptor_test_0bc46c1644599234 = []byte{
+ // 1969 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x73, 0xe3, 0xc6,
+ 0x11, 0xc7, 0x09, 0x52, 0xc7, 0x6a, 0xc4, 0x13, 0x5c, 0x29, 0x53, 0x7a, 0x42, 0x14, 0xc7, 0x41,
+ 0x94, 0x98, 0x12, 0xc9, 0x29, 0xc4, 0x71, 0x12, 0x7b, 0xa5, 0xb5, 0x1c, 0x3a, 0xe5, 0xad, 0xa4,
+ 0xb0, 0xa5, 0x54, 0xca, 0x2f, 0x0a, 0x29, 0x82, 0x14, 0x77, 0x01, 0x42, 0x11, 0x49, 0x55, 0x54,
+ 0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0x40, 0xab, 0x87, 0xcf, 0xbd, 0xad, 0x75, 0x58,
+ 0xce, 0xd0, 0x1f, 0x8f, 0xec, 0xc3, 0xb7, 0xbf, 0xb5, 0xac, 0xe9, 0x9b, 0x68, 0xfd, 0x76, 0xeb,
+ 0xd0, 0x7e, 0xee, 0xd9, 0xe3, 0x72, 0xf6, 0xa8, 0xc0, 0x8e, 0xab, 0x93, 0xe1, 0xc0, 0x1f, 0xee,
+ 0xd5, 0xd1, 0xa6, 0x7c, 0xf0, 0x4a, 0x72, 0x80, 0xf4, 0xbc, 0x70, 0xf0, 0x40, 0x3b, 0x7a, 0xfe,
+ 0xf9, 0x77, 0xf4, 0x07, 0xe3, 0xf3, 0x49, 0xa7, 0x76, 0xe6, 0x7b, 0xfb, 0x50, 0xc3, 0xfb, 0x41,
+ 0xfd, 0x76, 0x26, 0xbd, 0xfd, 0xab, 0xc6, 0xfe, 0x60, 0x38, 0x76, 0x2e, 0x87, 0x6d, 0x37, 0xf8,
+ 0x03, 0x8a, 0xe0, 0x83, 0xd1, 0xbe, 0xeb, 0xf4, 0xdb, 0x67, 0xd7, 0xfb, 0x33, 0xfe, 0xe4, 0xa2,
+ 0xb3, 0x06, 0x82, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x38, 0x57, 0x88, 0xc6, 0x9c, 0x21, 0x00,
+ 0x00,
+}
diff --git a/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.proto b/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.proto
new file mode 100644
index 0000000..78f3747
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09/test.proto
@@ -0,0 +1,136 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org.proto3_20180430;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.1.0-20180430-b4deda09";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+ }
+
+ // Optional fields.
+ bool optional_bool = 100;
+ int32 optional_int32 = 101;
+ sint32 optional_sint32 = 102;
+ uint32 optional_uint32 = 103;
+ int64 optional_int64 = 104;
+ sint64 optional_sint64 = 105;
+ uint64 optional_uint64 = 106;
+ fixed32 optional_fixed32 = 107;
+ sfixed32 optional_sfixed32 = 108;
+ float optional_float = 109;
+ fixed64 optional_fixed64 = 110;
+ sfixed64 optional_sfixed64 = 111;
+ double optional_double = 112;
+ string optional_string = 113;
+ bytes optional_bytes = 114;
+
+ ChildEnum optional_child_enum = 115;
+ ChildMessage optional_child_message = 116;
+ SiblingEnum optional_sibling_enum = 117;
+ SiblingMessage optional_sibling_message = 118;
+
+ // Repeated fields.
+ repeated bool repeated_bool = 200;
+ repeated int32 repeated_int32 = 201;
+ repeated sint32 repeated_sint32 = 202;
+ repeated uint32 repeated_uint32 = 203;
+ repeated int64 repeated_int64 = 204;
+ repeated sint64 repeated_sint64 = 205;
+ repeated uint64 repeated_uint64 = 206;
+ repeated fixed32 repeated_fixed32 = 207;
+ repeated sfixed32 repeated_sfixed32 = 208;
+ repeated float repeated_float = 209;
+ repeated fixed64 repeated_fixed64 = 210;
+ repeated sfixed64 repeated_sfixed64 = 211;
+ repeated double repeated_double = 212;
+ repeated string repeated_string = 213;
+ repeated bytes repeated_bytes = 214;
+
+ repeated ChildEnum repeated_child_enum = 215;
+ repeated ChildMessage repeated_child_message = 216;
+ repeated SiblingEnum repeated_sibling_enum = 217;
+ repeated SiblingMessage repeated_sibling_message = 218;
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 300;
+ map<bool, int32> map_bool_int32 = 301;
+ map<bool, sint32> map_bool_sint32 = 302;
+ map<bool, uint32> map_bool_uint32 = 303;
+ map<bool, int64> map_bool_int64 = 304;
+ map<bool, sint64> map_bool_sint64 = 305;
+ map<bool, uint64> map_bool_uint64 = 306;
+ map<bool, fixed32> map_bool_fixed32 = 307;
+ map<bool, sfixed32> map_bool_sfixed32 = 308;
+ map<bool, float> map_bool_float = 309;
+ map<bool, fixed64> map_bool_fixed64 = 310;
+ map<bool, sfixed64> map_bool_sfixed64 = 311;
+ map<bool, double> map_bool_double = 312;
+ map<bool, string> map_bool_string = 313;
+ map<bool, bytes> map_bool_bytes = 314;
+
+ map<bool, ChildEnum> map_bool_child_enum = 315;
+ map<bool, ChildMessage> map_bool_child_message = 316;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 317;
+ map<bool, SiblingMessage> map_bool_sibling_message = 318;
+
+ map<int32, bool> map_int32_bool = 319;
+ map<sint32, bool> map_sint32_bool = 320;
+ map<uint32, bool> map_uint32_bool = 321;
+ map<int64, bool> map_int64_bool = 322;
+ map<sint64, bool> map_sint64_bool = 323;
+ map<uint64, bool> map_uint64_bool = 324;
+ map<fixed32, bool> map_fixed32_bool = 325;
+ map<string, bool> map_string_bool = 326;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 400;
+ int32 oneof_int32 = 401;
+ sint32 oneof_sint32 = 402;
+ uint32 oneof_uint32 = 403;
+ int64 oneof_int64 = 404;
+ sint64 oneof_sint64 = 405;
+ uint64 oneof_uint64 = 406;
+ fixed32 oneof_fixed32 = 407;
+ sfixed32 oneof_sfixed32 = 408;
+ float oneof_float = 409;
+ fixed64 oneof_fixed64 = 410;
+ sfixed64 oneof_sfixed64 = 411;
+ double oneof_double = 412;
+ string oneof_string = 413;
+ bytes oneof_bytes = 414;
+
+ ChildEnum oneof_child_enum = 415;
+ ChildMessage oneof_child_message = 416;
+ SiblingEnum oneof_sibling_enum = 417;
+ SiblingMessage oneof_sibling_message = 418;
+
+ string oneof_string1 = 419;
+ string oneof_string2 = 420;
+ string oneof_string3 = 421;
+ }
+}
diff --git a/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.pb.go b/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.pb.go
new file mode 100644
index 0000000..45b4ca2
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.pb.go
@@ -0,0 +1,1584 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: proto3.v1.2.0-20180814-aa810b61/test.proto
+
+package proto3_v1_2_0_20180814_aa810b61 // import "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61"
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type SiblingEnum int32
+
+const (
+ SiblingEnum_ALPHA SiblingEnum = 0
+ SiblingEnum_BRAVO SiblingEnum = 10
+ SiblingEnum_CHARLIE SiblingEnum = 200
+)
+
+var SiblingEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 10: "BRAVO",
+ 200: "CHARLIE",
+}
+var SiblingEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 10,
+ "CHARLIE": 200,
+}
+
+func (x SiblingEnum) String() string {
+ return proto.EnumName(SiblingEnum_name, int32(x))
+}
+func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_9b512d5794e43b6c, []int{0}
+}
+
+type Message_ChildEnum int32
+
+const (
+ Message_ALPHA Message_ChildEnum = 0
+ Message_BRAVO Message_ChildEnum = 1
+ Message_CHARLIE Message_ChildEnum = 2
+)
+
+var Message_ChildEnum_name = map[int32]string{
+ 0: "ALPHA",
+ 1: "BRAVO",
+ 2: "CHARLIE",
+}
+var Message_ChildEnum_value = map[string]int32{
+ "ALPHA": 0,
+ "BRAVO": 1,
+ "CHARLIE": 2,
+}
+
+func (x Message_ChildEnum) String() string {
+ return proto.EnumName(Message_ChildEnum_name, int32(x))
+}
+func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_test_9b512d5794e43b6c, []int{1, 0}
+}
+
+type SiblingMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
+func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
+func (*SiblingMessage) ProtoMessage() {}
+func (*SiblingMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_9b512d5794e43b6c, []int{0}
+}
+func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
+}
+func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
+}
+func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SiblingMessage.Merge(dst, src)
+}
+func (m *SiblingMessage) XXX_Size() int {
+ return xxx_messageInfo_SiblingMessage.Size(m)
+}
+func (m *SiblingMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
+
+func (m *SiblingMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *SiblingMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *SiblingMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+type Message struct {
+ // Optional fields.
+ OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"`
+ OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"`
+ OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"`
+ OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"`
+ OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"`
+ OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"`
+ OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"`
+ OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"`
+ OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"`
+ OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"`
+ OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"`
+ OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"`
+ OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"`
+ OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"`
+ OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
+ OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum" json:"optional_child_enum,omitempty"`
+ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage,proto3" json:"optional_child_message,omitempty"`
+ OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum" json:"optional_sibling_enum,omitempty"`
+ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage,proto3" json:"optional_sibling_message,omitempty"`
+ // Repeated fields.
+ RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
+ RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
+ RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
+ RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
+ RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
+ RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
+ RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
+ RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
+ RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
+ RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
+ RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
+ RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
+ RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
+ RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
+ RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
+ RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
+ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage,proto3" json:"repeated_child_message,omitempty"`
+ RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
+ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage,proto3" json:"repeated_sibling_message,omitempty"`
+ // Map fields.
+ MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32,proto3" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32,proto3" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
+ MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32,proto3" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64,proto3" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64,proto3" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
+ MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64,proto3" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32,proto3" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
+ MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32,proto3" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
+ MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat,proto3" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
+ MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64,proto3" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
+ MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64,proto3" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
+ MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble,proto3" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
+ MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString,proto3" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes,proto3" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum,proto3" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum"`
+ MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage,proto3" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum,proto3" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum"`
+ MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage,proto3" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool,proto3" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool,proto3" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool,proto3" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool,proto3" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool,proto3" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool,proto3" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool,proto3" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool,proto3" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+ // Oneof fields.
+ //
+ // Types that are valid to be assigned to OneofUnion:
+ // *Message_OneofBool
+ // *Message_OneofInt32
+ // *Message_OneofSint32
+ // *Message_OneofUint32
+ // *Message_OneofInt64
+ // *Message_OneofSint64
+ // *Message_OneofUint64
+ // *Message_OneofFixed32
+ // *Message_OneofSfixed32
+ // *Message_OneofFloat
+ // *Message_OneofFixed64
+ // *Message_OneofSfixed64
+ // *Message_OneofDouble
+ // *Message_OneofString
+ // *Message_OneofBytes
+ // *Message_OneofChildEnum
+ // *Message_OneofChildMessage
+ // *Message_OneofSiblingEnum
+ // *Message_OneofSiblingMessage
+ // *Message_OneofString1
+ // *Message_OneofString2
+ // *Message_OneofString3
+ OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message) Reset() { *m = Message{} }
+func (m *Message) String() string { return proto.CompactTextString(m) }
+func (*Message) ProtoMessage() {}
+func (*Message) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_9b512d5794e43b6c, []int{1}
+}
+func (m *Message) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message.Unmarshal(m, b)
+}
+func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message.Marshal(b, m, deterministic)
+}
+func (dst *Message) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message.Merge(dst, src)
+}
+func (m *Message) XXX_Size() int {
+ return xxx_messageInfo_Message.Size(m)
+}
+func (m *Message) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message proto.InternalMessageInfo
+
+func (m *Message) GetOptionalBool() bool {
+ if m != nil {
+ return m.OptionalBool
+ }
+ return false
+}
+
+func (m *Message) GetOptionalInt32() int32 {
+ if m != nil {
+ return m.OptionalInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint32() int32 {
+ if m != nil {
+ return m.OptionalSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint32() uint32 {
+ if m != nil {
+ return m.OptionalUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalInt64() int64 {
+ if m != nil {
+ return m.OptionalInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSint64() int64 {
+ if m != nil {
+ return m.OptionalSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalUint64() uint64 {
+ if m != nil {
+ return m.OptionalUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed32() uint32 {
+ if m != nil {
+ return m.OptionalFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed32() int32 {
+ if m != nil {
+ return m.OptionalSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFloat() float32 {
+ if m != nil {
+ return m.OptionalFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalFixed64() uint64 {
+ if m != nil {
+ return m.OptionalFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalSfixed64() int64 {
+ if m != nil {
+ return m.OptionalSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalDouble() float64 {
+ if m != nil {
+ return m.OptionalDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOptionalString() string {
+ if m != nil {
+ return m.OptionalString
+ }
+ return ""
+}
+
+func (m *Message) GetOptionalBytes() []byte {
+ if m != nil {
+ return m.OptionalBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
+ if m != nil {
+ return m.OptionalChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
+ if m != nil {
+ return m.OptionalChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
+ if m != nil {
+ return m.OptionalSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
+ if m != nil {
+ return m.OptionalSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBool() []bool {
+ if m != nil {
+ return m.RepeatedBool
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt32() []int32 {
+ if m != nil {
+ return m.RepeatedInt32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint32() []int32 {
+ if m != nil {
+ return m.RepeatedSint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint32() []uint32 {
+ if m != nil {
+ return m.RepeatedUint32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedInt64() []int64 {
+ if m != nil {
+ return m.RepeatedInt64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSint64() []int64 {
+ if m != nil {
+ return m.RepeatedSint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedUint64() []uint64 {
+ if m != nil {
+ return m.RepeatedUint64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed32() []uint32 {
+ if m != nil {
+ return m.RepeatedFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed32() []int32 {
+ if m != nil {
+ return m.RepeatedSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFloat() []float32 {
+ if m != nil {
+ return m.RepeatedFloat
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedFixed64() []uint64 {
+ if m != nil {
+ return m.RepeatedFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSfixed64() []int64 {
+ if m != nil {
+ return m.RepeatedSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedDouble() []float64 {
+ if m != nil {
+ return m.RepeatedDouble
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedString() []string {
+ if m != nil {
+ return m.RepeatedString
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedBytes() [][]byte {
+ if m != nil {
+ return m.RepeatedBytes
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
+ if m != nil {
+ return m.RepeatedChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
+ if m != nil {
+ return m.RepeatedChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
+ if m != nil {
+ return m.RepeatedSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
+ if m != nil {
+ return m.RepeatedSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBool() map[bool]bool {
+ if m != nil {
+ return m.MapBoolBool
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolInt32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolUint32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolInt64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolInt64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSint64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolUint64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolUint64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
+ if m != nil {
+ return m.MapBoolFixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
+ if m != nil {
+ return m.MapBoolSfixed32
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFloat() map[bool]float32 {
+ if m != nil {
+ return m.MapBoolFloat
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
+ if m != nil {
+ return m.MapBoolFixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
+ if m != nil {
+ return m.MapBoolSfixed64
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolDouble() map[bool]float64 {
+ if m != nil {
+ return m.MapBoolDouble
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolString() map[bool]string {
+ if m != nil {
+ return m.MapBoolString
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolBytes() map[bool][]byte {
+ if m != nil {
+ return m.MapBoolBytes
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
+ if m != nil {
+ return m.MapBoolChildEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
+ if m != nil {
+ return m.MapBoolChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
+ if m != nil {
+ return m.MapBoolSiblingEnum
+ }
+ return nil
+}
+
+func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
+ if m != nil {
+ return m.MapBoolSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapInt32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint32Bool() map[int32]bool {
+ if m != nil {
+ return m.MapSint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapUint32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapInt64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapInt64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapSint64Bool() map[int64]bool {
+ if m != nil {
+ return m.MapSint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapUint64Bool() map[uint64]bool {
+ if m != nil {
+ return m.MapUint64Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapFixed32Bool() map[uint32]bool {
+ if m != nil {
+ return m.MapFixed32Bool
+ }
+ return nil
+}
+
+func (m *Message) GetMapStringBool() map[string]bool {
+ if m != nil {
+ return m.MapStringBool
+ }
+ return nil
+}
+
+type isMessage_OneofUnion interface {
+ isMessage_OneofUnion()
+}
+
+type Message_OneofBool struct {
+ OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
+}
+
+type Message_OneofInt32 struct {
+ OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,proto3,oneof"`
+}
+
+type Message_OneofSint32 struct {
+ OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,proto3,oneof"`
+}
+
+type Message_OneofUint32 struct {
+ OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
+}
+
+type Message_OneofInt64 struct {
+ OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,proto3,oneof"`
+}
+
+type Message_OneofSint64 struct {
+ OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,proto3,oneof"`
+}
+
+type Message_OneofUint64 struct {
+ OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
+}
+
+type Message_OneofFixed32 struct {
+ OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,proto3,oneof"`
+}
+
+type Message_OneofSfixed32 struct {
+ OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,proto3,oneof"`
+}
+
+type Message_OneofFloat struct {
+ OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
+}
+
+type Message_OneofFixed64 struct {
+ OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,proto3,oneof"`
+}
+
+type Message_OneofSfixed64 struct {
+ OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,proto3,oneof"`
+}
+
+type Message_OneofDouble struct {
+ OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
+}
+
+type Message_OneofString struct {
+ OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,proto3,oneof"`
+}
+
+type Message_OneofBytes struct {
+ OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
+}
+
+type Message_OneofChildEnum struct {
+ OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum,oneof"`
+}
+
+type Message_OneofChildMessage struct {
+ OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,proto3,oneof"`
+}
+
+type Message_OneofSiblingEnum struct {
+ OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum,oneof"`
+}
+
+type Message_OneofSiblingMessage struct {
+ OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,proto3,oneof"`
+}
+
+type Message_OneofString1 struct {
+ OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,proto3,oneof"`
+}
+
+type Message_OneofString2 struct {
+ OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,proto3,oneof"`
+}
+
+type Message_OneofString3 struct {
+ OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,proto3,oneof"`
+}
+
+func (*Message_OneofBool) isMessage_OneofUnion() {}
+
+func (*Message_OneofInt32) isMessage_OneofUnion() {}
+
+func (*Message_OneofSint32) isMessage_OneofUnion() {}
+
+func (*Message_OneofUint32) isMessage_OneofUnion() {}
+
+func (*Message_OneofInt64) isMessage_OneofUnion() {}
+
+func (*Message_OneofSint64) isMessage_OneofUnion() {}
+
+func (*Message_OneofUint64) isMessage_OneofUnion() {}
+
+func (*Message_OneofFixed32) isMessage_OneofUnion() {}
+
+func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
+
+func (*Message_OneofFloat) isMessage_OneofUnion() {}
+
+func (*Message_OneofFixed64) isMessage_OneofUnion() {}
+
+func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
+
+func (*Message_OneofDouble) isMessage_OneofUnion() {}
+
+func (*Message_OneofString) isMessage_OneofUnion() {}
+
+func (*Message_OneofBytes) isMessage_OneofUnion() {}
+
+func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
+
+func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
+
+func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
+
+func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
+
+func (*Message_OneofString1) isMessage_OneofUnion() {}
+
+func (*Message_OneofString2) isMessage_OneofUnion() {}
+
+func (*Message_OneofString3) isMessage_OneofUnion() {}
+
+func (m *Message) GetOneofUnion() isMessage_OneofUnion {
+ if m != nil {
+ return m.OneofUnion
+ }
+ return nil
+}
+
+func (m *Message) GetOneofBool() bool {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
+ return x.OneofBool
+ }
+ return false
+}
+
+func (m *Message) GetOneofInt32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
+ return x.OneofInt32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
+ return x.OneofSint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
+ return x.OneofUint32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofInt64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
+ return x.OneofInt64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSint64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
+ return x.OneofSint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofUint64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
+ return x.OneofUint64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed32() uint32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
+ return x.OneofFixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed32() int32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
+ return x.OneofSfixed32
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFloat() float32 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
+ return x.OneofFloat
+ }
+ return 0
+}
+
+func (m *Message) GetOneofFixed64() uint64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
+ return x.OneofFixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofSfixed64() int64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
+ return x.OneofSfixed64
+ }
+ return 0
+}
+
+func (m *Message) GetOneofDouble() float64 {
+ if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
+ return x.OneofDouble
+ }
+ return 0
+}
+
+func (m *Message) GetOneofString() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
+ return x.OneofString
+ }
+ return ""
+}
+
+func (m *Message) GetOneofBytes() []byte {
+ if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
+ return x.OneofBytes
+ }
+ return nil
+}
+
+func (m *Message) GetOneofChildEnum() Message_ChildEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
+ return x.OneofChildEnum
+ }
+ return Message_ALPHA
+}
+
+func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
+ return x.OneofChildMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofSiblingEnum() SiblingEnum {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
+ return x.OneofSiblingEnum
+ }
+ return SiblingEnum_ALPHA
+}
+
+func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
+ if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
+ return x.OneofSiblingMessage
+ }
+ return nil
+}
+
+func (m *Message) GetOneofString1() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
+ return x.OneofString1
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString2() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
+ return x.OneofString2
+ }
+ return ""
+}
+
+func (m *Message) GetOneofString3() string {
+ if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
+ return x.OneofString3
+ }
+ return ""
+}
+
+// XXX_OneofFuncs is for the internal use of the proto package.
+func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
+ return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
+ (*Message_OneofBool)(nil),
+ (*Message_OneofInt32)(nil),
+ (*Message_OneofSint32)(nil),
+ (*Message_OneofUint32)(nil),
+ (*Message_OneofInt64)(nil),
+ (*Message_OneofSint64)(nil),
+ (*Message_OneofUint64)(nil),
+ (*Message_OneofFixed32)(nil),
+ (*Message_OneofSfixed32)(nil),
+ (*Message_OneofFloat)(nil),
+ (*Message_OneofFixed64)(nil),
+ (*Message_OneofSfixed64)(nil),
+ (*Message_OneofDouble)(nil),
+ (*Message_OneofString)(nil),
+ (*Message_OneofBytes)(nil),
+ (*Message_OneofChildEnum)(nil),
+ (*Message_OneofChildMessage)(nil),
+ (*Message_OneofSiblingEnum)(nil),
+ (*Message_OneofSiblingMessage)(nil),
+ (*Message_OneofString1)(nil),
+ (*Message_OneofString2)(nil),
+ (*Message_OneofString3)(nil),
+ }
+}
+
+func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ t := uint64(0)
+ if x.OneofBool {
+ t = 1
+ }
+ b.EncodeVarint(400<<3 | proto.WireVarint)
+ b.EncodeVarint(t)
+ case *Message_OneofInt32:
+ b.EncodeVarint(401<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ b.EncodeVarint(402<<3 | proto.WireVarint)
+ b.EncodeZigzag32(uint64(x.OneofSint32))
+ case *Message_OneofUint32:
+ b.EncodeVarint(403<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ b.EncodeVarint(404<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ b.EncodeVarint(405<<3 | proto.WireVarint)
+ b.EncodeZigzag64(uint64(x.OneofSint64))
+ case *Message_OneofUint64:
+ b.EncodeVarint(406<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ b.EncodeVarint(407<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofFixed32))
+ case *Message_OneofSfixed32:
+ b.EncodeVarint(408<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(x.OneofSfixed32))
+ case *Message_OneofFloat:
+ b.EncodeVarint(409<<3 | proto.WireFixed32)
+ b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
+ case *Message_OneofFixed64:
+ b.EncodeVarint(410<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofFixed64))
+ case *Message_OneofSfixed64:
+ b.EncodeVarint(411<<3 | proto.WireFixed64)
+ b.EncodeFixed64(uint64(x.OneofSfixed64))
+ case *Message_OneofDouble:
+ b.EncodeVarint(412<<3 | proto.WireFixed64)
+ b.EncodeFixed64(math.Float64bits(x.OneofDouble))
+ case *Message_OneofString:
+ b.EncodeVarint(413<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString)
+ case *Message_OneofBytes:
+ b.EncodeVarint(414<<3 | proto.WireBytes)
+ b.EncodeRawBytes(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ b.EncodeVarint(415<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ b.EncodeVarint(416<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
+ return err
+ }
+ case *Message_OneofSiblingEnum:
+ b.EncodeVarint(417<<3 | proto.WireVarint)
+ b.EncodeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ b.EncodeVarint(418<<3 | proto.WireBytes)
+ if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
+ return err
+ }
+ case *Message_OneofString1:
+ b.EncodeVarint(419<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString1)
+ case *Message_OneofString2:
+ b.EncodeVarint(420<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString2)
+ case *Message_OneofString3:
+ b.EncodeVarint(421<<3 | proto.WireBytes)
+ b.EncodeStringBytes(x.OneofString3)
+ case nil:
+ default:
+ return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
+ }
+ return nil
+}
+
+func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
+ m := msg.(*Message)
+ switch tag {
+ case 400: // oneof_union.oneof_bool
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofBool{x != 0}
+ return true, err
+ case 401: // oneof_union.oneof_int32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt32{int32(x)}
+ return true, err
+ case 402: // oneof_union.oneof_sint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag32()
+ m.OneofUnion = &Message_OneofSint32{int32(x)}
+ return true, err
+ case 403: // oneof_union.oneof_uint32
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint32{uint32(x)}
+ return true, err
+ case 404: // oneof_union.oneof_int64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofInt64{int64(x)}
+ return true, err
+ case 405: // oneof_union.oneof_sint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeZigzag64()
+ m.OneofUnion = &Message_OneofSint64{int64(x)}
+ return true, err
+ case 406: // oneof_union.oneof_uint64
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofUint64{x}
+ return true, err
+ case 407: // oneof_union.oneof_fixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFixed32{uint32(x)}
+ return true, err
+ case 408: // oneof_union.oneof_sfixed32
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofSfixed32{int32(x)}
+ return true, err
+ case 409: // oneof_union.oneof_float
+ if wire != proto.WireFixed32 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed32()
+ m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
+ return true, err
+ case 410: // oneof_union.oneof_fixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofFixed64{x}
+ return true, err
+ case 411: // oneof_union.oneof_sfixed64
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofSfixed64{int64(x)}
+ return true, err
+ case 412: // oneof_union.oneof_double
+ if wire != proto.WireFixed64 {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeFixed64()
+ m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
+ return true, err
+ case 413: // oneof_union.oneof_string
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString{x}
+ return true, err
+ case 414: // oneof_union.oneof_bytes
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeRawBytes(true)
+ m.OneofUnion = &Message_OneofBytes{x}
+ return true, err
+ case 415: // oneof_union.oneof_child_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
+ return true, err
+ case 416: // oneof_union.oneof_child_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(Message_ChildMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofChildMessage{msg}
+ return true, err
+ case 417: // oneof_union.oneof_sibling_enum
+ if wire != proto.WireVarint {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeVarint()
+ m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
+ return true, err
+ case 418: // oneof_union.oneof_sibling_message
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ msg := new(SiblingMessage)
+ err := b.DecodeMessage(msg)
+ m.OneofUnion = &Message_OneofSiblingMessage{msg}
+ return true, err
+ case 419: // oneof_union.oneof_string1
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString1{x}
+ return true, err
+ case 420: // oneof_union.oneof_string2
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString2{x}
+ return true, err
+ case 421: // oneof_union.oneof_string3
+ if wire != proto.WireBytes {
+ return true, proto.ErrInternalBadWireType
+ }
+ x, err := b.DecodeStringBytes()
+ m.OneofUnion = &Message_OneofString3{x}
+ return true, err
+ default:
+ return false, nil
+ }
+}
+
+func _Message_OneofSizer(msg proto.Message) (n int) {
+ m := msg.(*Message)
+ // oneof_union
+ switch x := m.OneofUnion.(type) {
+ case *Message_OneofBool:
+ n += 2 // tag and wire
+ n += 1
+ case *Message_OneofInt32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt32))
+ case *Message_OneofSint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
+ case *Message_OneofUint32:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint32))
+ case *Message_OneofInt64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofInt64))
+ case *Message_OneofSint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
+ case *Message_OneofUint64:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofUint64))
+ case *Message_OneofFixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofSfixed32:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFloat:
+ n += 2 // tag and wire
+ n += 4
+ case *Message_OneofFixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofSfixed64:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofDouble:
+ n += 2 // tag and wire
+ n += 8
+ case *Message_OneofString:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString)))
+ n += len(x.OneofString)
+ case *Message_OneofBytes:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofBytes)))
+ n += len(x.OneofBytes)
+ case *Message_OneofChildEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofChildEnum))
+ case *Message_OneofChildMessage:
+ s := proto.Size(x.OneofChildMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofSiblingEnum:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
+ case *Message_OneofSiblingMessage:
+ s := proto.Size(x.OneofSiblingMessage)
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(s))
+ n += s
+ case *Message_OneofString1:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString1)))
+ n += len(x.OneofString1)
+ case *Message_OneofString2:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString2)))
+ n += len(x.OneofString2)
+ case *Message_OneofString3:
+ n += 2 // tag and wire
+ n += proto.SizeVarint(uint64(len(x.OneofString3)))
+ n += len(x.OneofString3)
+ case nil:
+ default:
+ panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
+ }
+ return n
+}
+
+type Message_ChildMessage struct {
+ F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
+ F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
+ F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
+func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
+func (*Message_ChildMessage) ProtoMessage() {}
+func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_test_9b512d5794e43b6c, []int{1, 0}
+}
+func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
+}
+func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
+}
+func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
+}
+func (m *Message_ChildMessage) XXX_Size() int {
+ return xxx_messageInfo_Message_ChildMessage.Size(m)
+}
+func (m *Message_ChildMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
+
+func (m *Message_ChildMessage) GetF1() string {
+ if m != nil {
+ return m.F1
+ }
+ return ""
+}
+
+func (m *Message_ChildMessage) GetF2() []string {
+ if m != nil {
+ return m.F2
+ }
+ return nil
+}
+
+func (m *Message_ChildMessage) GetF3() *Message {
+ if m != nil {
+ return m.F3
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180814.SiblingMessage")
+ proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180814.Message")
+ proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto3_20180814.Message.MapBoolBoolEntry")
+ proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto3_20180814.Message.MapBoolBytesEntry")
+ proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto3_20180814.Message.MapBoolChildEnumEntry")
+ proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto3_20180814.Message.MapBoolChildMessageEntry")
+ proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolDoubleEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFixed32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFixed64Entry")
+ proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFloatEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolInt32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolInt64Entry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSfixed32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSfixed64Entry")
+ proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSiblingEnumEntry")
+ proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSiblingMessageEntry")
+ proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSint32Entry")
+ proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSint64Entry")
+ proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto3_20180814.Message.MapBoolStringEntry")
+ proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolUint32Entry")
+ proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolUint64Entry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapFixed32BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapInt32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapInt64BoolEntry")
+ proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapSint32BoolEntry")
+ proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapSint64BoolEntry")
+ proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto3_20180814.Message.MapStringBoolEntry")
+ proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapUint32BoolEntry")
+ proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapUint64BoolEntry")
+ proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180814.Message.ChildMessage")
+ proto.RegisterEnum("google.golang.org.proto3_20180814.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
+ proto.RegisterEnum("google.golang.org.proto3_20180814.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
+}
+
+func init() {
+ proto.RegisterFile("proto3.v1.2.0-20180814-aa810b61/test.proto", fileDescriptor_test_9b512d5794e43b6c)
+}
+
+var fileDescriptor_test_9b512d5794e43b6c = []byte{
+ // 1968 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x6f, 0xdb, 0xca,
+ 0x15, 0xc7, 0x45, 0xc9, 0x4b, 0x3c, 0xd6, 0x4a, 0xc5, 0xee, 0xc0, 0x4f, 0xac, 0x9b, 0xa6, 0xac,
+ 0xdb, 0xc8, 0x96, 0x44, 0xb0, 0x46, 0xda, 0x26, 0xb1, 0x13, 0xa7, 0x4a, 0x91, 0xa0, 0x05, 0x03,
+ 0x17, 0x45, 0x5e, 0x5c, 0xc9, 0xa6, 0x64, 0x25, 0xa4, 0xe8, 0x5a, 0x92, 0x51, 0xa3, 0x0f, 0xf9,
+ 0x0a, 0xdd, 0xf7, 0x7d, 0x79, 0xeb, 0xbe, 0xef, 0x7b, 0x8a, 0x74, 0x5f, 0xee, 0x7e, 0x3f, 0xcd,
+ 0xc5, 0xf0, 0x70, 0x36, 0x92, 0x8a, 0x24, 0x0a, 0xf7, 0x21, 0x80, 0x7d, 0xf4, 0x9f, 0xf3, 0xd3,
+ 0x39, 0x3c, 0x73, 0xce, 0x0c, 0x63, 0xb4, 0x71, 0x72, 0xea, 0x0d, 0xbc, 0x7a, 0xe5, 0xac, 0x5a,
+ 0xa9, 0x55, 0xb6, 0xae, 0xd4, 0xb6, 0xaa, 0xdb, 0x5b, 0xdb, 0x55, 0xe3, 0x4a, 0xb3, 0xb9, 0x5d,
+ 0xdd, 0x6a, 0x99, 0x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,
+ 0xb6, 0x86, 0xed, 0xcd, 0xb3, 0xda, 0x66, 0xb7, 0x37, 0xb0, 0x4f, 0x7b, 0x4d, 0xc7, 0xff, 0x03,
+ 0x0a, 0xff, 0x83, 0xfe, 0xa6, 0x63, 0x77, 0x9a, 0x87, 0xe7, 0x9b, 0x63, 0xfe, 0xe4, 0xa2, 0xb5,
+ 0x00, 0x82, 0xd7, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xa6, 0xc9, 0xa6, 0x9c, 0x21, 0x00, 0x00,
+}
diff --git a/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.proto b/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.proto
new file mode 100644
index 0000000..b6e0bf7
--- /dev/null
+++ b/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61/test.proto
@@ -0,0 +1,136 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+syntax = "proto3";
+
+package google.golang.org.proto3_20180814;
+option go_package = "github.com/golang/protobuf/v2/internal/testprotos/legacy/proto3.v1.2.0-20180814-aa810b61";
+
+enum SiblingEnum {
+ ALPHA = 0;
+ BRAVO = 10;
+ CHARLIE = 200;
+}
+
+message SiblingMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+}
+
+message Message {
+ enum ChildEnum {
+ ALPHA = 0;
+ BRAVO = 1;
+ CHARLIE = 2;
+ }
+ message ChildMessage {
+ string f1 = 1;
+ repeated string f2 = 2;
+ Message f3 = 3;
+ }
+
+ // Optional fields.
+ bool optional_bool = 100;
+ int32 optional_int32 = 101;
+ sint32 optional_sint32 = 102;
+ uint32 optional_uint32 = 103;
+ int64 optional_int64 = 104;
+ sint64 optional_sint64 = 105;
+ uint64 optional_uint64 = 106;
+ fixed32 optional_fixed32 = 107;
+ sfixed32 optional_sfixed32 = 108;
+ float optional_float = 109;
+ fixed64 optional_fixed64 = 110;
+ sfixed64 optional_sfixed64 = 111;
+ double optional_double = 112;
+ string optional_string = 113;
+ bytes optional_bytes = 114;
+
+ ChildEnum optional_child_enum = 115;
+ ChildMessage optional_child_message = 116;
+ SiblingEnum optional_sibling_enum = 117;
+ SiblingMessage optional_sibling_message = 118;
+
+ // Repeated fields.
+ repeated bool repeated_bool = 200;
+ repeated int32 repeated_int32 = 201;
+ repeated sint32 repeated_sint32 = 202;
+ repeated uint32 repeated_uint32 = 203;
+ repeated int64 repeated_int64 = 204;
+ repeated sint64 repeated_sint64 = 205;
+ repeated uint64 repeated_uint64 = 206;
+ repeated fixed32 repeated_fixed32 = 207;
+ repeated sfixed32 repeated_sfixed32 = 208;
+ repeated float repeated_float = 209;
+ repeated fixed64 repeated_fixed64 = 210;
+ repeated sfixed64 repeated_sfixed64 = 211;
+ repeated double repeated_double = 212;
+ repeated string repeated_string = 213;
+ repeated bytes repeated_bytes = 214;
+
+ repeated ChildEnum repeated_child_enum = 215;
+ repeated ChildMessage repeated_child_message = 216;
+ repeated SiblingEnum repeated_sibling_enum = 217;
+ repeated SiblingMessage repeated_sibling_message = 218;
+
+ // Map fields.
+ map<bool, bool> map_bool_bool = 300;
+ map<bool, int32> map_bool_int32 = 301;
+ map<bool, sint32> map_bool_sint32 = 302;
+ map<bool, uint32> map_bool_uint32 = 303;
+ map<bool, int64> map_bool_int64 = 304;
+ map<bool, sint64> map_bool_sint64 = 305;
+ map<bool, uint64> map_bool_uint64 = 306;
+ map<bool, fixed32> map_bool_fixed32 = 307;
+ map<bool, sfixed32> map_bool_sfixed32 = 308;
+ map<bool, float> map_bool_float = 309;
+ map<bool, fixed64> map_bool_fixed64 = 310;
+ map<bool, sfixed64> map_bool_sfixed64 = 311;
+ map<bool, double> map_bool_double = 312;
+ map<bool, string> map_bool_string = 313;
+ map<bool, bytes> map_bool_bytes = 314;
+
+ map<bool, ChildEnum> map_bool_child_enum = 315;
+ map<bool, ChildMessage> map_bool_child_message = 316;
+ map<bool, SiblingEnum> map_bool_sibling_enum = 317;
+ map<bool, SiblingMessage> map_bool_sibling_message = 318;
+
+ map<int32, bool> map_int32_bool = 319;
+ map<sint32, bool> map_sint32_bool = 320;
+ map<uint32, bool> map_uint32_bool = 321;
+ map<int64, bool> map_int64_bool = 322;
+ map<sint64, bool> map_sint64_bool = 323;
+ map<uint64, bool> map_uint64_bool = 324;
+ map<fixed32, bool> map_fixed32_bool = 325;
+ map<string, bool> map_string_bool = 326;
+
+ // Oneof fields.
+ oneof oneof_union {
+ bool oneof_bool = 400;
+ int32 oneof_int32 = 401;
+ sint32 oneof_sint32 = 402;
+ uint32 oneof_uint32 = 403;
+ int64 oneof_int64 = 404;
+ sint64 oneof_sint64 = 405;
+ uint64 oneof_uint64 = 406;
+ fixed32 oneof_fixed32 = 407;
+ sfixed32 oneof_sfixed32 = 408;
+ float oneof_float = 409;
+ fixed64 oneof_fixed64 = 410;
+ sfixed64 oneof_sfixed64 = 411;
+ double oneof_double = 412;
+ string oneof_string = 413;
+ bytes oneof_bytes = 414;
+
+ ChildEnum oneof_child_enum = 415;
+ ChildMessage oneof_child_message = 416;
+ SiblingEnum oneof_sibling_enum = 417;
+ SiblingMessage oneof_sibling_message = 418;
+
+ string oneof_string1 = 419;
+ string oneof_string2 = 420;
+ string oneof_string3 = 421;
+ }
+}