...

Package mwitkow_testproto

import "github.com/grpc-ecosystem/go-grpc-middleware/testing/gogotestproto"
Overview
Index

Overview ▾

Index ▾

type GoGoProtoStdTime
    func (*GoGoProtoStdTime) Descriptor() ([]byte, []int)
    func (m *GoGoProtoStdTime) GetTimestamp() *time.Time
    func (*GoGoProtoStdTime) ProtoMessage()
    func (m *GoGoProtoStdTime) Reset()
    func (m *GoGoProtoStdTime) String() string
    func (m *GoGoProtoStdTime) XXX_DiscardUnknown()
    func (m *GoGoProtoStdTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *GoGoProtoStdTime) XXX_Merge(src proto.Message)
    func (m *GoGoProtoStdTime) XXX_Size() int
    func (m *GoGoProtoStdTime) XXX_Unmarshal(b []byte) error
type Metadata
    func (*Metadata) Descriptor() ([]byte, []int)
    func (m *Metadata) GetTags() []string
    func (*Metadata) ProtoMessage()
    func (m *Metadata) Reset()
    func (m *Metadata) String() string
    func (m *Metadata) XXX_DiscardUnknown()
    func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *Metadata) XXX_Merge(src proto.Message)
    func (m *Metadata) XXX_Size() int
    func (m *Metadata) XXX_Unmarshal(b []byte) error
type OneOfLogField
    func (*OneOfLogField) Descriptor() ([]byte, []int)
    func (m *OneOfLogField) GetBarId() string
    func (m *OneOfLogField) GetBazId() string
    func (m *OneOfLogField) GetIdentifier() isOneOfLogField_Identifier
    func (*OneOfLogField) ProtoMessage()
    func (m *OneOfLogField) Reset()
    func (m *OneOfLogField) String() string
    func (m *OneOfLogField) XXX_DiscardUnknown()
    func (m *OneOfLogField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *OneOfLogField) XXX_Merge(src proto.Message)
    func (*OneOfLogField) XXX_OneofWrappers() []interface{}
    func (m *OneOfLogField) XXX_Size() int
    func (m *OneOfLogField) XXX_Unmarshal(b []byte) error
type OneOfLogField_BarId
type OneOfLogField_BazId
type Ping
    func (*Ping) Descriptor() ([]byte, []int)
    func (m *Ping) GetId() *PingId
    func (m *Ping) GetValue() string
    func (*Ping) ProtoMessage()
    func (m *Ping) Reset()
    func (m *Ping) String() string
    func (m *Ping) XXX_DiscardUnknown()
    func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *Ping) XXX_Merge(src proto.Message)
    func (m *Ping) XXX_Size() int
    func (m *Ping) XXX_Unmarshal(b []byte) error
type PingId
    func (*PingId) Descriptor() ([]byte, []int)
    func (m *PingId) GetId() int32
    func (*PingId) ProtoMessage()
    func (m *PingId) Reset()
    func (m *PingId) String() string
    func (m *PingId) XXX_DiscardUnknown()
    func (m *PingId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *PingId) XXX_Merge(src proto.Message)
    func (m *PingId) XXX_Size() int
    func (m *PingId) XXX_Unmarshal(b []byte) error
type PingRequest
    func (*PingRequest) Descriptor() ([]byte, []int)
    func (m *PingRequest) GetMeta() *Metadata
    func (m *PingRequest) GetPing() *Ping
    func (*PingRequest) ProtoMessage()
    func (m *PingRequest) Reset()
    func (m *PingRequest) String() string
    func (m *PingRequest) XXX_DiscardUnknown()
    func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *PingRequest) XXX_Merge(src proto.Message)
    func (m *PingRequest) XXX_Size() int
    func (m *PingRequest) XXX_Unmarshal(b []byte) error
