...

Package proto2

import "google.golang.org/protobuf/internal/testprotos/benchmarks/datasets/google_message1/proto2"
Overview
Index

Overview ▾

Index ▾

Constants
Variables
type GoogleMessage1
    func (*GoogleMessage1) Descriptor() ([]byte, []int)
    func (x *GoogleMessage1) GetField1() string
    func (x *GoogleMessage1) GetField100() int32
    func (x *GoogleMessage1) GetField101() int32
    func (x *GoogleMessage1) GetField102() string
    func (x *GoogleMessage1) GetField103() string
    func (x *GoogleMessage1) GetField104() int32
    func (x *GoogleMessage1) GetField12() bool
    func (x *GoogleMessage1) GetField128() int32
    func (x *GoogleMessage1) GetField129() string
    func (x *GoogleMessage1) GetField13() bool
    func (x *GoogleMessage1) GetField130() int32
    func (x *GoogleMessage1) GetField131() int32
    func (x *GoogleMessage1) GetField14() bool
    func (x *GoogleMessage1) GetField15() *GoogleMessage1SubMessage
    func (x *GoogleMessage1) GetField150() int32
    func (x *GoogleMessage1) GetField16() int32
    func (x *GoogleMessage1) GetField17() bool
    func (x *GoogleMessage1) GetField18() string
    func (x *GoogleMessage1) GetField2() int32
    func (x *GoogleMessage1) GetField22() int64
    func (x *GoogleMessage1) GetField23() int32
    func (x *GoogleMessage1) GetField24() bool
    func (x *GoogleMessage1) GetField25() int32
    func (x *GoogleMessage1) GetField271() int32
    func (x *GoogleMessage1) GetField272() int32
    func (x *GoogleMessage1) GetField280() int32
    func (x *GoogleMessage1) GetField29() int32
    func (x *GoogleMessage1) GetField3() int32
    func (x *GoogleMessage1) GetField30() bool
    func (x *GoogleMessage1) GetField4() string
    func (x *GoogleMessage1) GetField5() []uint64
    func (x *GoogleMessage1) GetField59() bool
    func (x *GoogleMessage1) GetField6() int32
    func (x *GoogleMessage1) GetField60() int32
    func (x *GoogleMessage1) GetField67() int32
    func (x *GoogleMessage1) GetField68() int32
    func (x *GoogleMessage1) GetField7() string
    func (x *GoogleMessage1) GetField78() bool
    func (x *GoogleMessage1) GetField80() bool
    func (x *GoogleMessage1) GetField81() bool
    func (x *GoogleMessage1) GetField9() string
    func (*GoogleMessage1) ProtoMessage()
    func (x *GoogleMessage1) ProtoReflect() protoreflect.Message
    func (x *GoogleMessage1) Reset()
    func (x *GoogleMessage1) String() string
type GoogleMessage1SubMessage
    func (*GoogleMessage1SubMessage) Descriptor() ([]byte, []int)
    func (x *GoogleMessage1SubMessage) GetField1() int32
    func (x *GoogleMessage1SubMessage) GetField12() bool
    func (x *GoogleMessage1SubMessage) GetField13() int64
    func (x *GoogleMessage1SubMessage) GetField14() int64
    func (x *GoogleMessage1SubMessage) GetField15() string
    func (x *GoogleMessage1SubMessage) GetField16() int32
    func (x *GoogleMessage1SubMessage) GetField19() int32
    func (x *GoogleMessage1SubMessage) GetField2() int32
    func (x *GoogleMessage1SubMessage) GetField20() bool
    func (x *GoogleMessage1SubMessage) GetField203() uint32
    func (x *GoogleMessage1SubMessage) GetField204() int32
    func (x *GoogleMessage1SubMessage) GetField205() string
    func (x *GoogleMessage1SubMessage) GetField206() bool
    func (x *GoogleMessage1SubMessage) GetField207() uint64
    func (x *GoogleMessage1SubMessage) GetField21() uint64
    func (x *GoogleMessage1SubMessage) GetField22() int32
    func (x *GoogleMessage1SubMessage) GetField23() bool
    func (x *GoogleMessage1SubMessage) GetField28() bool
    func (x *GoogleMessage1SubMessage) GetField3() int32
    func (x *GoogleMessage1SubMessage) GetField300() uint64
    func (*GoogleMessage1SubMessage) ProtoMessage()
    func (x *GoogleMessage1SubMessage) ProtoReflect() protoreflect.Message
    func (x *GoogleMessage1SubMessage) Reset()
    func (x *GoogleMessage1SubMessage) String() string

