...

Package protobuf

import "github.com/onsi/gomega/ghttp/protobuf"
Overview
Index

Overview ▾

Variables

var File_ghttp_protobuf_simple_message_proto protoreflect.FileDescriptor

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