mwitkow_testproto

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoGoProtoStdTime added in v1.2.0

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 added in v1.2.0

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

func (*GoGoProtoStdTime) GetTimestamp added in v1.2.0

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

func (*GoGoProtoStdTime) ProtoMessage added in v1.2.0

func (*GoGoProtoStdTime) ProtoMessage()

func (*GoGoProtoStdTime) Reset added in v1.2.0

func (m *GoGoProtoStdTime) Reset()

func (*GoGoProtoStdTime) String added in v1.2.0

func (m *GoGoProtoStdTime) String() string

func (*GoGoProtoStdTime) XXX_DiscardUnknown added in v1.2.0

func (m *GoGoProtoStdTime) XXX_DiscardUnknown()

func (*GoGoProtoStdTime) XXX_Marshal added in v1.2.0

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

func (*GoGoProtoStdTime) XXX_Merge added in v1.2.0

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

func (*GoGoProtoStdTime) XXX_Size added in v1.2.0

func (m *GoGoProtoStdTime) XXX_Size() int

func (*GoGoProtoStdTime) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal added in v1.2.0

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

func (*Metadata) XXX_Merge added in v1.2.0

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

func (*Metadata) XXX_Size added in v1.2.0

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal added in v1.2.0

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

type OneOfLogField added in v1.3.0

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 added in v1.3.0

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

func (*OneOfLogField) GetBarId added in v1.3.0

func (m *OneOfLogField) GetBarId() string

func (*OneOfLogField) GetBazId added in v1.3.0

func (m *OneOfLogField) GetBazId() string

func (*OneOfLogField) GetIdentifier added in v1.3.0

func (m *OneOfLogField) GetIdentifier() isOneOfLogField_Identifier

func (*OneOfLogField) ProtoMessage added in v1.3.0

func (*OneOfLogField) ProtoMessage()

func (*OneOfLogField) Reset added in v1.3.0

func (m *OneOfLogField) Reset()

func (*OneOfLogField) String added in v1.3.0

func (m *OneOfLogField) String() string

func (*OneOfLogField) XXX_DiscardUnknown added in v1.3.0

func (m *OneOfLogField) XXX_DiscardUnknown()

func (*OneOfLogField) XXX_Marshal added in v1.3.0

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

func (*OneOfLogField) XXX_Merge added in v1.3.0

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

func (*OneOfLogField) XXX_OneofWrappers added in v1.3.0

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*OneOfLogField) XXX_Size added in v1.3.0

func (m *OneOfLogField) XXX_Size() int

func (*OneOfLogField) XXX_Unmarshal added in v1.3.0

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

type OneOfLogField_BarId added in v1.3.0

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 added in v1.3.0

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 added in v1.2.0

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 added in v1.2.0

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal added in v1.2.0

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

func (*Ping) XXX_Merge added in v1.2.0

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

func (*Ping) XXX_Size added in v1.2.0

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (m *PingId) XXX_DiscardUnknown()

func (*PingId) XXX_Marshal added in v1.2.0

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

func (*PingId) XXX_Merge added in v1.2.0

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

func (*PingId) XXX_Size added in v1.2.0

func (m *PingId) XXX_Size() int

func (*PingId) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal added in v1.2.0

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

func (*PingRequest) XXX_Merge added in v1.2.0

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

func (*PingRequest) XXX_Size added in v1.2.0

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (m *Pong) XXX_DiscardUnknown()

func (*Pong) XXX_Marshal added in v1.2.0

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

func (*Pong) XXX_Merge added in v1.2.0

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

func (*Pong) XXX_Size added in v1.2.0

func (m *Pong) XXX_Size() int

func (*Pong) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

func (m *PongRequest) XXX_DiscardUnknown()

func (*PongRequest) XXX_Marshal added in v1.2.0

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

func (*PongRequest) XXX_Merge added in v1.2.0

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

func (*PongRequest) XXX_Size added in v1.2.0

func (m *PongRequest) XXX_Size() int

func (*PongRequest) XXX_Unmarshal added in v1.2.0

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

Jump to

Keyboard shortcuts

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