internal

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Test_MsgId_name = map[int32]string{
		0:    "Test_None",
		1001: "Test_Echo",
	}
	Test_MsgId_value = map[string]int32{
		"Test_None": 0,
		"Test_Echo": 1001,
	}
)

Enum value maps for Test_MsgId.

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Test_EchoRequest

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

func (*Test_EchoRequest) Descriptor deprecated

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

Deprecated: Use Test_EchoRequest.ProtoReflect.Descriptor instead.

func (*Test_EchoRequest) GetMessage

func (x *Test_EchoRequest) GetMessage() string

func (*Test_EchoRequest) ProtoMessage

func (*Test_EchoRequest) ProtoMessage()

func (*Test_EchoRequest) ProtoReflect

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

func (*Test_EchoRequest) Reset

func (x *Test_EchoRequest) Reset()

func (*Test_EchoRequest) String

func (x *Test_EchoRequest) String() string

type Test_EchoResponse

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

func (*Test_EchoResponse) Descriptor deprecated

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

Deprecated: Use Test_EchoResponse.ProtoReflect.Descriptor instead.

func (*Test_EchoResponse) GetMessage

func (x *Test_EchoResponse) GetMessage() string

func (*Test_EchoResponse) ProtoMessage

func (*Test_EchoResponse) ProtoMessage()

func (*Test_EchoResponse) ProtoReflect

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

func (*Test_EchoResponse) Reset

func (x *Test_EchoResponse) Reset()

func (*Test_EchoResponse) String

func (x *Test_EchoResponse) String() string

type Test_MsgId

type Test_MsgId int32
const (
	Test_MsgId_Test_None Test_MsgId = 0
	Test_MsgId_Test_Echo Test_MsgId = 1001 // 透传
)

func (Test_MsgId) Descriptor

func (Test_MsgId) Descriptor() protoreflect.EnumDescriptor

func (Test_MsgId) Enum

func (x Test_MsgId) Enum() *Test_MsgId

func (Test_MsgId) EnumDescriptor deprecated

func (Test_MsgId) EnumDescriptor() ([]byte, []int)

Deprecated: Use Test_MsgId.Descriptor instead.

func (Test_MsgId) Number

func (x Test_MsgId) Number() protoreflect.EnumNumber

func (Test_MsgId) String

func (x Test_MsgId) String() string

func (Test_MsgId) Type

Jump to

Keyboard shortcuts

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