package protobuf
import "github.com/onsi/gomega/ghttp/protobuf"
Index ¶
- Variables
- type SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)
- func (x *SimpleMessage) GetDescription() string
- func (x *SimpleMessage) GetId() int32
- func (x *SimpleMessage) GetMetadata() string
- func (*SimpleMessage) ProtoMessage()
- func (x *SimpleMessage) ProtoReflect() protoreflect.Message
- func (x *SimpleMessage) Reset()
- func (x *SimpleMessage) String() string
Variables ¶
var File_ghttp_protobuf_simple_message_proto protoreflect.FileDescriptor
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 ¶
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 ¶
func (x *SimpleMessage) ProtoReflect() protoreflect.Message
func (*SimpleMessage) Reset ¶
func (x *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (x *SimpleMessage) String() string
Source Files ¶
protobuf.go simple_message.pb.go
- Version
- v1.37.0 (latest)
- Published
- Apr 2, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 13 minutes ago –
Tools for package owners.