Package files

benchmark_message1_proto2.pb.go

Constants

Default values for GoogleMessage1 fields.

const (
    Default_GoogleMessage1_Field80  = bool(false)
    Default_GoogleMessage1_Field81  = bool(true)
    Default_GoogleMessage1_Field6   = int32(0)
    Default_GoogleMessage1_Field59  = bool(false)
    Default_GoogleMessage1_Field130 = int32(0)
    Default_GoogleMessage1_Field12  = bool(true)
    Default_GoogleMessage1_Field17  = bool(true)
    Default_GoogleMessage1_Field13  = bool(true)
    Default_GoogleMessage1_Field14  = bool(true)
    Default_GoogleMessage1_Field104 = int32(0)
    Default_GoogleMessage1_Field100 = int32(0)
    Default_GoogleMessage1_Field101 = int32(0)
    Default_GoogleMessage1_Field29  = int32(0)
    Default_GoogleMessage1_Field30  = bool(false)
    Default_GoogleMessage1_Field60  = int32(-1)
    Default_GoogleMessage1_Field271 = int32(-1)
    Default_GoogleMessage1_Field272 = int32(-1)
    Default_GoogleMessage1_Field23  = int32(0)
    Default_GoogleMessage1_Field24  = bool(false)
    Default_GoogleMessage1_Field25  = int32(0)
    Default_GoogleMessage1_Field67  = int32(0)
    Default_GoogleMessage1_Field128 = int32(0)
    Default_GoogleMessage1_Field129 = string("xxxxxxxxxxxxxxxxxxxxx")
    Default_GoogleMessage1_Field131 = int32(0)
)

Default values for GoogleMessage1SubMessage fields.

const (
    Default_GoogleMessage1SubMessage_Field1   = int32(0)
    Default_GoogleMessage1SubMessage_Field2   = int32(0)
    Default_GoogleMessage1SubMessage_Field3   = int32(0)
    Default_GoogleMessage1SubMessage_Field12  = bool(true)
    Default_GoogleMessage1SubMessage_Field19  = int32(2)
    Default_GoogleMessage1SubMessage_Field20  = bool(true)
    Default_GoogleMessage1SubMessage_Field28  = bool(true)
    Default_GoogleMessage1SubMessage_Field23  = bool(false)
    Default_GoogleMessage1SubMessage_Field206 = bool(false)
)

Variables

var File_datasets_google_message1_proto2_benchmark_message1_proto2_proto protoreflect.FileDescriptor

type GoogleMessage1

type GoogleMessage1 struct {
    Field1   *string                   `protobuf:"bytes,1,req,name=field1" json:"field1,omitempty"`
    Field9   *string                   `protobuf:"bytes,9,opt,name=field9" json:"field9,omitempty"`
    Field18  *string                   `protobuf:"bytes,18,opt,name=field18" json:"field18,omitempty"`
    Field80  *bool                     `protobuf:"varint,80,opt,name=field80,def=0" json:"field80,omitempty"`
    Field81  *bool                     `protobuf:"varint,81,opt,name=field81,def=1" json:"field81,omitempty"`
    Field2   *int32                    `protobuf:"varint,2,req,name=field2" json:"field2,omitempty"`
    Field3   *int32                    `protobuf:"varint,3,req,name=field3" json:"field3,omitempty"`
    Field280 *int32                    `protobuf:"varint,280,opt,name=field280" json:"field280,omitempty"`
    Field6   *int32                    `protobuf:"varint,6,opt,name=field6,def=0" json:"field6,omitempty"`
    Field22  *int64                    `protobuf:"varint,22,opt,name=field22" json:"field22,omitempty"`
    Field4   *string                   `protobuf:"bytes,4,opt,name=field4" json:"field4,omitempty"`
    Field5   []uint64                  `protobuf:"fixed64,5,rep,name=field5" json:"field5,omitempty"`
    Field59  *bool                     `protobuf:"varint,59,opt,name=field59,def=0" json:"field59,omitempty"`
    Field7   *string                   `protobuf:"bytes,7,opt,name=field7" json:"field7,omitempty"`
    Field16  *int32                    `protobuf:"varint,16,opt,name=field16" json:"field16,omitempty"`
    Field130 *int32                    `protobuf:"varint,130,opt,name=field130,def=0" json:"field130,omitempty"`
    Field12  *bool                     `protobuf:"varint,12,opt,name=field12,def=1" json:"field12,omitempty"`
    Field17  *bool                     `protobuf:"varint,17,opt,name=field17,def=1" json:"field17,omitempty"`
    Field13  *bool                     `protobuf:"varint,13,opt,name=field13,def=1" json:"field13,omitempty"`
    Field14  *bool                     `protobuf:"varint,14,opt,name=field14,def=1" json:"field14,omitempty"`
    Field104 *int32                    `protobuf:"varint,104,opt,name=field104,def=0" json:"field104,omitempty"`
    Field100 *int32                    `protobuf:"varint,100,opt,name=field100,def=0" json:"field100,omitempty"`
    Field101 *int32                    `protobuf:"varint,101,opt,name=field101,def=0" json:"field101,omitempty"`
    Field102 *string                   `protobuf:"bytes,102,opt,name=field102" json:"field102,omitempty"`
    Field103 *string                   `protobuf:"bytes,103,opt,name=field103" json:"field103,omitempty"`
    Field29  *int32                    `protobuf:"varint,29,opt,name=field29,def=0" json:"field29,omitempty"`
    Field30  *bool                     `protobuf:"varint,30,opt,name=field30,def=0" json:"field30,omitempty"`
    Field60  *int32                    `protobuf:"varint,60,opt,name=field60,def=-1" json:"field60,omitempty"`
    Field271 *int32                    `protobuf:"varint,271,opt,name=field271,def=-1" json:"field271,omitempty"`
    Field272 *int32                    `protobuf:"varint,272,opt,name=field272,def=-1" json:"field272,omitempty"`
    Field150 *int32                    `protobuf:"varint,150,opt,name=field150" json:"field150,omitempty"`
    Field23  *int32                    `protobuf:"varint,23,opt,name=field23,def=0" json:"field23,omitempty"`
    Field24  *bool                     `protobuf:"varint,24,opt,name=field24,def=0" json:"field24,omitempty"`
    Field25  *int32                    `protobuf:"varint,25,opt,name=field25,def=0" json:"field25,omitempty"`
    Field15  *GoogleMessage1SubMessage `protobuf:"bytes,15,opt,name=field15" json:"field15,omitempty"`
    Field78  *bool                     `protobuf:"varint,78,opt,name=field78" json:"field78,omitempty"`
    Field67  *int32                    `protobuf:"varint,67,opt,name=field67,def=0" json:"field67,omitempty"`
    Field68  *int32                    `protobuf:"varint,68,opt,name=field68" json:"field68,omitempty"`
    Field128 *int32                    `protobuf:"varint,128,opt,name=field128,def=0" json:"field128,omitempty"`
    Field129 *string                   `protobuf:"bytes,129,opt,name=field129,def=xxxxxxxxxxxxxxxxxxxxx" json:"field129,omitempty"`
    Field131 *int32                    `protobuf:"varint,131,opt,name=field131,def=0" json:"field131,omitempty"`
    // contains filtered or unexported fields
}

func (*GoogleMessage1) Descriptor

func (*GoogleMessage1) Descriptor() ([]byte, []int)

Deprecated: Use GoogleMessage1.ProtoReflect.Descriptor instead.

func (*GoogleMessage1) GetField1

func (x *GoogleMessage1) GetField1() string

func (*GoogleMessage1) GetField100

func (x *GoogleMessage1) GetField100() int32

func (*GoogleMessage1) GetField101

func (x *GoogleMessage1) GetField101() int32

func (*GoogleMessage1) GetField102

func (x *GoogleMessage1) GetField102() string

func (*GoogleMessage1) GetField103

func (x *GoogleMessage1) GetField103() string

func (*GoogleMessage1) GetField104

func (x *GoogleMessage1) GetField104() int32

func (*GoogleMessage1) GetField12

func (x *GoogleMessage1) GetField12() bool

func (*GoogleMessage1) GetField128

func (x *GoogleMessage1) GetField128() int32

func (*GoogleMessage1) GetField129

func (x *GoogleMessage1) GetField129() string

func (*GoogleMessage1) GetField13

func (x *GoogleMessage1) GetField13() bool

func (*GoogleMessage1) GetField130

func (x *GoogleMessage1) GetField130() int32