type Pong
    func (*Pong) Descriptor() ([]byte, []int)
    func (m *Pong) GetId() string
    func (*Pong) ProtoMessage()
    func (m *Pong) Reset()
    func (m *Pong) String() string
    func (m *Pong) XXX_DiscardUnknown()
    func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *Pong) XXX_Merge(src proto.Message)
    func (m *Pong) XXX_Size() int
    func (m *Pong) XXX_Unmarshal(b []byte) error
type PongRequest
    func (*PongRequest) Descriptor() ([]byte, []int)
    func (m *PongRequest) GetMeta() *Metadata
    func (m *PongRequest) GetPong() *Pong
    func (*PongRequest) ProtoMessage()
    func (m *PongRequest) Reset()
    func (m *PongRequest) String() string
    func (m *PongRequest) XXX_DiscardUnknown()
    func (m *PongRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *PongRequest) XXX_Merge(src proto.Message)
    func (m *PongRequest) XXX_Size() int
    func (m *PongRequest) XXX_Unmarshal(b []byte) error

Package files

fields.pb.go

type GoGoProtoStdTime

type GoGoProtoStdTime struct {
    Timestamp            *time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*GoGoProtoStdTime) Descriptor

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

func (*GoGoProtoStdTime) GetTimestamp

func (m *GoGoProtoStdTime) GetTimestamp() *time.Time

func (*GoGoProtoStdTime) ProtoMessage

func (*GoGoProtoStdTime) ProtoMessage()

func (*GoGoProtoStdTime) Reset

func (m *GoGoProtoStdTime) Reset()

func (*GoGoProtoStdTime) String

func (m *GoGoProtoStdTime) String() string

func (*GoGoProtoStdTime) XXX_DiscardUnknown

func (m *GoGoProtoStdTime) XXX_DiscardUnknown()

func (*GoGoProtoStdTime) XXX_Marshal

func (m *GoGoProtoStdTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoGoProtoStdTime) XXX_Merge

func (m *GoGoProtoStdTime) XXX_Merge(src proto.Message)

func (*GoGoProtoStdTime) XXX_Size

func (m *GoGoProtoStdTime) XXX_Size() int

func (*GoGoProtoStdTime) XXX_Unmarshal

func (m *GoGoProtoStdTime) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
    Tags                 []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" log_field:"meta_tags"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetTags

func (m *Metadata) GetTags() []string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type OneOfLogField

