tests

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tests_demo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Book

type Book struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Book) Descriptor deprecated

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

Deprecated: Use Book.ProtoReflect.Descriptor instead.

func (*Book) GetName

func (x *Book) GetName() string

func (*Book) ProtoMessage

func (*Book) ProtoMessage()

func (*Book) ProtoReflect

func (x *Book) ProtoReflect() protoreflect.Message

func (*Book) Reset

func (x *Book) Reset()

func (*Book) String

func (x *Book) String() string

type Message

type Message struct {
	MessageId  string      `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Name       string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	PageSize   int32       `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken  string      `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	SubMessage *SubMessage `protobuf:"bytes,5,opt,name=sub_message,json=subMessage,proto3" json:"sub_message,omitempty"`
	Book       *Book       `protobuf:"bytes,7,opt,name=book,proto3" json:"book,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBook

func (x *Message) GetBook() *Book

func (*Message) GetMessageId

func (x *Message) GetMessageId() string

func (*Message) GetName

func (x *Message) GetName() string

func (*Message) GetPageSize

func (x *Message) GetPageSize() int32

func (*Message) GetPageToken

func (x *Message) GetPageToken() string

func (*Message) GetSubMessage

func (x *Message) GetSubMessage() *SubMessage

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type SubMessage

type SubMessage struct {
	Address       string         `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	SubSubMessage *SubSubMessage `protobuf:"bytes,2,opt,name=sub_sub_message,json=subSubMessage,proto3" json:"sub_sub_message,omitempty"`
	// contains filtered or unexported fields
}

func (*SubMessage) Descriptor deprecated

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

Deprecated: Use SubMessage.ProtoReflect.Descriptor instead.

func (*SubMessage) GetAddress

func (x *SubMessage) GetAddress() string

func (*SubMessage) GetSubSubMessage

func (x *SubMessage) GetSubSubMessage() *SubSubMessage

func (*SubMessage) ProtoMessage

func (*SubMessage) ProtoMessage()

func (*SubMessage) ProtoReflect

func (x *SubMessage) ProtoReflect() protoreflect.Message

func (*SubMessage) Reset

func (x *SubMessage) Reset()

func (*SubMessage) String

func (x *SubMessage) String() string

type SubSubMessage

type SubSubMessage struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*SubSubMessage) Descriptor deprecated

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

Deprecated: Use SubSubMessage.ProtoReflect.Descriptor instead.

func (*SubSubMessage) GetText

func (x *SubSubMessage) GetText() string

func (*SubSubMessage) GetTitle

func (x *SubSubMessage) GetTitle() string

func (*SubSubMessage) ProtoMessage

func (*SubSubMessage) ProtoMessage()

func (*SubSubMessage) ProtoReflect

func (x *SubSubMessage) ProtoReflect() protoreflect.Message

func (*SubSubMessage) Reset

func (x *SubSubMessage) Reset()

func (*SubSubMessage) String

func (x *SubSubMessage) String() string

Jump to

Keyboard shortcuts

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