Help us shape the future of Go! Take the 2026 Go Developer Survey

issue617

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIssue617        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIssue617          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIssue617 = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Foo

type Foo struct {
	// Types that are valid to be assigned to Details:
	//	*Foo_Bar_
	Details              isFoo_Details `protobuf_oneof:"details"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Foo) Descriptor

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

func (*Foo) GetBar

func (m *Foo) GetBar() *Foo_Bar

func (*Foo) GetDetails

func (m *Foo) GetDetails() isFoo_Details

func (*Foo) Marshal

func (m *Foo) Marshal() (dAtA []byte, err error)

func (*Foo) MarshalTo

func (m *Foo) MarshalTo(dAtA []byte) (int, error)

func (*Foo) MarshalToSizedBuffer

func (m *Foo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) ProtoSize

func (m *Foo) ProtoSize() (n int)

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) Unmarshal

func (m *Foo) Unmarshal(dAtA []byte) error

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

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

func (*Foo) XXX_Merge

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

func (*Foo) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

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

type Foo_Bar

type Foo_Bar struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Foo_Bar) Descriptor

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

func (*Foo_Bar) Marshal

func (m *Foo_Bar) Marshal() (dAtA []byte, err error)

func (*Foo_Bar) MarshalTo

func (m *Foo_Bar) MarshalTo(dAtA []byte) (int, error)

func (*Foo_Bar) MarshalToSizedBuffer

func (m *Foo_Bar) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Foo_Bar) ProtoMessage

func (*Foo_Bar) ProtoMessage()

func (*Foo_Bar) ProtoSize

func (m *Foo_Bar) ProtoSize() (n int)

func (*Foo_Bar) Reset

func (m *Foo_Bar) Reset()

func (*Foo_Bar) String

func (m *Foo_Bar) String() string

func (*Foo_Bar) Unmarshal

func (m *Foo_Bar) Unmarshal(dAtA []byte) error

func (*Foo_Bar) XXX_DiscardUnknown

func (m *Foo_Bar) XXX_DiscardUnknown()

func (*Foo_Bar) XXX_Marshal

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

func (*Foo_Bar) XXX_Merge

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

func (*Foo_Bar) XXX_Size

func (m *Foo_Bar) XXX_Size() int

func (*Foo_Bar) XXX_Unmarshal

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

type Foo_Bar_

type Foo_Bar_ struct {
	Bar *Foo_Bar `protobuf:"bytes,1,opt,name=bar,proto3,oneof" json:"bar,omitempty"`
}

func (*Foo_Bar_) MarshalTo

func (m *Foo_Bar_) MarshalTo(dAtA []byte) (int, error)

func (*Foo_Bar_) MarshalToSizedBuffer

func (m *Foo_Bar_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Foo_Bar_) ProtoSize

func (m *Foo_Bar_) ProtoSize() (n int)

Jump to

Keyboard shortcuts

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