type OneOfLogField struct {
    // Types that are valid to be assigned to Identifier:
    //	*OneOfLogField_BarId
    //	*OneOfLogField_BazId
    Identifier           isOneOfLogField_Identifier `protobuf_oneof:"identifier"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

func (*OneOfLogField) Descriptor

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

func (*OneOfLogField) GetBarId

func (m *OneOfLogField) GetBarId() string

func (*OneOfLogField) GetBazId

func (m *OneOfLogField) GetBazId() string

func (*OneOfLogField) GetIdentifier

func (m *OneOfLogField) GetIdentifier() isOneOfLogField_Identifier

func (*OneOfLogField) ProtoMessage

func (*OneOfLogField) ProtoMessage()

func (*OneOfLogField) Reset

func (m *OneOfLogField) Reset()

func (*OneOfLogField) String

func (m *OneOfLogField) String() string

func (*OneOfLogField) XXX_DiscardUnknown

func (m *OneOfLogField) XXX_DiscardUnknown()

func (*OneOfLogField) XXX_Marshal

func (m *OneOfLogField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OneOfLogField) XXX_Merge

func (m *OneOfLogField) XXX_Merge(src proto.Message)

func (*OneOfLogField) XXX_OneofWrappers

func (*OneOfLogField) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OneOfLogField) XXX_Size

func (m *OneOfLogField) XXX_Size() int

func (*OneOfLogField) XXX_Unmarshal

func (m *OneOfLogField) XXX_Unmarshal(b []byte) error

type OneOfLogField_BarId

type OneOfLogField_BarId struct {
    BarId string `protobuf:"bytes,1,opt,name=bar_id,json=barId,proto3,oneof" json:"bar_id,omitempty" log_field:"bar_id"`
}

type OneOfLogField_BazId

type OneOfLogField_BazId struct {
    BazId string `protobuf:"bytes,2,opt,name=baz_id,json=bazId,proto3,oneof" json:"baz_id,omitempty" log_field:"baz_id"`
}

type Ping

type Ping struct {
    Id                   *PingId  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Ping) Descriptor

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

func (*Ping) GetId

func (m *Ping) GetId() *PingId

func (*Ping) GetValue

func (m *Ping) GetValue() string

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) String

func (m *Ping) String() string

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge

func (m *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

func (m *Ping) XXX_Unmarshal(b []byte) error

type PingId

type PingId struct {
    Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" log_field:"ping_id"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*PingId) Descriptor

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

func (*PingId) GetId

func (m *PingId) GetId() int32

func (*PingId) ProtoMessage

func (*PingId) ProtoMessage()

func (*PingId) Reset

func (m *PingId) Reset()

func (*PingId) String

func (m *PingId) String() string

func (*PingId) XXX_DiscardUnknown

func (m *PingId) XXX_DiscardUnknown()

func (*PingId) XXX_Marshal

func (m *PingId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingId) XXX_Merge

func (m *PingId) XXX_Merge(src proto.Message)

func (*PingId) XXX_Size

func (m *PingId) XXX_Size() int

func (*PingId) XXX_Unmarshal

func (m *PingId) XXX_Unmarshal(b []byte) error

type PingRequest

type PingRequest struct {
    Ping                 *Ping     `protobuf:"bytes,1,opt,name=ping,proto3" json:"ping,omitempty"`
    Meta                 *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*PingRequest) Descriptor

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

func (*PingRequest) GetMeta

func (m *PingRequest) GetMeta() *Metadata

func (*PingRequest) GetPing

func (m *PingRequest) GetPing() *Ping

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

func (*PingRequest) XXX_DiscardUnknown

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal

func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingRequest) XXX_Merge

func (m *PingRequest) XXX_Merge(src proto.Message)

func (*PingRequest) XXX_Size

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal

func (m *PingRequest) XXX_Unmarshal(b []byte) error

type Pong

type Pong struct {
    Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" log_field:"pong_id"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Pong) Descriptor

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

func (*Pong) GetId

func (m *Pong) GetId() string

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) String

func (m *Pong) String() string

func (*Pong) XXX_DiscardUnknown

func (m *Pong) XXX_DiscardUnknown()

func (*Pong) XXX_Marshal

func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pong) XXX_Merge

func (m *Pong) XXX_Merge(src proto.Message)

func (*Pong) XXX_Size

func (m *Pong) XXX_Size() int

func (*Pong) XXX_Unmarshal

func (m *Pong) XXX_Unmarshal(b []byte) error

type PongRequest

type PongRequest struct {
    Pong                 *Pong     `protobuf:"bytes,1,opt,name=pong,proto3" json:"pong,omitempty"`
    Meta                 *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*PongRequest) Descriptor

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

func (*PongRequest) GetMeta

func (m *PongRequest) GetMeta() *Metadata

func (*PongRequest) GetPong

func (m *PongRequest) GetPong() *Pong

func (*PongRequest) ProtoMessage

func (*PongRequest) ProtoMessage()

func (*PongRequest) Reset

func (m *PongRequest) Reset()

func (*PongRequest) String

func (m *PongRequest) String() string

func (*PongRequest) XXX_DiscardUnknown

func (m *PongRequest) XXX_DiscardUnknown()

func (*PongRequest) XXX_Marshal

func (m *PongRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PongRequest) XXX_Merge

func (m *PongRequest) XXX_Merge(src proto.Message)

func (*PongRequest) XXX_Size

func (m *PongRequest) XXX_Size() int

func (*PongRequest) XXX_Unmarshal

func (m *PongRequest) XXX_Unmarshal(b []byte) error