Documentation ¶
Overview ¶
Package test is a generated protocol buffer package.
It is generated from these files:
deepcopy.proto
It has these top-level messages:
BasicScalar RepeatedScalar RepeatedScalarPacked ExternalStruct RepeatedExternalStruct NonNullableExternalStruct RepeatedNonNullableExternalStruct MapStruct
Index ¶
- type BasicScalar
- type ExternalStruct
- type MapStruct
- type NonNullableExternalStruct
- func (m *NonNullableExternalStruct) Copy() *NonNullableExternalStruct
- func (*NonNullableExternalStruct) Descriptor() ([]byte, []int)
- func (this *NonNullableExternalStruct) Equal(that interface{}) bool
- func (*NonNullableExternalStruct) ProtoMessage()
- func (m *NonNullableExternalStruct) Reset()
- func (this *NonNullableExternalStruct) String() string
- type RepeatedExternalStruct
- func (m *RepeatedExternalStruct) Copy() *RepeatedExternalStruct
- func (*RepeatedExternalStruct) Descriptor() ([]byte, []int)
- func (this *RepeatedExternalStruct) Equal(that interface{}) bool
- func (*RepeatedExternalStruct) ProtoMessage()
- func (m *RepeatedExternalStruct) Reset()
- func (this *RepeatedExternalStruct) String() string
- type RepeatedNonNullableExternalStruct
- func (m *RepeatedNonNullableExternalStruct) Copy() *RepeatedNonNullableExternalStruct
- func (*RepeatedNonNullableExternalStruct) Descriptor() ([]byte, []int)
- func (this *RepeatedNonNullableExternalStruct) Equal(that interface{}) bool
- func (*RepeatedNonNullableExternalStruct) ProtoMessage()
- func (m *RepeatedNonNullableExternalStruct) Reset()
- func (this *RepeatedNonNullableExternalStruct) String() string
- type RepeatedScalar
- type RepeatedScalarPacked
- func (m *RepeatedScalarPacked) Copy() *RepeatedScalarPacked
- func (*RepeatedScalarPacked) Descriptor() ([]byte, []int)
- func (this *RepeatedScalarPacked) Equal(that interface{}) bool
- func (*RepeatedScalarPacked) ProtoMessage()
- func (m *RepeatedScalarPacked) Reset()
- func (this *RepeatedScalarPacked) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicScalar ¶
type BasicScalar struct { Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,json=field1,proto3" json:"Field1,omitempty"` Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,json=field2,proto3" json:"Field2,omitempty"` Field3 int32 `protobuf:"varint,3,opt,name=Field3,json=field3,proto3" json:"Field3,omitempty"` Field4 int64 `protobuf:"varint,4,opt,name=Field4,json=field4,proto3" json:"Field4,omitempty"` Field5 uint32 `protobuf:"varint,5,opt,name=Field5,json=field5,proto3" json:"Field5,omitempty"` Field6 uint64 `protobuf:"varint,6,opt,name=Field6,json=field6,proto3" json:"Field6,omitempty"` Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,json=field7,proto3" json:"Field7,omitempty"` Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,json=field8,proto3" json:"Field8,omitempty"` Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,json=field9,proto3" json:"Field9,omitempty"` Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,json=field10,proto3" json:"Field10,omitempty"` Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,json=field11,proto3" json:"Field11,omitempty"` Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,json=field12,proto3" json:"Field12,omitempty"` Field13 bool `protobuf:"varint,13,opt,name=Field13,json=field13,proto3" json:"Field13,omitempty"` Field14 string `protobuf:"bytes,14,opt,name=Field14,json=field14,proto3" json:"Field14,omitempty"` Field15 []byte `protobuf:"bytes,15,opt,name=Field15,json=field15,proto3" json:"Field15,omitempty"` }
func NewPopulatedBasicScalar ¶
func NewPopulatedBasicScalar(r randyDeepcopy, easy bool) *BasicScalar
func (*BasicScalar) Copy ¶
func (m *BasicScalar) Copy() *BasicScalar
func (*BasicScalar) Descriptor ¶
func (*BasicScalar) Descriptor() ([]byte, []int)
func (*BasicScalar) Equal ¶
func (this *BasicScalar) Equal(that interface{}) bool
func (*BasicScalar) ProtoMessage ¶
func (*BasicScalar) ProtoMessage()
func (*BasicScalar) Reset ¶
func (m *BasicScalar) Reset()
func (*BasicScalar) String ¶
func (this *BasicScalar) String() string
type ExternalStruct ¶
type ExternalStruct struct { Field1 *BasicScalar `protobuf:"bytes,1,opt,name=Field1,json=field1" json:"Field1,omitempty"` Field2 *RepeatedScalar `protobuf:"bytes,2,opt,name=Field2,json=field2" json:"Field2,omitempty"` Field3 *RepeatedScalarPacked `protobuf:"bytes,3,opt,name=Field3,json=field3" json:"Field3,omitempty"` }
func NewPopulatedExternalStruct ¶
func NewPopulatedExternalStruct(r randyDeepcopy, easy bool) *ExternalStruct
func (*ExternalStruct) Copy ¶
func (m *ExternalStruct) Copy() *ExternalStruct
func (*ExternalStruct) Descriptor ¶
func (*ExternalStruct) Descriptor() ([]byte, []int)
func (*ExternalStruct) Equal ¶
func (this *ExternalStruct) Equal(that interface{}) bool
func (*ExternalStruct) ProtoMessage ¶
func (*ExternalStruct) ProtoMessage()
func (*ExternalStruct) Reset ¶
func (m *ExternalStruct) Reset()
func (*ExternalStruct) String ¶
func (this *ExternalStruct) String() string
type MapStruct ¶
type MapStruct struct { NullableMap map[string]*BasicScalar `` /* 168-byte string literal not displayed */ NonnullableMap map[string]BasicScalar `` /* 167-byte string literal not displayed */ }
type NonNullableExternalStruct ¶
type NonNullableExternalStruct struct { Field1 BasicScalar `protobuf:"bytes,1,opt,name=Field1,json=field1" json:"Field1"` Field2 RepeatedScalar `protobuf:"bytes,2,opt,name=Field2,json=field2" json:"Field2"` Field3 RepeatedScalarPacked `protobuf:"bytes,3,opt,name=Field3,json=field3" json:"Field3"` }
func NewPopulatedNonNullableExternalStruct ¶
func NewPopulatedNonNullableExternalStruct(r randyDeepcopy, easy bool) *NonNullableExternalStruct
func (*NonNullableExternalStruct) Copy ¶
func (m *NonNullableExternalStruct) Copy() *NonNullableExternalStruct
func (*NonNullableExternalStruct) Descriptor ¶
func (*NonNullableExternalStruct) Descriptor() ([]byte, []int)
func (*NonNullableExternalStruct) Equal ¶
func (this *NonNullableExternalStruct) Equal(that interface{}) bool
func (*NonNullableExternalStruct) ProtoMessage ¶
func (*NonNullableExternalStruct) ProtoMessage()
func (*NonNullableExternalStruct) Reset ¶
func (m *NonNullableExternalStruct) Reset()
func (*NonNullableExternalStruct) String ¶
func (this *NonNullableExternalStruct) String() string
type RepeatedExternalStruct ¶
type RepeatedExternalStruct struct { Field1 []*BasicScalar `protobuf:"bytes,1,rep,name=Field1,json=field1" json:"Field1,omitempty"` Field2 []*RepeatedScalar `protobuf:"bytes,2,rep,name=Field2,json=field2" json:"Field2,omitempty"` Field3 []*RepeatedScalarPacked `protobuf:"bytes,3,rep,name=Field3,json=field3" json:"Field3,omitempty"` }
func NewPopulatedRepeatedExternalStruct ¶
func NewPopulatedRepeatedExternalStruct(r randyDeepcopy, easy bool) *RepeatedExternalStruct
func (*RepeatedExternalStruct) Copy ¶
func (m *RepeatedExternalStruct) Copy() *RepeatedExternalStruct
func (*RepeatedExternalStruct) Descriptor ¶
func (*RepeatedExternalStruct) Descriptor() ([]byte, []int)
func (*RepeatedExternalStruct) Equal ¶
func (this *RepeatedExternalStruct) Equal(that interface{}) bool
func (*RepeatedExternalStruct) ProtoMessage ¶
func (*RepeatedExternalStruct) ProtoMessage()
func (*RepeatedExternalStruct) Reset ¶
func (m *RepeatedExternalStruct) Reset()
func (*RepeatedExternalStruct) String ¶
func (this *RepeatedExternalStruct) String() string
type RepeatedNonNullableExternalStruct ¶
type RepeatedNonNullableExternalStruct struct { Field1 []BasicScalar `protobuf:"bytes,1,rep,name=Field1,json=field1" json:"Field1"` Field2 []RepeatedScalar `protobuf:"bytes,2,rep,name=Field2,json=field2" json:"Field2"` Field3 []RepeatedScalarPacked `protobuf:"bytes,3,rep,name=Field3,json=field3" json:"Field3"` }
func NewPopulatedRepeatedNonNullableExternalStruct ¶
func NewPopulatedRepeatedNonNullableExternalStruct(r randyDeepcopy, easy bool) *RepeatedNonNullableExternalStruct
func (*RepeatedNonNullableExternalStruct) Copy ¶
func (m *RepeatedNonNullableExternalStruct) Copy() *RepeatedNonNullableExternalStruct
func (*RepeatedNonNullableExternalStruct) Descriptor ¶
func (*RepeatedNonNullableExternalStruct) Descriptor() ([]byte, []int)
func (*RepeatedNonNullableExternalStruct) Equal ¶
func (this *RepeatedNonNullableExternalStruct) Equal(that interface{}) bool
func (*RepeatedNonNullableExternalStruct) ProtoMessage ¶
func (*RepeatedNonNullableExternalStruct) ProtoMessage()
func (*RepeatedNonNullableExternalStruct) Reset ¶
func (m *RepeatedNonNullableExternalStruct) Reset()
func (*RepeatedNonNullableExternalStruct) String ¶
func (this *RepeatedNonNullableExternalStruct) String() string
type RepeatedScalar ¶
type RepeatedScalar struct { Field1 []float64 `protobuf:"fixed64,1,rep,name=Field1,json=field1" json:"Field1,omitempty"` Field2 []float32 `protobuf:"fixed32,2,rep,name=Field2,json=field2" json:"Field2,omitempty"` Field3 []int32 `protobuf:"varint,3,rep,name=Field3,json=field3" json:"Field3,omitempty"` Field4 []int64 `protobuf:"varint,4,rep,name=Field4,json=field4" json:"Field4,omitempty"` Field5 []uint32 `protobuf:"varint,5,rep,name=Field5,json=field5" json:"Field5,omitempty"` Field6 []uint64 `protobuf:"varint,6,rep,name=Field6,json=field6" json:"Field6,omitempty"` Field7 []int32 `protobuf:"zigzag32,7,rep,name=Field7,json=field7" json:"Field7,omitempty"` Field8 []int64 `protobuf:"zigzag64,8,rep,name=Field8,json=field8" json:"Field8,omitempty"` Field9 []uint32 `protobuf:"fixed32,9,rep,name=Field9,json=field9" json:"Field9,omitempty"` Field10 []int32 `protobuf:"fixed32,10,rep,name=Field10,json=field10" json:"Field10,omitempty"` Field11 []uint64 `protobuf:"fixed64,11,rep,name=Field11,json=field11" json:"Field11,omitempty"` Field12 []int64 `protobuf:"fixed64,12,rep,name=Field12,json=field12" json:"Field12,omitempty"` Field13 []bool `protobuf:"varint,13,rep,name=Field13,json=field13" json:"Field13,omitempty"` Field14 []string `protobuf:"bytes,14,rep,name=Field14,json=field14" json:"Field14,omitempty"` Field15 [][]byte `protobuf:"bytes,15,rep,name=Field15,json=field15" json:"Field15,omitempty"` }
func NewPopulatedRepeatedScalar ¶
func NewPopulatedRepeatedScalar(r randyDeepcopy, easy bool) *RepeatedScalar
func (*RepeatedScalar) Copy ¶
func (m *RepeatedScalar) Copy() *RepeatedScalar
func (*RepeatedScalar) Descriptor ¶
func (*RepeatedScalar) Descriptor() ([]byte, []int)
func (*RepeatedScalar) Equal ¶
func (this *RepeatedScalar) Equal(that interface{}) bool
func (*RepeatedScalar) ProtoMessage ¶
func (*RepeatedScalar) ProtoMessage()
func (*RepeatedScalar) Reset ¶
func (m *RepeatedScalar) Reset()
func (*RepeatedScalar) String ¶
func (this *RepeatedScalar) String() string
type RepeatedScalarPacked ¶
type RepeatedScalarPacked struct { Field1 []float64 `protobuf:"fixed64,1,rep,packed,name=Field1,json=field1" json:"Field1,omitempty"` Field2 []float32 `protobuf:"fixed32,2,rep,packed,name=Field2,json=field2" json:"Field2,omitempty"` Field3 []int32 `protobuf:"varint,3,rep,packed,name=Field3,json=field3" json:"Field3,omitempty"` Field4 []int64 `protobuf:"varint,4,rep,packed,name=Field4,json=field4" json:"Field4,omitempty"` Field5 []uint32 `protobuf:"varint,5,rep,packed,name=Field5,json=field5" json:"Field5,omitempty"` Field6 []uint64 `protobuf:"varint,6,rep,packed,name=Field6,json=field6" json:"Field6,omitempty"` Field7 []int32 `protobuf:"zigzag32,7,rep,packed,name=Field7,json=field7" json:"Field7,omitempty"` Field8 []int64 `protobuf:"zigzag64,8,rep,packed,name=Field8,json=field8" json:"Field8,omitempty"` Field9 []uint32 `protobuf:"fixed32,9,rep,packed,name=Field9,json=field9" json:"Field9,omitempty"` Field10 []int32 `protobuf:"fixed32,10,rep,packed,name=Field10,json=field10" json:"Field10,omitempty"` Field11 []uint64 `protobuf:"fixed64,11,rep,packed,name=Field11,json=field11" json:"Field11,omitempty"` Field12 []int64 `protobuf:"fixed64,12,rep,packed,name=Field12,json=field12" json:"Field12,omitempty"` Field13 []bool `protobuf:"varint,13,rep,packed,name=Field13,json=field13" json:"Field13,omitempty"` }
func NewPopulatedRepeatedScalarPacked ¶
func NewPopulatedRepeatedScalarPacked(r randyDeepcopy, easy bool) *RepeatedScalarPacked
func (*RepeatedScalarPacked) Copy ¶
func (m *RepeatedScalarPacked) Copy() *RepeatedScalarPacked
func (*RepeatedScalarPacked) Descriptor ¶
func (*RepeatedScalarPacked) Descriptor() ([]byte, []int)
func (*RepeatedScalarPacked) Equal ¶
func (this *RepeatedScalarPacked) Equal(that interface{}) bool
func (*RepeatedScalarPacked) ProtoMessage ¶
func (*RepeatedScalarPacked) ProtoMessage()
func (*RepeatedScalarPacked) Reset ¶
func (m *RepeatedScalarPacked) Reset()
func (*RepeatedScalarPacked) String ¶
func (this *RepeatedScalarPacked) String() string
Click to show internal directories.
Click to hide internal directories.