...

Package merge

import "github.com/gogo/protobuf/test/merge"
Overview
Index

Overview ▾

type A

type A struct {
    B                    B        `protobuf:"bytes,1,opt,name=B,proto3" json:"B"`
    C                    []C      `protobuf:"bytes,2,rep,name=c,proto3" json:"c"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*A) Descriptor

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

func (*A) GetB

func (m *A) GetB() B

func (*A) GetC

func (m *A) GetC() []C

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) String

func (m *A) String() string

func (*A) XXX_DiscardUnknown

func (m *A) XXX_DiscardUnknown()

func (*A) XXX_Marshal

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

func (*A) XXX_Merge

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

func (*A) XXX_Size

func (m *A) XXX_Size() int

func (*A) XXX_Unmarshal

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

type B

type B struct {
    C                    int64    `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*B) Descriptor

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

func (*B) GetC

func (m *B) GetC() int64

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) String

func (m *B) String() string

func (*B) XXX_DiscardUnknown

func (m *B) XXX_DiscardUnknown()

func (*B) XXX_Marshal

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

func (*B) XXX_Merge

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

func (*B) XXX_Size

func (m *B) XXX_Size() int

func (*B) XXX_Unmarshal

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

type C

type C struct {
    D                    int64    `protobuf:"varint,1,opt,name=d,proto3" json:"d,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*C) Descriptor

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

func (*C) GetD

func (m *C) GetD() int64

func (*C) ProtoMessage

func (*C) ProtoMessage()

func (*C) Reset

func (m *C) Reset()

func (*C) String

func (m *C) String() string

func (*C) XXX_DiscardUnknown

func (m *C) XXX_DiscardUnknown()

func (*C) XXX_Marshal

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

func (*C) XXX_Merge

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

func (*C) XXX_Size

func (m *C) XXX_Size() int

func (*C) XXX_Unmarshal

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