examples

package
v0.0.0-...-fb24ed9 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var AliasedEnum_name = map[int32]string{
	0: "UNKNOWN",
	1: "STARTED",
}
View Source
var AliasedEnum_value = map[string]int32{
	"UNKNOWN": 0,
	"STARTED": 1,
	"RUNNING": 1,
}
View Source
var EnumMessage_Nested_name = map[int32]string{
	0: "UNKNOWN",
	1: "PENDING",
	2: "COMPLETED",
}
View Source
var EnumMessage_Nested_value = map[string]int32{
	"UNKNOWN":   0,
	"PENDING":   1,
	"COMPLETED": 2,
}
View Source
var NotLoggingEnumMessage_Nested_name = map[int32]string{
	0: "UNKNOWN",
	1: "PENDING",
	2: "COMPLETED",
}
View Source
var NotLoggingEnumMessage_Nested_value = map[string]int32{
	"UNKNOWN":   0,
	"PENDING":   1,
	"COMPLETED": 2,
}
View Source
var NumericEnum_name = map[int32]string{
	0: "ZERO",
	1: "ONE",
	2: "TWO",
}
View Source
var NumericEnum_value = map[string]int32{
	"ZERO": 0,
	"ONE":  1,
	"TWO":  2,
}

Functions

This section is empty.

Types

type AliasedEnum

type AliasedEnum int32
const (
	AliasedEnum_UNKNOWN AliasedEnum = 0
	AliasedEnum_STARTED AliasedEnum = 1
	AliasedEnum_RUNNING AliasedEnum = 1
)

func (AliasedEnum) EnumDescriptor

func (AliasedEnum) EnumDescriptor() ([]byte, []int)

func (AliasedEnum) String

func (x AliasedEnum) String() string

type EnumMessage

type EnumMessage struct {
	NumericEnumValue          NumericEnum          `` /* 161-byte string literal not displayed */
	RepeatedNumericEnumValues []NumericEnum        `` /* 197-byte string literal not displayed */
	AliasedEnumValue          AliasedEnum          `` /* 161-byte string literal not displayed */
	NestedEnumValue           EnumMessage_Nested   `` /* 165-byte string literal not displayed */
	RepeatedNestedEnumValues  []EnumMessage_Nested `` /* 201-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{}             `json:"-"`
	XXX_unrecognized          []byte               `json:"-"`
	XXX_sizecache             int32                `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("enum", &EnumMessage{
	NumericEnumValue: NumericEnum_ONE,
	RepeatedNumericEnumValues: []NumericEnum{
		NumericEnum_ONE,
		NumericEnum_TWO,
	},
	AliasedEnumValue: AliasedEnum_RUNNING,
	NestedEnumValue:  EnumMessage_PENDING,
	RepeatedNestedEnumValues: []EnumMessage_Nested{
		EnumMessage_PENDING,
		EnumMessage_COMPLETED,
	},
}))
Output:

{"level":"info","msg":"test","enum":{"numeric_enum_value":"ONE","repeated_numeric_enum_values":["ONE","TWO"],"aliased_enum_value":"STARTED","nested_enum_value":"PENDING","repeated_nested_enum_values":["PENDING","COMPLETED"]}}

func (*EnumMessage) Descriptor

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

func (*EnumMessage) GetAliasedEnumValue

func (m *EnumMessage) GetAliasedEnumValue() AliasedEnum

func (*EnumMessage) GetNestedEnumValue

func (m *EnumMessage) GetNestedEnumValue() EnumMessage_Nested

func (*EnumMessage) GetNumericEnumValue

func (m *EnumMessage) GetNumericEnumValue() NumericEnum

func (*EnumMessage) GetRepeatedNestedEnumValues

func (m *EnumMessage) GetRepeatedNestedEnumValues() []EnumMessage_Nested

func (*EnumMessage) GetRepeatedNumericEnumValues

func (m *EnumMessage) GetRepeatedNumericEnumValues() []NumericEnum

func (*EnumMessage) MarshalLogObject

func (m *EnumMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*EnumMessage) ProtoMessage

func (*EnumMessage) ProtoMessage()

func (*EnumMessage) Reset

func (m *EnumMessage) Reset()

func (*EnumMessage) String

func (m *EnumMessage) String() string

func (*EnumMessage) XXX_DiscardUnknown

func (m *EnumMessage) XXX_DiscardUnknown()

func (*EnumMessage) XXX_Marshal

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

func (*EnumMessage) XXX_Merge

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

func (*EnumMessage) XXX_Size

func (m *EnumMessage) XXX_Size() int

func (*EnumMessage) XXX_Unmarshal

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

type EnumMessage_Nested

type EnumMessage_Nested int32
const (
	EnumMessage_UNKNOWN   EnumMessage_Nested = 0
	EnumMessage_PENDING   EnumMessage_Nested = 1
	EnumMessage_COMPLETED EnumMessage_Nested = 2
)

func (EnumMessage_Nested) EnumDescriptor

func (EnumMessage_Nested) EnumDescriptor() ([]byte, []int)

func (EnumMessage_Nested) String

func (x EnumMessage_Nested) String() string

type JsonNameOptionMessage

type JsonNameOptionMessage struct {
	StringValue          string   `protobuf:"bytes,1,opt,name=string_value,json=renamed_value,proto3" json:"string_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("json_name", &JsonNameOptionMessage{
	StringValue: "xxx",
}))
Output:

{"level":"info","msg":"test","json_name":{"string_value":"xxx"}}

func (*JsonNameOptionMessage) Descriptor

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

func (*JsonNameOptionMessage) GetStringValue

func (m *JsonNameOptionMessage) GetStringValue() string

func (*JsonNameOptionMessage) MarshalLogObject

func (*JsonNameOptionMessage) ProtoMessage

func (*JsonNameOptionMessage) ProtoMessage()

func (*JsonNameOptionMessage) Reset

func (m *JsonNameOptionMessage) Reset()

func (*JsonNameOptionMessage) String

func (m *JsonNameOptionMessage) String() string

func (*JsonNameOptionMessage) XXX_DiscardUnknown

func (m *JsonNameOptionMessage) XXX_DiscardUnknown()

func (*JsonNameOptionMessage) XXX_Marshal

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

func (*JsonNameOptionMessage) XXX_Merge

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

func (*JsonNameOptionMessage) XXX_Size

func (m *JsonNameOptionMessage) XXX_Size() int

func (*JsonNameOptionMessage) XXX_Unmarshal

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

type MapMessage

type MapMessage struct {
	MappedValue          map[int32]string          `` /* 183-byte string literal not displayed */
	MappedEnumValue      map[string]NumericEnum    `` /* 246-byte string literal not displayed */
	MappedNestedValue    map[string]*NestedMessage `` /* 202-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("map", &MapMessage{
	MappedValue: map[int32]string{
		1: "foo",
		2: "bar",
	},
	MappedEnumValue: map[string]NumericEnum{
		"one": NumericEnum_ONE,
		"two": NumericEnum_TWO,
	},
	MappedNestedValue: map[string]*NestedMessage{
		"foo": &NestedMessage{
			NestedValue: &NestedMessage_Nested{
				Int32Value:  100,
				StringValue: "xxx",
			},
			RepeatedNestedValues: []*NestedMessage_Nested{
				{
					Int32Value:  200,
					StringValue: "yyy",
				},
				{
					Int32Value:  300,
					StringValue: "zzz",
				},
			},
		},
	},
}))
Output:

{"level":"info","msg":"test","map":{"mapped_value":{"1":"foo","2":"bar"},"mapped_enum_value":{"one":"ONE","two":"TWO"},"mapped_nested_value":{"foo":{"nested_value":{"int32_value":100,"string_value":"xxx"},"repeated_nested_values":[{"int32_value":200,"string_value":"yyy"},{"int32_value":300,"string_value":"zzz"}]}}}}

func (*MapMessage) Descriptor

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

func (*MapMessage) GetMappedEnumValue

func (m *MapMessage) GetMappedEnumValue() map[string]NumericEnum

func (*MapMessage) GetMappedNestedValue

func (m *MapMessage) GetMappedNestedValue() map[string]*NestedMessage

func (*MapMessage) GetMappedValue

func (m *MapMessage) GetMappedValue() map[int32]string

func (*MapMessage) MarshalLogObject

func (m *MapMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*MapMessage) ProtoMessage

func (*MapMessage) ProtoMessage()

func (*MapMessage) Reset

func (m *MapMessage) Reset()

func (*MapMessage) String

func (m *MapMessage) String() string

func (*MapMessage) XXX_DiscardUnknown

func (m *MapMessage) XXX_DiscardUnknown()

func (*MapMessage) XXX_Marshal

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

func (*MapMessage) XXX_Merge

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

func (*MapMessage) XXX_Size

func (m *MapMessage) XXX_Size() int

func (*MapMessage) XXX_Unmarshal

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

type MixedLoggingMessage

type MixedLoggingMessage struct {
	StringValue          string   `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	BoolValue            bool     `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
	Int32Value           int32    `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("mlm", &MixedLoggingMessage{
	StringValue: "xxx",
	BoolValue:   true,
	Int32Value:  1,
}))
// {"level":"info","msg":"test","mlm":{"string_value":"xxx","bool_value":true,"int32_value":1}}
Output:

func (*MixedLoggingMessage) Descriptor

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

func (*MixedLoggingMessage) GetBoolValue

func (m *MixedLoggingMessage) GetBoolValue() bool

func (*MixedLoggingMessage) GetInt32Value

func (m *MixedLoggingMessage) GetInt32Value() int32

func (*MixedLoggingMessage) GetStringValue

func (m *MixedLoggingMessage) GetStringValue() string

func (*MixedLoggingMessage) MarshalLogObject

func (*MixedLoggingMessage) ProtoMessage

func (*MixedLoggingMessage) ProtoMessage()

func (*MixedLoggingMessage) Reset

func (m *MixedLoggingMessage) Reset()

func (*MixedLoggingMessage) String

func (m *MixedLoggingMessage) String() string

func (*MixedLoggingMessage) XXX_DiscardUnknown

func (m *MixedLoggingMessage) XXX_DiscardUnknown()

func (*MixedLoggingMessage) XXX_Marshal

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

func (*MixedLoggingMessage) XXX_Merge

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

func (*MixedLoggingMessage) XXX_Size

func (m *MixedLoggingMessage) XXX_Size() int

func (*MixedLoggingMessage) XXX_Unmarshal

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

type NestedMessage

type NestedMessage struct {
	NestedValue          *NestedMessage_Nested   `protobuf:"bytes,1,opt,name=nested_value,json=nestedValue,proto3" json:"nested_value,omitempty"`
	RepeatedNestedValues []*NestedMessage_Nested `protobuf:"bytes,2,rep,name=repeated_nested_values,json=repeatedNestedValues,proto3" json:"repeated_nested_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("nested", &NestedMessage{
	NestedValue: &NestedMessage_Nested{
		Int32Value:  100,
		StringValue: "xxx",
	},
	RepeatedNestedValues: []*NestedMessage_Nested{
		{
			Int32Value:  200,
			StringValue: "yyy",
		},
		{
			Int32Value:  300,
			StringValue: "zzz",
		},
	},
}))
Output:

{"level":"info","msg":"test","nested":{"nested_value":{"int32_value":100,"string_value":"xxx"},"repeated_nested_values":[{"int32_value":200,"string_value":"yyy"},{"int32_value":300,"string_value":"zzz"}]}}

func (*NestedMessage) Descriptor

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

func (*NestedMessage) GetNestedValue

func (m *NestedMessage) GetNestedValue() *NestedMessage_Nested

func (*NestedMessage) GetRepeatedNestedValues

func (m *NestedMessage) GetRepeatedNestedValues() []*NestedMessage_Nested

func (*NestedMessage) MarshalLogObject

func (m *NestedMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*NestedMessage) ProtoMessage

func (*NestedMessage) ProtoMessage()

func (*NestedMessage) Reset

func (m *NestedMessage) Reset()

func (*NestedMessage) String

func (m *NestedMessage) String() string

func (*NestedMessage) XXX_DiscardUnknown

func (m *NestedMessage) XXX_DiscardUnknown()

func (*NestedMessage) XXX_Marshal

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

func (*NestedMessage) XXX_Merge

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

func (*NestedMessage) XXX_Size

func (m *NestedMessage) XXX_Size() int

func (*NestedMessage) XXX_Unmarshal

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

type NestedMessage_Nested

type NestedMessage_Nested struct {
	Int32Value           int32    `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	StringValue          string   `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NestedMessage_Nested) Descriptor

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

func (*NestedMessage_Nested) GetInt32Value

func (m *NestedMessage_Nested) GetInt32Value() int32

func (*NestedMessage_Nested) GetStringValue

func (m *NestedMessage_Nested) GetStringValue() string

func (*NestedMessage_Nested) MarshalLogObject

func (*NestedMessage_Nested) ProtoMessage

func (*NestedMessage_Nested) ProtoMessage()

func (*NestedMessage_Nested) Reset

func (m *NestedMessage_Nested) Reset()

func (*NestedMessage_Nested) String

func (m *NestedMessage_Nested) String() string

func (*NestedMessage_Nested) XXX_DiscardUnknown

func (m *NestedMessage_Nested) XXX_DiscardUnknown()

func (*NestedMessage_Nested) XXX_Marshal

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

func (*NestedMessage_Nested) XXX_Merge

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

func (*NestedMessage_Nested) XXX_Size

func (m *NestedMessage_Nested) XXX_Size() int

func (*NestedMessage_Nested) XXX_Unmarshal

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

type NotLoggingEnumMessage

type NotLoggingEnumMessage struct {
	NumericEnumValue          NumericEnum                    `` /* 161-byte string literal not displayed */
	RepeatedNumericEnumValues []NumericEnum                  `` /* 197-byte string literal not displayed */
	AliasedEnumValue          AliasedEnum                    `` /* 161-byte string literal not displayed */
	NestedEnumValue           NotLoggingEnumMessage_Nested   `` /* 175-byte string literal not displayed */
	RepeatedNestedEnumValues  []NotLoggingEnumMessage_Nested `` /* 211-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{}                       `json:"-"`
	XXX_unrecognized          []byte                         `json:"-"`
	XXX_sizecache             int32                          `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("enum", &NotLoggingEnumMessage{
	NumericEnumValue: NumericEnum_ONE,
	RepeatedNumericEnumValues: []NumericEnum{
		NumericEnum_ONE,
		NumericEnum_TWO,
	},
	AliasedEnumValue: AliasedEnum_RUNNING,
	NestedEnumValue:  NotLoggingEnumMessage_PENDING,
	RepeatedNestedEnumValues: []NotLoggingEnumMessage_Nested{
		NotLoggingEnumMessage_PENDING,
		NotLoggingEnumMessage_COMPLETED,
	},
}))
Output:

{"level":"info","msg":"test","enum":{"numeric_enum_value":"ONE","repeated_numeric_enum_values":["ONE","TWO"],"aliased_enum_value":"STARTED","nested_enum_value":"PENDING","repeated_nested_enum_values":["PENDING","COMPLETED"]}}

func (*NotLoggingEnumMessage) Descriptor

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

func (*NotLoggingEnumMessage) GetAliasedEnumValue

func (m *NotLoggingEnumMessage) GetAliasedEnumValue() AliasedEnum

func (*NotLoggingEnumMessage) GetNestedEnumValue

func (m *NotLoggingEnumMessage) GetNestedEnumValue() NotLoggingEnumMessage_Nested

func (*NotLoggingEnumMessage) GetNumericEnumValue

func (m *NotLoggingEnumMessage) GetNumericEnumValue() NumericEnum

func (*NotLoggingEnumMessage) GetRepeatedNestedEnumValues

func (m *NotLoggingEnumMessage) GetRepeatedNestedEnumValues() []NotLoggingEnumMessage_Nested

func (*NotLoggingEnumMessage) GetRepeatedNumericEnumValues

func (m *NotLoggingEnumMessage) GetRepeatedNumericEnumValues() []NumericEnum

func (*NotLoggingEnumMessage) MarshalLogObject

func (*NotLoggingEnumMessage) ProtoMessage

func (*NotLoggingEnumMessage) ProtoMessage()

func (*NotLoggingEnumMessage) Reset

func (m *NotLoggingEnumMessage) Reset()

func (*NotLoggingEnumMessage) String

func (m *NotLoggingEnumMessage) String() string

func (*NotLoggingEnumMessage) XXX_DiscardUnknown

func (m *NotLoggingEnumMessage) XXX_DiscardUnknown()

func (*NotLoggingEnumMessage) XXX_Marshal

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

func (*NotLoggingEnumMessage) XXX_Merge

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

func (*NotLoggingEnumMessage) XXX_Size

func (m *NotLoggingEnumMessage) XXX_Size() int

func (*NotLoggingEnumMessage) XXX_Unmarshal

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

type NotLoggingEnumMessage_Nested

type NotLoggingEnumMessage_Nested int32
const (
	NotLoggingEnumMessage_UNKNOWN   NotLoggingEnumMessage_Nested = 0
	NotLoggingEnumMessage_PENDING   NotLoggingEnumMessage_Nested = 1
	NotLoggingEnumMessage_COMPLETED NotLoggingEnumMessage_Nested = 2
)

func (NotLoggingEnumMessage_Nested) EnumDescriptor

func (NotLoggingEnumMessage_Nested) EnumDescriptor() ([]byte, []int)

func (NotLoggingEnumMessage_Nested) String

type NotLoggingJsonNameOptionMessage

type NotLoggingJsonNameOptionMessage struct {
	StringValue          string   `protobuf:"bytes,1,opt,name=string_value,json=renamed_value,proto3" json:"string_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("json_name", &NotLoggingJsonNameOptionMessage{
	StringValue: "xxx",
}))
Output:

{"level":"info","msg":"test","json_name":{"string_value":"xxx"}}

func (*NotLoggingJsonNameOptionMessage) Descriptor

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

func (*NotLoggingJsonNameOptionMessage) GetStringValue

func (m *NotLoggingJsonNameOptionMessage) GetStringValue() string

func (*NotLoggingJsonNameOptionMessage) MarshalLogObject

func (*NotLoggingJsonNameOptionMessage) ProtoMessage

func (*NotLoggingJsonNameOptionMessage) ProtoMessage()

func (*NotLoggingJsonNameOptionMessage) Reset

func (*NotLoggingJsonNameOptionMessage) String

func (*NotLoggingJsonNameOptionMessage) XXX_DiscardUnknown

func (m *NotLoggingJsonNameOptionMessage) XXX_DiscardUnknown()

func (*NotLoggingJsonNameOptionMessage) XXX_Marshal

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

func (*NotLoggingJsonNameOptionMessage) XXX_Merge

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

func (*NotLoggingJsonNameOptionMessage) XXX_Size

func (m *NotLoggingJsonNameOptionMessage) XXX_Size() int

func (*NotLoggingJsonNameOptionMessage) XXX_Unmarshal

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

type NotLoggingMapMessage

type NotLoggingMapMessage struct {
	MappedValue          map[int32]string          `` /* 183-byte string literal not displayed */
	MappedEnumValue      map[string]NumericEnum    `` /* 246-byte string literal not displayed */
	MappedNestedValue    map[string]*NestedMessage `` /* 202-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("map", &NotLoggingMapMessage{
	MappedValue: map[int32]string{
		1: "foo",
		2: "bar",
	},
	MappedEnumValue: map[string]NumericEnum{
		"one": NumericEnum_ONE,
		"two": NumericEnum_TWO,
	},
	MappedNestedValue: map[string]*NestedMessage{
		"foo": &NestedMessage{
			NestedValue: &NestedMessage_Nested{
				Int32Value:  100,
				StringValue: "xxx",
			},
			RepeatedNestedValues: []*NestedMessage_Nested{
				{
					Int32Value:  200,
					StringValue: "yyy",
				},
				{
					Int32Value:  300,
					StringValue: "zzz",
				},
			},
		},
	},
}))
Output:

{"level":"info","msg":"test","map":{"mapped_value":{"1":"foo","2":"bar"},"mapped_enum_value":{"one":"ONE","two":"TWO"},"mapped_nested_value":{"foo":{"nested_value":{"int32_value":100,"string_value":"xxx"},"repeated_nested_values":[{"int32_value":200,"string_value":"yyy"},{"int32_value":300,"string_value":"zzz"}]}}}}

func (*NotLoggingMapMessage) Descriptor

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

func (*NotLoggingMapMessage) GetMappedEnumValue

func (m *NotLoggingMapMessage) GetMappedEnumValue() map[string]NumericEnum

func (*NotLoggingMapMessage) GetMappedNestedValue

func (m *NotLoggingMapMessage) GetMappedNestedValue() map[string]*NestedMessage

func (*NotLoggingMapMessage) GetMappedValue

func (m *NotLoggingMapMessage) GetMappedValue() map[int32]string

func (*NotLoggingMapMessage) MarshalLogObject

func (*NotLoggingMapMessage) ProtoMessage

func (*NotLoggingMapMessage) ProtoMessage()

func (*NotLoggingMapMessage) Reset

func (m *NotLoggingMapMessage) Reset()

func (*NotLoggingMapMessage) String

func (m *NotLoggingMapMessage) String() string

func (*NotLoggingMapMessage) XXX_DiscardUnknown

func (m *NotLoggingMapMessage) XXX_DiscardUnknown()

func (*NotLoggingMapMessage) XXX_Marshal

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

func (*NotLoggingMapMessage) XXX_Merge

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

func (*NotLoggingMapMessage) XXX_Size

func (m *NotLoggingMapMessage) XXX_Size() int

func (*NotLoggingMapMessage) XXX_Unmarshal

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

type NotLoggingNestedMessage

type NotLoggingNestedMessage struct {
	NestedValue          *NotLoggingNestedMessage_Nested   `protobuf:"bytes,1,opt,name=nested_value,json=nestedValue,proto3" json:"nested_value,omitempty"`
	RepeatedNestedValues []*NotLoggingNestedMessage_Nested `protobuf:"bytes,2,rep,name=repeated_nested_values,json=repeatedNestedValues,proto3" json:"repeated_nested_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("nested", &NotLoggingNestedMessage{
	NestedValue: &NotLoggingNestedMessage_Nested{
		Int32Value:  100,
		StringValue: "xxx",
	},
	RepeatedNestedValues: []*NotLoggingNestedMessage_Nested{
		{
			Int32Value:  200,
			StringValue: "yyy",
		},
		{
			Int32Value:  300,
			StringValue: "zzz",
		},
	},
}))
Output:

{"level":"info","msg":"test","nested":{"nested_value":{"int32_value":100,"string_value":"xxx"},"repeated_nested_values":[{"int32_value":200,"string_value":"yyy"},{"int32_value":300,"string_value":"zzz"}]}}

func (*NotLoggingNestedMessage) Descriptor

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

func (*NotLoggingNestedMessage) GetNestedValue

func (*NotLoggingNestedMessage) GetRepeatedNestedValues

func (m *NotLoggingNestedMessage) GetRepeatedNestedValues() []*NotLoggingNestedMessage_Nested

func (*NotLoggingNestedMessage) MarshalLogObject

func (*NotLoggingNestedMessage) ProtoMessage

func (*NotLoggingNestedMessage) ProtoMessage()

func (*NotLoggingNestedMessage) Reset

func (m *NotLoggingNestedMessage) Reset()

func (*NotLoggingNestedMessage) String

func (m *NotLoggingNestedMessage) String() string

func (*NotLoggingNestedMessage) XXX_DiscardUnknown

func (m *NotLoggingNestedMessage) XXX_DiscardUnknown()

func (*NotLoggingNestedMessage) XXX_Marshal

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

func (*NotLoggingNestedMessage) XXX_Merge

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

func (*NotLoggingNestedMessage) XXX_Size

func (m *NotLoggingNestedMessage) XXX_Size() int

func (*NotLoggingNestedMessage) XXX_Unmarshal

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

type NotLoggingNestedMessage_Nested

type NotLoggingNestedMessage_Nested struct {
	Int32Value           int32    `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	StringValue          string   `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NotLoggingNestedMessage_Nested) Descriptor

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

func (*NotLoggingNestedMessage_Nested) GetInt32Value

func (m *NotLoggingNestedMessage_Nested) GetInt32Value() int32

func (*NotLoggingNestedMessage_Nested) GetStringValue

func (m *NotLoggingNestedMessage_Nested) GetStringValue() string

func (*NotLoggingNestedMessage_Nested) MarshalLogObject

func (*NotLoggingNestedMessage_Nested) ProtoMessage

func (*NotLoggingNestedMessage_Nested) ProtoMessage()

func (*NotLoggingNestedMessage_Nested) Reset

func (m *NotLoggingNestedMessage_Nested) Reset()

func (*NotLoggingNestedMessage_Nested) String

func (*NotLoggingNestedMessage_Nested) XXX_DiscardUnknown

func (m *NotLoggingNestedMessage_Nested) XXX_DiscardUnknown()

func (*NotLoggingNestedMessage_Nested) XXX_Marshal

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

func (*NotLoggingNestedMessage_Nested) XXX_Merge

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

func (*NotLoggingNestedMessage_Nested) XXX_Size

func (m *NotLoggingNestedMessage_Nested) XXX_Size() int

func (*NotLoggingNestedMessage_Nested) XXX_Unmarshal

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

type NotLoggingNumberMessage

type NotLoggingNumberMessage struct {
	FloatValue           float32  `protobuf:"fixed32,1,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"`
	DoubleValue          float64  `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
	Int32Value           int32    `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	Int64Value           int64    `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
	Uint32Value          uint32   `protobuf:"varint,5,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"`
	Uint64Value          uint64   `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
	Sint32Value          int32    `protobuf:"zigzag32,7,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"`
	Sint64Value          int64    `protobuf:"zigzag64,8,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"`
	Fixed32Value         uint32   `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"`
	Fixed64Value         uint64   `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"`
	Sfixed32Value        int32    `protobuf:"fixed32,11,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"`
	Sfixed64Value        int64    `protobuf:"fixed64,12,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("number", &NotLoggingNumberMessage{
	FloatValue:    0.5,
	DoubleValue:   2.2,
	Int32Value:    -3,
	Int64Value:    -4,
	Uint32Value:   5,
	Uint64Value:   6,
	Sint32Value:   -7,
	Sint64Value:   -8,
	Fixed32Value:  9,
	Fixed64Value:  10,
	Sfixed32Value: -11,
	Sfixed64Value: -12,
}))
Output:

{"level":"info","msg":"test","number":{"float_value":0.5,"double_value":2.2,"int32_value":-3,"int64_value":-4,"uint32_value":5,"uint64_value":6,"sint32_value":-7,"sint64_value":-8,"fixed32_value":9,"fixed64_value":10,"sfixed32_value":-11,"sfixed64_value":-12}}

func (*NotLoggingNumberMessage) Descriptor

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

func (*NotLoggingNumberMessage) GetDoubleValue

func (m *NotLoggingNumberMessage) GetDoubleValue() float64

func (*NotLoggingNumberMessage) GetFixed32Value

func (m *NotLoggingNumberMessage) GetFixed32Value() uint32

func (*NotLoggingNumberMessage) GetFixed64Value

func (m *NotLoggingNumberMessage) GetFixed64Value() uint64

func (*NotLoggingNumberMessage) GetFloatValue

func (m *NotLoggingNumberMessage) GetFloatValue() float32

func (*NotLoggingNumberMessage) GetInt32Value

func (m *NotLoggingNumberMessage) GetInt32Value() int32

func (*NotLoggingNumberMessage) GetInt64Value

func (m *NotLoggingNumberMessage) GetInt64Value() int64

func (*NotLoggingNumberMessage) GetSfixed32Value

func (m *NotLoggingNumberMessage) GetSfixed32Value() int32

func (*NotLoggingNumberMessage) GetSfixed64Value

func (m *NotLoggingNumberMessage) GetSfixed64Value() int64

func (*NotLoggingNumberMessage) GetSint32Value

func (m *NotLoggingNumberMessage) GetSint32Value() int32

func (*NotLoggingNumberMessage) GetSint64Value

func (m *NotLoggingNumberMessage) GetSint64Value() int64

func (*NotLoggingNumberMessage) GetUint32Value

func (m *NotLoggingNumberMessage) GetUint32Value() uint32

func (*NotLoggingNumberMessage) GetUint64Value

func (m *NotLoggingNumberMessage) GetUint64Value() uint64

func (*NotLoggingNumberMessage) MarshalLogObject

func (*NotLoggingNumberMessage) ProtoMessage

func (*NotLoggingNumberMessage) ProtoMessage()

func (*NotLoggingNumberMessage) Reset

func (m *NotLoggingNumberMessage) Reset()

func (*NotLoggingNumberMessage) String

func (m *NotLoggingNumberMessage) String() string

func (*NotLoggingNumberMessage) XXX_DiscardUnknown

func (m *NotLoggingNumberMessage) XXX_DiscardUnknown()

func (*NotLoggingNumberMessage) XXX_Marshal

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

func (*NotLoggingNumberMessage) XXX_Merge

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

func (*NotLoggingNumberMessage) XXX_Size

func (m *NotLoggingNumberMessage) XXX_Size() int

func (*NotLoggingNumberMessage) XXX_Unmarshal

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

type NotLoggingOneofMessage

type NotLoggingOneofMessage struct {
	// Types that are valid to be assigned to OneofValue:
	//	*NotLoggingOneofMessage_Int32Value
	//	*NotLoggingOneofMessage_StringValue
	OneofValue           isNotLoggingOneofMessage_OneofValue `protobuf_oneof:"oneof_value"`
	RepeatedOneofValues  []*Oneof                            `protobuf:"bytes,3,rep,name=repeated_oneof_values,json=repeatedOneofValues,proto3" json:"repeated_oneof_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("oneof", &NotLoggingOneofMessage{
	OneofValue: &NotLoggingOneofMessage_Int32Value{Int32Value: 1000},
	RepeatedOneofValues: []*Oneof{
		{
			OneofValue: &Oneof_Int32Value{Int32Value: 1000},
		},
		{
			OneofValue: &Oneof_StringValue{StringValue: "xyz"},
		},
	},
}))
Output:

{"level":"info","msg":"test","oneof":{"int32_value":1000,"repeated_oneof_values":[{"int32_value":1000},{"string_value":"xyz"}]}}

func (*NotLoggingOneofMessage) Descriptor

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

func (*NotLoggingOneofMessage) GetInt32Value

func (m *NotLoggingOneofMessage) GetInt32Value() int32

func (*NotLoggingOneofMessage) GetOneofValue

func (m *NotLoggingOneofMessage) GetOneofValue() isNotLoggingOneofMessage_OneofValue

func (*NotLoggingOneofMessage) GetRepeatedOneofValues

func (m *NotLoggingOneofMessage) GetRepeatedOneofValues() []*Oneof

func (*NotLoggingOneofMessage) GetStringValue

func (m *NotLoggingOneofMessage) GetStringValue() string

func (*NotLoggingOneofMessage) MarshalLogObject

func (*NotLoggingOneofMessage) ProtoMessage

func (*NotLoggingOneofMessage) ProtoMessage()

func (*NotLoggingOneofMessage) Reset

func (m *NotLoggingOneofMessage) Reset()

func (*NotLoggingOneofMessage) String

func (m *NotLoggingOneofMessage) String() string

func (*NotLoggingOneofMessage) XXX_DiscardUnknown

func (m *NotLoggingOneofMessage) XXX_DiscardUnknown()

func (*NotLoggingOneofMessage) XXX_Marshal

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

func (*NotLoggingOneofMessage) XXX_Merge

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

func (*NotLoggingOneofMessage) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*NotLoggingOneofMessage) XXX_Size

func (m *NotLoggingOneofMessage) XXX_Size() int

func (*NotLoggingOneofMessage) XXX_Unmarshal

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

type NotLoggingOneofMessage_Int32Value

type NotLoggingOneofMessage_Int32Value struct {
	Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type NotLoggingOneofMessage_StringValue

type NotLoggingOneofMessage_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type NotLoggingRepeatedNumberMessage

type NotLoggingRepeatedNumberMessage struct {
	FloatValues          []float32 `protobuf:"fixed32,1,rep,packed,name=float_values,json=floatValues,proto3" json:"float_values,omitempty"`
	DoubleValues         []float64 `protobuf:"fixed64,2,rep,packed,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"`
	Int32Values          []int32   `protobuf:"varint,3,rep,packed,name=int32_values,json=int32Values,proto3" json:"int32_values,omitempty"`
	Int64Values          []int64   `protobuf:"varint,4,rep,packed,name=int64_values,json=int64Values,proto3" json:"int64_values,omitempty"`
	Uint32Values         []uint32  `protobuf:"varint,5,rep,packed,name=uint32_values,json=uint32Values,proto3" json:"uint32_values,omitempty"`
	Uint64Values         []uint64  `protobuf:"varint,6,rep,packed,name=uint64_values,json=uint64Values,proto3" json:"uint64_values,omitempty"`
	Sint32Values         []int32   `protobuf:"zigzag32,7,rep,packed,name=sint32_values,json=sint32Values,proto3" json:"sint32_values,omitempty"`
	Sint64Values         []int64   `protobuf:"zigzag64,8,rep,packed,name=sint64_values,json=sint64Values,proto3" json:"sint64_values,omitempty"`
	Fixed32Values        []uint32  `protobuf:"fixed32,9,rep,packed,name=fixed32_values,json=fixed32Values,proto3" json:"fixed32_values,omitempty"`
	Fixed64Values        []uint64  `protobuf:"fixed64,10,rep,packed,name=fixed64_values,json=fixed64Values,proto3" json:"fixed64_values,omitempty"`
	Sfixed32Values       []int32   `protobuf:"fixed32,11,rep,packed,name=sfixed32_values,json=sfixed32Values,proto3" json:"sfixed32_values,omitempty"`
	Sfixed64Values       []int64   `protobuf:"fixed64,12,rep,packed,name=sfixed64_values,json=sfixed64Values,proto3" json:"sfixed64_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("number", &NotLoggingRepeatedNumberMessage{
	FloatValues:    []float32{0.5, 1},
	DoubleValues:   []float64{2.2, 1},
	Int32Values:    []int32{-3, 3},
	Int64Values:    []int64{-4, 4},
	Uint32Values:   []uint32{5, 55},
	Uint64Values:   []uint64{6, 66},
	Sint32Values:   []int32{-7, 7},
	Sint64Values:   []int64{-8, 8},
	Fixed32Values:  []uint32{9, 99},
	Fixed64Values:  []uint64{10, 100},
	Sfixed32Values: []int32{-11, 11},
	Sfixed64Values: []int64{-12, 12},
}))
Output:

{"level":"info","msg":"test","number":{"float_values":[0.5,1],"double_values":[2.2,1],"int32_values":[-3,3],"int64_values":[-4,4],"uint32_values":[5,55],"uint64_values":[6,66],"sint32_values":[-7,7],"sint64_values":[-8,8],"fixed32_values":[9,99],"fixed64_values":[10,100],"sfixed32_values":[-11,11],"sfixed64_values":[-12,12]}}

func (*NotLoggingRepeatedNumberMessage) Descriptor

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

func (*NotLoggingRepeatedNumberMessage) GetDoubleValues

func (m *NotLoggingRepeatedNumberMessage) GetDoubleValues() []float64

func (*NotLoggingRepeatedNumberMessage) GetFixed32Values

func (m *NotLoggingRepeatedNumberMessage) GetFixed32Values() []uint32

func (*NotLoggingRepeatedNumberMessage) GetFixed64Values

func (m *NotLoggingRepeatedNumberMessage) GetFixed64Values() []uint64

func (*NotLoggingRepeatedNumberMessage) GetFloatValues

func (m *NotLoggingRepeatedNumberMessage) GetFloatValues() []float32

func (*NotLoggingRepeatedNumberMessage) GetInt32Values

func (m *NotLoggingRepeatedNumberMessage) GetInt32Values() []int32

func (*NotLoggingRepeatedNumberMessage) GetInt64Values

func (m *NotLoggingRepeatedNumberMessage) GetInt64Values() []int64

func (*NotLoggingRepeatedNumberMessage) GetSfixed32Values

func (m *NotLoggingRepeatedNumberMessage) GetSfixed32Values() []int32

func (*NotLoggingRepeatedNumberMessage) GetSfixed64Values

func (m *NotLoggingRepeatedNumberMessage) GetSfixed64Values() []int64

func (*NotLoggingRepeatedNumberMessage) GetSint32Values

func (m *NotLoggingRepeatedNumberMessage) GetSint32Values() []int32

func (*NotLoggingRepeatedNumberMessage) GetSint64Values

func (m *NotLoggingRepeatedNumberMessage) GetSint64Values() []int64

func (*NotLoggingRepeatedNumberMessage) GetUint32Values

func (m *NotLoggingRepeatedNumberMessage) GetUint32Values() []uint32

func (*NotLoggingRepeatedNumberMessage) GetUint64Values

func (m *NotLoggingRepeatedNumberMessage) GetUint64Values() []uint64

func (*NotLoggingRepeatedNumberMessage) MarshalLogObject

func (*NotLoggingRepeatedNumberMessage) ProtoMessage

func (*NotLoggingRepeatedNumberMessage) ProtoMessage()

func (*NotLoggingRepeatedNumberMessage) Reset

func (*NotLoggingRepeatedNumberMessage) String

func (*NotLoggingRepeatedNumberMessage) XXX_DiscardUnknown

func (m *NotLoggingRepeatedNumberMessage) XXX_DiscardUnknown()

func (*NotLoggingRepeatedNumberMessage) XXX_Marshal

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

func (*NotLoggingRepeatedNumberMessage) XXX_Merge

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

func (*NotLoggingRepeatedNumberMessage) XXX_Size

func (m *NotLoggingRepeatedNumberMessage) XXX_Size() int

func (*NotLoggingRepeatedNumberMessage) XXX_Unmarshal

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

type NotLoggingSimpleMessage

type NotLoggingSimpleMessage struct {
	StringValue          string   `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	BoolValue            bool     `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NotLoggingSimpleMessage) Descriptor

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

func (*NotLoggingSimpleMessage) GetBoolValue

func (m *NotLoggingSimpleMessage) GetBoolValue() bool

func (*NotLoggingSimpleMessage) GetStringValue

func (m *NotLoggingSimpleMessage) GetStringValue() string

func (*NotLoggingSimpleMessage) MarshalLogObject

func (*NotLoggingSimpleMessage) ProtoMessage

func (*NotLoggingSimpleMessage) ProtoMessage()

func (*NotLoggingSimpleMessage) Reset

func (m *NotLoggingSimpleMessage) Reset()

func (*NotLoggingSimpleMessage) String

func (m *NotLoggingSimpleMessage) String() string

func (*NotLoggingSimpleMessage) XXX_DiscardUnknown

func (m *NotLoggingSimpleMessage) XXX_DiscardUnknown()

func (*NotLoggingSimpleMessage) XXX_Marshal

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

func (*NotLoggingSimpleMessage) XXX_Merge

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

func (*NotLoggingSimpleMessage) XXX_Size

func (m *NotLoggingSimpleMessage) XXX_Size() int

func (*NotLoggingSimpleMessage) XXX_Unmarshal

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

type NotLoggingWellKnownTypeMessage

type NotLoggingWellKnownTypeMessage struct {
	Duration             *duration.Duration   `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}
Example
d := ptypes.DurationProto(10 * time.Minute)
t, _ := ptypes.TimestampProto(time.Unix(1502533013, 125892275))
l := zap.NewExample()
l.Info("test", zap.Object("wkt", &NotLoggingWellKnownTypeMessage{
	Duration:  d,
	Timestamp: t,
}))
Output:

{"level":"info","msg":"test","wkt":{"duration":"10m0s","timestamp":"2017-08-12T10:16:53.125Z"}}

func (*NotLoggingWellKnownTypeMessage) Descriptor

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

func (*NotLoggingWellKnownTypeMessage) GetDuration

func (*NotLoggingWellKnownTypeMessage) GetTimestamp

func (*NotLoggingWellKnownTypeMessage) MarshalLogObject

func (*NotLoggingWellKnownTypeMessage) ProtoMessage

func (*NotLoggingWellKnownTypeMessage) ProtoMessage()

func (*NotLoggingWellKnownTypeMessage) Reset

func (m *NotLoggingWellKnownTypeMessage) Reset()

func (*NotLoggingWellKnownTypeMessage) String

func (*NotLoggingWellKnownTypeMessage) XXX_DiscardUnknown

func (m *NotLoggingWellKnownTypeMessage) XXX_DiscardUnknown()

func (*NotLoggingWellKnownTypeMessage) XXX_Marshal

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

func (*NotLoggingWellKnownTypeMessage) XXX_Merge

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

func (*NotLoggingWellKnownTypeMessage) XXX_Size

func (m *NotLoggingWellKnownTypeMessage) XXX_Size() int

func (*NotLoggingWellKnownTypeMessage) XXX_Unmarshal

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

type NumberMessage

type NumberMessage struct {
	FloatValue           float32  `protobuf:"fixed32,1,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"`
	DoubleValue          float64  `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
	Int32Value           int32    `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
	Int64Value           int64    `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
	Uint32Value          uint32   `protobuf:"varint,5,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"`
	Uint64Value          uint64   `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
	Sint32Value          int32    `protobuf:"zigzag32,7,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"`
	Sint64Value          int64    `protobuf:"zigzag64,8,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"`
	Fixed32Value         uint32   `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"`
	Fixed64Value         uint64   `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"`
	Sfixed32Value        int32    `protobuf:"fixed32,11,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"`
	Sfixed64Value        int64    `protobuf:"fixed64,12,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("number", &NumberMessage{
	FloatValue:    0.5,
	DoubleValue:   2.2,
	Int32Value:    -3,
	Int64Value:    -4,
	Uint32Value:   5,
	Uint64Value:   6,
	Sint32Value:   -7,
	Sint64Value:   -8,
	Fixed32Value:  9,
	Fixed64Value:  10,
	Sfixed32Value: -11,
	Sfixed64Value: -12,
}))
Output:

{"level":"info","msg":"test","number":{"float_value":0.5,"double_value":2.2,"int32_value":-3,"int64_value":-4,"uint32_value":5,"uint64_value":6,"sint32_value":-7,"sint64_value":-8,"fixed32_value":9,"fixed64_value":10,"sfixed32_value":-11,"sfixed64_value":-12}}

func (*NumberMessage) Descriptor

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

func (*NumberMessage) GetDoubleValue

func (m *NumberMessage) GetDoubleValue() float64

func (*NumberMessage) GetFixed32Value

func (m *NumberMessage) GetFixed32Value() uint32

func (*NumberMessage) GetFixed64Value

func (m *NumberMessage) GetFixed64Value() uint64

func (*NumberMessage) GetFloatValue

func (m *NumberMessage) GetFloatValue() float32

func (*NumberMessage) GetInt32Value

func (m *NumberMessage) GetInt32Value() int32

func (*NumberMessage) GetInt64Value

func (m *NumberMessage) GetInt64Value() int64

func (*NumberMessage) GetSfixed32Value

func (m *NumberMessage) GetSfixed32Value() int32

func (*NumberMessage) GetSfixed64Value

func (m *NumberMessage) GetSfixed64Value() int64

func (*NumberMessage) GetSint32Value

func (m *NumberMessage) GetSint32Value() int32

func (*NumberMessage) GetSint64Value

func (m *NumberMessage) GetSint64Value() int64

func (*NumberMessage) GetUint32Value

func (m *NumberMessage) GetUint32Value() uint32

func (*NumberMessage) GetUint64Value

func (m *NumberMessage) GetUint64Value() uint64

func (*NumberMessage) MarshalLogObject

func (m *NumberMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*NumberMessage) ProtoMessage

func (*NumberMessage) ProtoMessage()

func (*NumberMessage) Reset

func (m *NumberMessage) Reset()

func (*NumberMessage) String

func (m *NumberMessage) String() string

func (*NumberMessage) XXX_DiscardUnknown

func (m *NumberMessage) XXX_DiscardUnknown()

func (*NumberMessage) XXX_Marshal

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

func (*NumberMessage) XXX_Merge

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

func (*NumberMessage) XXX_Size

func (m *NumberMessage) XXX_Size() int

func (*NumberMessage) XXX_Unmarshal

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

type NumericEnum

type NumericEnum int32
const (
	NumericEnum_ZERO NumericEnum = 0
	NumericEnum_ONE  NumericEnum = 1
	NumericEnum_TWO  NumericEnum = 2
)

func (NumericEnum) EnumDescriptor

func (NumericEnum) EnumDescriptor() ([]byte, []int)

func (NumericEnum) String

func (x NumericEnum) String() string

type Oneof

type Oneof struct {
	// Types that are valid to be assigned to OneofValue:
	//	*Oneof_Int32Value
	//	*Oneof_StringValue
	OneofValue           isOneof_OneofValue `protobuf_oneof:"oneof_value"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Oneof) Descriptor

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

func (*Oneof) GetInt32Value

func (m *Oneof) GetInt32Value() int32

func (*Oneof) GetOneofValue

func (m *Oneof) GetOneofValue() isOneof_OneofValue

func (*Oneof) GetStringValue

func (m *Oneof) GetStringValue() string

func (*Oneof) MarshalLogObject

func (m *Oneof) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) Reset

func (m *Oneof) Reset()

func (*Oneof) String

func (m *Oneof) String() string

func (*Oneof) XXX_DiscardUnknown

func (m *Oneof) XXX_DiscardUnknown()

func (*Oneof) XXX_Marshal

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

func (*Oneof) XXX_Merge

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

func (*Oneof) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Oneof) XXX_Size

func (m *Oneof) XXX_Size() int

func (*Oneof) XXX_Unmarshal

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

type OneofMessage

type OneofMessage struct {
	// Types that are valid to be assigned to OneofValue:
	//	*OneofMessage_Int32Value
	//	*OneofMessage_StringValue
	OneofValue           isOneofMessage_OneofValue `protobuf_oneof:"oneof_value"`
	RepeatedOneofValues  []*Oneof                  `protobuf:"bytes,3,rep,name=repeated_oneof_values,json=repeatedOneofValues,proto3" json:"repeated_oneof_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("oneof", &OneofMessage{
	OneofValue: &OneofMessage_Int32Value{Int32Value: 1000},
	RepeatedOneofValues: []*Oneof{
		{
			OneofValue: &Oneof_Int32Value{Int32Value: 1000},
		},
		{
			OneofValue: &Oneof_StringValue{StringValue: "xyz"},
		},
	},
}))
Output:

{"level":"info","msg":"test","oneof":{"int32_value":1000,"repeated_oneof_values":[{"int32_value":1000},{"string_value":"xyz"}]}}

func (*OneofMessage) Descriptor

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

func (*OneofMessage) GetInt32Value

func (m *OneofMessage) GetInt32Value() int32

func (*OneofMessage) GetOneofValue

func (m *OneofMessage) GetOneofValue() isOneofMessage_OneofValue

func (*OneofMessage) GetRepeatedOneofValues

func (m *OneofMessage) GetRepeatedOneofValues() []*Oneof

func (*OneofMessage) GetStringValue

func (m *OneofMessage) GetStringValue() string

func (*OneofMessage) MarshalLogObject

func (m *OneofMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*OneofMessage) ProtoMessage

func (*OneofMessage) ProtoMessage()

func (*OneofMessage) Reset

func (m *OneofMessage) Reset()

func (*OneofMessage) String

func (m *OneofMessage) String() string

func (*OneofMessage) XXX_DiscardUnknown

func (m *OneofMessage) XXX_DiscardUnknown()

func (*OneofMessage) XXX_Marshal

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

func (*OneofMessage) XXX_Merge

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

func (*OneofMessage) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*OneofMessage) XXX_Size

func (m *OneofMessage) XXX_Size() int

func (*OneofMessage) XXX_Unmarshal

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

type OneofMessage_Int32Value

type OneofMessage_Int32Value struct {
	Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type OneofMessage_StringValue

type OneofMessage_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Oneof_Int32Value

type Oneof_Int32Value struct {
	Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type Oneof_StringValue

type Oneof_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type RepeatedNumberMessage

type RepeatedNumberMessage struct {
	FloatValues          []float32 `protobuf:"fixed32,1,rep,packed,name=float_values,json=floatValues,proto3" json:"float_values,omitempty"`
	DoubleValues         []float64 `protobuf:"fixed64,2,rep,packed,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"`
	Int32Values          []int32   `protobuf:"varint,3,rep,packed,name=int32_values,json=int32Values,proto3" json:"int32_values,omitempty"`
	Int64Values          []int64   `protobuf:"varint,4,rep,packed,name=int64_values,json=int64Values,proto3" json:"int64_values,omitempty"`
	Uint32Values         []uint32  `protobuf:"varint,5,rep,packed,name=uint32_values,json=uint32Values,proto3" json:"uint32_values,omitempty"`
	Uint64Values         []uint64  `protobuf:"varint,6,rep,packed,name=uint64_values,json=uint64Values,proto3" json:"uint64_values,omitempty"`
	Sint32Values         []int32   `protobuf:"zigzag32,7,rep,packed,name=sint32_values,json=sint32Values,proto3" json:"sint32_values,omitempty"`
	Sint64Values         []int64   `protobuf:"zigzag64,8,rep,packed,name=sint64_values,json=sint64Values,proto3" json:"sint64_values,omitempty"`
	Fixed32Values        []uint32  `protobuf:"fixed32,9,rep,packed,name=fixed32_values,json=fixed32Values,proto3" json:"fixed32_values,omitempty"`
	Fixed64Values        []uint64  `protobuf:"fixed64,10,rep,packed,name=fixed64_values,json=fixed64Values,proto3" json:"fixed64_values,omitempty"`
	Sfixed32Values       []int32   `protobuf:"fixed32,11,rep,packed,name=sfixed32_values,json=sfixed32Values,proto3" json:"sfixed32_values,omitempty"`
	Sfixed64Values       []int64   `protobuf:"fixed64,12,rep,packed,name=sfixed64_values,json=sfixed64Values,proto3" json:"sfixed64_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}
Example
l := zap.NewExample()
l.Info("test", zap.Object("number", &RepeatedNumberMessage{
	FloatValues:    []float32{0.5, 1},
	DoubleValues:   []float64{2.2, 1},
	Int32Values:    []int32{-3, 3},
	Int64Values:    []int64{-4, 4},
	Uint32Values:   []uint32{5, 55},
	Uint64Values:   []uint64{6, 66},
	Sint32Values:   []int32{-7, 7},
	Sint64Values:   []int64{-8, 8},
	Fixed32Values:  []uint32{9, 99},
	Fixed64Values:  []uint64{10, 100},
	Sfixed32Values: []int32{-11, 11},
	Sfixed64Values: []int64{-12, 12},
}))
Output:

{"level":"info","msg":"test","number":{"float_values":[0.5,1],"double_values":[2.2,1],"int32_values":[-3,3],"int64_values":[-4,4],"uint32_values":[5,55],"uint64_values":[6,66],"sint32_values":[-7,7],"sint64_values":[-8,8],"fixed32_values":[9,99],"fixed64_values":[10,100],"sfixed32_values":[-11,11],"sfixed64_values":[-12,12]}}

func (*RepeatedNumberMessage) Descriptor

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

func (*RepeatedNumberMessage) GetDoubleValues

func (m *RepeatedNumberMessage) GetDoubleValues() []float64

func (*RepeatedNumberMessage) GetFixed32Values

func (m *RepeatedNumberMessage) GetFixed32Values() []uint32

func (*RepeatedNumberMessage) GetFixed64Values

func (m *RepeatedNumberMessage) GetFixed64Values() []uint64

func (*RepeatedNumberMessage) GetFloatValues

func (m *RepeatedNumberMessage) GetFloatValues() []float32

func (*RepeatedNumberMessage) GetInt32Values

func (m *RepeatedNumberMessage) GetInt32Values() []int32

func (*RepeatedNumberMessage) GetInt64Values

func (m *RepeatedNumberMessage) GetInt64Values() []int64

func (*RepeatedNumberMessage) GetSfixed32Values

func (m *RepeatedNumberMessage) GetSfixed32Values() []int32

func (*RepeatedNumberMessage) GetSfixed64Values

func (m *RepeatedNumberMessage) GetSfixed64Values() []int64

func (*RepeatedNumberMessage) GetSint32Values

func (m *RepeatedNumberMessage) GetSint32Values() []int32

func (*RepeatedNumberMessage) GetSint64Values

func (m *RepeatedNumberMessage) GetSint64Values() []int64

func (*RepeatedNumberMessage) GetUint32Values

func (m *RepeatedNumberMessage) GetUint32Values() []uint32

func (*RepeatedNumberMessage) GetUint64Values

func (m *RepeatedNumberMessage) GetUint64Values() []uint64

func (*RepeatedNumberMessage) MarshalLogObject

func (*RepeatedNumberMessage) ProtoMessage

func (*RepeatedNumberMessage) ProtoMessage()

func (*RepeatedNumberMessage) Reset

func (m *RepeatedNumberMessage) Reset()

func (*RepeatedNumberMessage) String

func (m *RepeatedNumberMessage) String() string

func (*RepeatedNumberMessage) XXX_DiscardUnknown

func (m *RepeatedNumberMessage) XXX_DiscardUnknown()

func (*RepeatedNumberMessage) XXX_Marshal

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

func (*RepeatedNumberMessage) XXX_Merge

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

func (*RepeatedNumberMessage) XXX_Size

func (m *RepeatedNumberMessage) XXX_Size() int

func (*RepeatedNumberMessage) XXX_Unmarshal

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

type SimpleMessage

type SimpleMessage struct {
	StringValue          string   `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
	BoolValue            bool     `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SimpleMessage) Descriptor

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

func (*SimpleMessage) GetBoolValue

func (m *SimpleMessage) GetBoolValue() bool

func (*SimpleMessage) GetStringValue

func (m *SimpleMessage) GetStringValue() string

func (*SimpleMessage) MarshalLogObject

func (m *SimpleMessage) MarshalLogObject(enc go_uber_org_zap_zapcore.ObjectEncoder) error

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) Reset

func (m *SimpleMessage) Reset()

func (*SimpleMessage) String

func (m *SimpleMessage) String() string

func (*SimpleMessage) XXX_DiscardUnknown

func (m *SimpleMessage) XXX_DiscardUnknown()

func (*SimpleMessage) XXX_Marshal

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

func (*SimpleMessage) XXX_Merge

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

func (*SimpleMessage) XXX_Size

func (m *SimpleMessage) XXX_Size() int

func (*SimpleMessage) XXX_Unmarshal

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

type WellKnownTypeMessage

type WellKnownTypeMessage struct {
	Duration             *duration.Duration   `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}
Example
d := ptypes.DurationProto(10 * time.Minute)
t, _ := ptypes.TimestampProto(time.Unix(1502533013, 125892275))
l := zap.NewExample()
l.Info("test", zap.Object("wkt", &WellKnownTypeMessage{
	Duration:  d,
	Timestamp: t,
}))
Output:

{"level":"info","msg":"test","wkt":{"duration":"10m0s","timestamp":"2017-08-12T10:16:53.125Z"}}

func (*WellKnownTypeMessage) Descriptor

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

func (*WellKnownTypeMessage) GetDuration

func (m *WellKnownTypeMessage) GetDuration() *duration.Duration

func (*WellKnownTypeMessage) GetTimestamp

func (m *WellKnownTypeMessage) GetTimestamp() *timestamp.Timestamp

func (*WellKnownTypeMessage) MarshalLogObject

func (*WellKnownTypeMessage) ProtoMessage

func (*WellKnownTypeMessage) ProtoMessage()

func (*WellKnownTypeMessage) Reset

func (m *WellKnownTypeMessage) Reset()

func (*WellKnownTypeMessage) String

func (m *WellKnownTypeMessage) String() string

func (*WellKnownTypeMessage) XXX_DiscardUnknown

func (m *WellKnownTypeMessage) XXX_DiscardUnknown()

func (*WellKnownTypeMessage) XXX_Marshal

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

func (*WellKnownTypeMessage) XXX_Merge

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

func (*WellKnownTypeMessage) XXX_Size

func (m *WellKnownTypeMessage) XXX_Size() int

func (*WellKnownTypeMessage) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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