Extension fields to messagesetpb.MessageSet.
var ( // optional goproto.proto.messageset.Ext1 message_set_extension = 1000; E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0] // optional goproto.proto.messageset.Ext2 message_set_extension = 1001; E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1] // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002; E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2] // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912; E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29 )
var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor
type Ext1 struct { Ext1Field1 *int32 `protobuf:"varint,1,opt,name=ext1_field1,json=ext1Field1" json:"ext1_field1,omitempty"` Ext1Field2 *int32 `protobuf:"varint,2,opt,name=ext1_field2,json=ext1Field2" json:"ext1_field2,omitempty"` // contains filtered or unexported fields }
func (*Ext1) Descriptor() ([]byte, []int)
Deprecated: Use Ext1.ProtoReflect.Descriptor instead.
func (x *Ext1) GetExt1Field1() int32
func (x *Ext1) GetExt1Field2() int32
func (*Ext1) ProtoMessage()
func (x *Ext1) ProtoReflect() protoreflect.Message
func (x *Ext1) Reset()
func (x *Ext1) String() string
type Ext2 struct { Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"` // contains filtered or unexported fields }
func (*Ext2) Descriptor() ([]byte, []int)
Deprecated: Use Ext2.ProtoReflect.Descriptor instead.
func (x *Ext2) GetExt2Field1() int32
func (*Ext2) ProtoMessage()
func (x *Ext2) ProtoReflect() protoreflect.Message
func (x *Ext2) Reset()
func (x *Ext2) String() string
type ExtLargeNumber struct {
// contains filtered or unexported fields
}
func (*ExtLargeNumber) Descriptor() ([]byte, []int)
Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead.
func (*ExtLargeNumber) ProtoMessage()
func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message
func (x *ExtLargeNumber) Reset()
func (x *ExtLargeNumber) String() string
type ExtRequired struct { RequiredField1 *int32 `protobuf:"varint,1,req,name=required_field1,json=requiredField1" json:"required_field1,omitempty"` // contains filtered or unexported fields }
func (*ExtRequired) Descriptor() ([]byte, []int)
Deprecated: Use ExtRequired.ProtoReflect.Descriptor instead.
func (x *ExtRequired) GetRequiredField1() int32
func (*ExtRequired) ProtoMessage()
func (x *ExtRequired) ProtoReflect() protoreflect.Message
func (x *ExtRequired) Reset()
func (x *ExtRequired) String() string