protobuf

package
v1.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ghttp_protobuf_simple_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SimpleMessage

type SimpleMessage struct {
	Description *string `protobuf:"bytes,1,req,name=description" json:"description,omitempty"`
	Id          *int32  `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
	Metadata    *string `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleMessage) Descriptor deprecated added in v1.32.0

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

Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.

func (*SimpleMessage) GetDescription

func (x *SimpleMessage) GetDescription() string

func (*SimpleMessage) GetId

func (x *SimpleMessage) GetId() int32

func (*SimpleMessage) GetMetadata

func (x *SimpleMessage) GetMetadata() string

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) ProtoReflect added in v1.32.0

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

func (*SimpleMessage) Reset

func (x *SimpleMessage) Reset()

func (*SimpleMessage) String

func (x *SimpleMessage) String() string

Jump to

Keyboard shortcuts

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