func (*GoogleMessage1) GetField131

func (x *GoogleMessage1) GetField131() int32

func (*GoogleMessage1) GetField14

func (x *GoogleMessage1) GetField14() bool

func (*GoogleMessage1) GetField15

func (x *GoogleMessage1) GetField15() *GoogleMessage1SubMessage

func (*GoogleMessage1) GetField150

func (x *GoogleMessage1) GetField150() int32

func (*GoogleMessage1) GetField16

func (x *GoogleMessage1) GetField16() int32

func (*GoogleMessage1) GetField17

func (x *GoogleMessage1) GetField17() bool

func (*GoogleMessage1) GetField18

func (x *GoogleMessage1) GetField18() string

func (*GoogleMessage1) GetField2

func (x *GoogleMessage1) GetField2() int32

func (*GoogleMessage1) GetField22

func (x *GoogleMessage1) GetField22() int64

func (*GoogleMessage1) GetField23

func (x *GoogleMessage1) GetField23() int32

func (*GoogleMessage1) GetField24

func (x *GoogleMessage1) GetField24() bool

func (*GoogleMessage1) GetField25

func (x *GoogleMessage1) GetField25() int32

func (*GoogleMessage1) GetField271

func (x *GoogleMessage1) GetField271() int32

func (*GoogleMessage1) GetField272

func (x *GoogleMessage1) GetField272() int32

func (*GoogleMessage1) GetField280

func (x *GoogleMessage1) GetField280() int32

func (*GoogleMessage1) GetField29

func (x *GoogleMessage1) GetField29() int32

func (*GoogleMessage1) GetField3

func (x *GoogleMessage1) GetField3() int32

func (*GoogleMessage1) GetField30

func (x *GoogleMessage1) GetField30() bool

func (*GoogleMessage1) GetField4

func (x *GoogleMessage1) GetField4() string

func (*GoogleMessage1) GetField5

func (x *GoogleMessage1) GetField5() []uint64

func (*GoogleMessage1) GetField59

func (x *GoogleMessage1) GetField59() bool

func (*GoogleMessage1) GetField6

func (x *GoogleMessage1) GetField6() int32

func (*GoogleMessage1) GetField60

func (x *GoogleMessage1) GetField60() int32

func (*GoogleMessage1) GetField67

func (x *GoogleMessage1) GetField67() int32

func (*GoogleMessage1) GetField68

func (x *GoogleMessage1) GetField68() int32

func (*GoogleMessage1) GetField7

func (x *GoogleMessage1) GetField7() string

func (*GoogleMessage1) GetField78

func (x *GoogleMessage1) GetField78() bool

func (*GoogleMessage1) GetField80

func (x *GoogleMessage1) GetField80() bool

func (*GoogleMessage1) GetField81

func (x *GoogleMessage1) GetField81() bool

func (*GoogleMessage1) GetField9

func (x *GoogleMessage1) GetField9() string

func (*GoogleMessage1) ProtoMessage

func (*GoogleMessage1) ProtoMessage()

func (*GoogleMessage1) ProtoReflect

func (x *GoogleMessage1) ProtoReflect() protoreflect.Message

func (*GoogleMessage1) Reset

func (x *GoogleMessage1) Reset()

func (*GoogleMessage1) String

func (x *GoogleMessage1) String() string

type GoogleMessage1SubMessage

