proto

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	// Types that are valid to be assigned to Pick:
	//
	//	*Bar_A
	//	*Bar_B
	Pick                 isBar_Pick `protobuf_oneof:"pick"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func NewPopulatedBar

func NewPopulatedBar(r randyOneofembed, easy bool) *Bar

func (*Bar) Compare added in v1.3.9

func (this *Bar) Compare(that interface{}) int

func (*Bar) Descriptor

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

func (*Bar) Equal

func (this *Bar) Equal(that interface{}) bool

func (*Bar) GetA

func (m *Bar) GetA() bool

func (*Bar) GetB

func (m *Bar) GetB() bool

func (*Bar) GetPick

func (m *Bar) GetPick() isBar_Pick

func (*Bar) IsNil added in v1.4.9

func (m *Bar) IsNil() bool

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

func (*Bar) XXX_DiscardUnknown added in v1.1.0

func (m *Bar) XXX_DiscardUnknown()

func (*Bar) XXX_Marshal added in v1.1.0

func (m *Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bar) XXX_Merge added in v1.1.0

func (m *Bar) XXX_Merge(src proto.Message)

func (*Bar) XXX_OneofWrappers added in v1.3.9

func (*Bar) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Bar) XXX_Size added in v1.1.0

func (m *Bar) XXX_Size() int

func (*Bar) XXX_Unmarshal added in v1.1.0

func (m *Bar) XXX_Unmarshal(b []byte) error

type Bar_A

type Bar_A struct {
	A bool `protobuf:"varint,11,opt,name=a,proto3,oneof" json:"a,omitempty"`
}

func NewPopulatedBar_A

func NewPopulatedBar_A(r randyOneofembed, easy bool) *Bar_A

func (*Bar_A) Compare added in v1.3.9

func (this *Bar_A) Compare(that interface{}) int

func (*Bar_A) Equal

func (this *Bar_A) Equal(that interface{}) bool

type Bar_B

type Bar_B struct {
	B bool `protobuf:"varint,12,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func NewPopulatedBar_B

func NewPopulatedBar_B(r randyOneofembed, easy bool) *Bar_B

func (*Bar_B) Compare added in v1.3.9

func (this *Bar_B) Compare(that interface{}) int

func (*Bar_B) Equal

func (this *Bar_B) Equal(that interface{}) bool

type Foo

type Foo struct {
	*Bar                 `protobuf:"bytes,1,opt,name=bar,proto3,embedded=bar" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFoo

func NewPopulatedFoo(r randyOneofembed, easy bool) *Foo

func (*Foo) Compare added in v1.3.9

func (this *Foo) Compare(that interface{}) int

func (*Foo) Descriptor

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

func (*Foo) Equal

func (this *Foo) Equal(that interface{}) bool

func (*Foo) IsNil added in v1.4.9

func (m *Foo) IsNil() bool

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) XXX_DiscardUnknown added in v1.1.0

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal added in v1.1.0

func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Foo) XXX_Merge added in v1.1.0

func (m *Foo) XXX_Merge(src proto.Message)

func (*Foo) XXX_Size added in v1.1.0

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal added in v1.1.0

func (m *Foo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL