// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: fields.proto // This file is used for testing discovery of log fields from requests using reflection and gogo proto more tags. package mwitkow_testproto import ( fmt "fmt" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/timestamp" math "math" time "time" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 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 (m *Metadata) Reset() { *m = Metadata{} } func (m *Metadata) String() string { return proto.CompactTextString(m) } func (*Metadata) ProtoMessage() {} func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{0} } func (m *Metadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Metadata.Unmarshal(m, b) } func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) } func (m *Metadata) XXX_Merge(src proto.Message) { xxx_messageInfo_Metadata.Merge(m, src) } func (m *Metadata) XXX_Size() int { return xxx_messageInfo_Metadata.Size(m) } func (m *Metadata) XXX_DiscardUnknown() { xxx_messageInfo_Metadata.DiscardUnknown(m) } var xxx_messageInfo_Metadata proto.InternalMessageInfo func (m *Metadata) GetTags() []string { if m != nil { return m.Tags } return nil } 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 (m *PingId) Reset() { *m = PingId{} } func (m *PingId) String() string { return proto.CompactTextString(m) } func (*PingId) ProtoMessage() {} func (*PingId) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{1} } func (m *PingId) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PingId.Unmarshal(m, b) } func (m *PingId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PingId.Marshal(b, m, deterministic) } func (m *PingId) XXX_Merge(src proto.Message) { xxx_messageInfo_PingId.Merge(m, src) } func (m *PingId) XXX_Size() int { return xxx_messageInfo_PingId.Size(m) } func (m *PingId) XXX_DiscardUnknown() { xxx_messageInfo_PingId.DiscardUnknown(m) } var xxx_messageInfo_PingId proto.InternalMessageInfo func (m *PingId) GetId() int32 { if m != nil { return m.Id } return 0 } 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 (m *Ping) Reset() { *m = Ping{} } func (m *Ping) String() string { return proto.CompactTextString(m) } func (*Ping) ProtoMessage() {} func (*Ping) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{2} } func (m *Ping) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Ping.Unmarshal(m, b) } func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Ping.Marshal(b, m, deterministic) } func (m *Ping) XXX_Merge(src proto.Message) { xxx_messageInfo_Ping.Merge(m, src) } func (m *Ping) XXX_Size() int { return xxx_messageInfo_Ping.Size(m) } func (m *Ping) XXX_DiscardUnknown() { xxx_messageInfo_Ping.DiscardUnknown(m) } var xxx_messageInfo_Ping proto.InternalMessageInfo func (m *Ping) GetId() *PingId { if m != nil { return m.Id } return nil } func (m *Ping) GetValue() string { if m != nil { return m.Value } return "" } 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 (m *PingRequest) Reset() { *m = PingRequest{} } func (m *PingRequest) String() string { return proto.CompactTextString(m) } func (*PingRequest) ProtoMessage() {} func (*PingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{3} } func (m *PingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PingRequest.Unmarshal(m, b) } func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) } func (m *PingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PingRequest.Merge(m, src) } func (m *PingRequest) XXX_Size() int { return xxx_messageInfo_PingRequest.Size(m) } func (m *PingRequest) XXX_DiscardUnknown() { xxx_messageInfo_PingRequest.DiscardUnknown(m) } var xxx_messageInfo_PingRequest proto.InternalMessageInfo func (m *PingRequest) GetPing() *Ping { if m != nil { return m.Ping } return nil } func (m *PingRequest) GetMeta() *Metadata { if m != nil { return m.Meta } return nil } 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 (m *Pong) Reset() { *m = Pong{} } func (m *Pong) String() string { return proto.CompactTextString(m) } func (*Pong) ProtoMessage() {} func (*Pong) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{4} } func (m *Pong) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Pong.Unmarshal(m, b) } func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Pong.Marshal(b, m, deterministic) } func (m *Pong) XXX_Merge(src proto.Message) { xxx_messageInfo_Pong.Merge(m, src) } func (m *Pong) XXX_Size() int { return xxx_messageInfo_Pong.Size(m) } func (m *Pong) XXX_DiscardUnknown() { xxx_messageInfo_Pong.DiscardUnknown(m) } var xxx_messageInfo_Pong proto.InternalMessageInfo func (m *Pong) GetId() string { if m != nil { return m.Id } return "" } 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 (m *PongRequest) Reset() { *m = PongRequest{} } func (m *PongRequest) String() string { return proto.CompactTextString(m) } func (*PongRequest) ProtoMessage() {} func (*PongRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{5} } func (m *PongRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PongRequest.Unmarshal(m, b) } func (m *PongRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PongRequest.Marshal(b, m, deterministic) } func (m *PongRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PongRequest.Merge(m, src) } func (m *PongRequest) XXX_Size() int { return xxx_messageInfo_PongRequest.Size(m) } func (m *PongRequest) XXX_DiscardUnknown() { xxx_messageInfo_PongRequest.DiscardUnknown(m) } var xxx_messageInfo_PongRequest proto.InternalMessageInfo func (m *PongRequest) GetPong() *Pong { if m != nil { return m.Pong } return nil } func (m *PongRequest) GetMeta() *Metadata { if m != nil { return m.Meta } return nil } 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 (m *GoGoProtoStdTime) Reset() { *m = GoGoProtoStdTime{} } func (m *GoGoProtoStdTime) String() string { return proto.CompactTextString(m) } func (*GoGoProtoStdTime) ProtoMessage() {} func (*GoGoProtoStdTime) Descriptor() ([]byte, []int) { return fileDescriptor_d39ad626ec0e575e, []int{6} } func (m *GoGoProtoStdTime) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GoGoProtoStdTime.Unmarshal(m, b) } func (m *GoGoProtoStdTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GoGoProtoStdTime.Marshal(b, m, deterministic) } func (m *GoGoProtoStdTime) XXX_Merge(src proto.Message) { xxx_messageInfo_GoGoProtoStdTime.Merge(m, src) } func (m *GoGoProtoStdTime) XXX_Size() int { return xxx_messageInfo_GoGoProtoStdTime.Size(m) } func (m *GoGoProtoStdTime) XXX_DiscardUnknown() { xxx_messageInfo_GoGoProtoStdTime.DiscardUnknown(m) } var xxx_messageInfo_GoGoProtoStdTime proto.InternalMessageInfo func (m *GoGoProtoStdTime) GetTimestamp() *time.Time { if m != nil { return m.Timestamp } return nil } func init() { proto.RegisterType((*Metadata)(nil), "mwitkow.testproto.Metadata") proto.RegisterType((*PingId)(nil), "mwitkow.testproto.PingId") proto.RegisterType((*Ping)(nil), "mwitkow.testproto.Ping") proto.RegisterType((*PingRequest)(nil), "mwitkow.testproto.PingRequest") proto.RegisterType((*Pong)(nil), "mwitkow.testproto.Pong") proto.RegisterType((*PongRequest)(nil), "mwitkow.testproto.PongRequest") proto.RegisterType((*GoGoProtoStdTime)(nil), "mwitkow.testproto.GoGoProtoStdTime") } func init() { proto.RegisterFile("fields.proto", fileDescriptor_d39ad626ec0e575e) } var fileDescriptor_d39ad626ec0e575e = []byte{ // 362 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xbd, 0x4e, 0xf3, 0x30, 0x18, 0x85, 0xbf, 0xf4, 0x4b, 0x2b, 0xe2, 0x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