proto

package
v0.0.0-...-bd135c8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msg1

type Msg1 struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   int32    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Msg1) Descriptor

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

func (*Msg1) GetId

func (m *Msg1) GetId() int32

func (*Msg1) GetName

func (m *Msg1) GetName() string

func (*Msg1) ProtoMessage

func (*Msg1) ProtoMessage()

func (*Msg1) Reset

func (m *Msg1) Reset()

func (*Msg1) String

func (m *Msg1) String() string

func (*Msg1) XXX_DiscardUnknown

func (m *Msg1) XXX_DiscardUnknown()

func (*Msg1) XXX_Marshal

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

func (*Msg1) XXX_Merge

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

func (*Msg1) XXX_Size

func (m *Msg1) XXX_Size() int

func (*Msg1) XXX_Unmarshal

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

type Msg2

type Msg2 struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Alias                string   `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	Id                   int32    `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Msg2) Descriptor

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

func (*Msg2) GetAlias

func (m *Msg2) GetAlias() string

func (*Msg2) GetId

func (m *Msg2) GetId() int32

func (*Msg2) GetName

func (m *Msg2) GetName() string

func (*Msg2) ProtoMessage

func (*Msg2) ProtoMessage()

func (*Msg2) Reset

func (m *Msg2) Reset()

func (*Msg2) String

func (m *Msg2) String() string

func (*Msg2) XXX_DiscardUnknown

func (m *Msg2) XXX_DiscardUnknown()

func (*Msg2) XXX_Marshal

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

func (*Msg2) XXX_Merge

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

func (*Msg2) XXX_Size

func (m *Msg2) XXX_Size() int

func (*Msg2) XXX_Unmarshal

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

type Response

type Response struct {
	Content              string   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetContent

func (m *Response) GetContent() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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