type GoogleMessage1SubMessage struct {
    Field1   *int32  `protobuf:"varint,1,opt,name=field1,def=0" json:"field1,omitempty"`
    Field2   *int32  `protobuf:"varint,2,opt,name=field2,def=0" json:"field2,omitempty"`
    Field3   *int32  `protobuf:"varint,3,opt,name=field3,def=0" json:"field3,omitempty"`
    Field15  *string `protobuf:"bytes,15,opt,name=field15" json:"field15,omitempty"`
    Field12  *bool   `protobuf:"varint,12,opt,name=field12,def=1" json:"field12,omitempty"`
    Field13  *int64  `protobuf:"varint,13,opt,name=field13" json:"field13,omitempty"`
    Field14  *int64  `protobuf:"varint,14,opt,name=field14" json:"field14,omitempty"`
    Field16  *int32  `protobuf:"varint,16,opt,name=field16" json:"field16,omitempty"`
    Field19  *int32  `protobuf:"varint,19,opt,name=field19,def=2" json:"field19,omitempty"`
    Field20  *bool   `protobuf:"varint,20,opt,name=field20,def=1" json:"field20,omitempty"`
    Field28  *bool   `protobuf:"varint,28,opt,name=field28,def=1" json:"field28,omitempty"`
    Field21  *uint64 `protobuf:"fixed64,21,opt,name=field21" json:"field21,omitempty"`
    Field22  *int32  `protobuf:"varint,22,opt,name=field22" json:"field22,omitempty"`
    Field23  *bool   `protobuf:"varint,23,opt,name=field23,def=0" json:"field23,omitempty"`
    Field206 *bool   `protobuf:"varint,206,opt,name=field206,def=0" json:"field206,omitempty"`
    Field203 *uint32 `protobuf:"fixed32,203,opt,name=field203" json:"field203,omitempty"`
    Field204 *int32  `protobuf:"varint,204,opt,name=field204" json:"field204,omitempty"`
    Field205 *string `protobuf:"bytes,205,opt,name=field205" json:"field205,omitempty"`
    Field207 *uint64 `protobuf:"varint,207,opt,name=field207" json:"field207,omitempty"`
    Field300 *uint64 `protobuf:"varint,300,opt,name=field300" json:"field300,omitempty"`
    // contains filtered or unexported fields
}

func (*GoogleMessage1SubMessage) Descriptor

func (*GoogleMessage1SubMessage) Descriptor() ([]byte, []int)

Deprecated: Use GoogleMessage1SubMessage.ProtoReflect.Descriptor instead.

func (*GoogleMessage1SubMessage) GetField1

func (x *GoogleMessage1SubMessage) GetField1() int32

func (*GoogleMessage1SubMessage) GetField12

func (x *GoogleMessage1SubMessage) GetField12() bool

func (*GoogleMessage1SubMessage) GetField13

func (x *GoogleMessage1SubMessage) GetField13() int64

func (*GoogleMessage1SubMessage) GetField14

func (x *GoogleMessage1SubMessage) GetField14() int64

func (*GoogleMessage1SubMessage) GetField15

func (x *GoogleMessage1SubMessage) GetField15() string

func (*GoogleMessage1SubMessage) GetField16

func (x *GoogleMessage1SubMessage) GetField16() int32

func (*GoogleMessage1SubMessage) GetField19

func (x *GoogleMessage1SubMessage) GetField19() int32

func (*GoogleMessage1SubMessage) GetField2

func (x *GoogleMessage1SubMessage) GetField2() int32

func (*GoogleMessage1SubMessage) GetField20

func (x *GoogleMessage1SubMessage) GetField20() bool

func (*GoogleMessage1SubMessage) GetField203

func (x *GoogleMessage1SubMessage) GetField203() uint32

func (*GoogleMessage1SubMessage) GetField204

func (x *GoogleMessage1SubMessage) GetField204() int32

func (*GoogleMessage1SubMessage) GetField205

func (x *GoogleMessage1SubMessage) GetField205() string

func (*GoogleMessage1SubMessage) GetField206

func (x *GoogleMessage1SubMessage) GetField206() bool

func (*GoogleMessage1SubMessage) GetField207

func (x *GoogleMessage1SubMessage) GetField207() uint64

func (*GoogleMessage1SubMessage) GetField21

func (x *GoogleMessage1SubMessage) GetField21() uint64

func (*GoogleMessage1SubMessage) GetField22

func (x *GoogleMessage1SubMessage) GetField22() int32

func (*GoogleMessage1SubMessage) GetField23

func (x *GoogleMessage1SubMessage) GetField23() bool

func (*GoogleMessage1SubMessage) GetField28

func (x *GoogleMessage1SubMessage) GetField28() bool

func (*GoogleMessage1SubMessage) GetField3

func (x *GoogleMessage1SubMessage) GetField3() int32

func (*GoogleMessage1SubMessage) GetField300

func (x *GoogleMessage1SubMessage) GetField300() uint64

func (*GoogleMessage1SubMessage) ProtoMessage

func (*GoogleMessage1SubMessage) ProtoMessage()

func (*GoogleMessage1SubMessage) ProtoReflect

func (x *GoogleMessage1SubMessage) ProtoReflect() protoreflect.Message

func (*GoogleMessage1SubMessage) Reset

func (x *GoogleMessage1SubMessage) Reset()

func (*GoogleMessage1SubMessage) String

func (x *GoogleMessage1SubMessage) String() string