// MarshalLogObject implements zapcore.ObjectMarshaler, enabling
// fast logging of Bools.
181061
func (v *Bools) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.ImTrue != nil {
		enc.AddBool("im_true", *v.ImTrue)
	}
	if v.ImFalse != nil {
		enc.AddBool("im_false", *v.ImFalse)
	}
	return err
}
277277
func (v *NestedListsI32x3) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Integerlist != nil {
		err = multierr.Append(err, enc.AddArray("integerlist", (_List_List_List_I32_Zapper)(v.Integerlist)))
	}
	return err
}
44214
func (v *RPC) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("spanContext", base64.StdEncoding.EncodeToString(v.SpanContext))
	enc.AddString("callerName", v.CallerName)
	enc.AddString("serviceName", v.ServiceName)
	enc.AddString("encoding", v.Encoding)
	enc.AddString("procedure", v.Procedure)
	if v.Headers != nil {
		err = multierr.Append(err, enc.AddObject("headers", (_Map_String_String_Zapper)(v.Headers)))
	}
	if v.ShardKey != nil {
		enc.AddString("shardKey", *v.ShardKey)
	}
	if v.RoutingKey != nil {
		enc.AddString("routingKey", *v.RoutingKey)
	}
	if v.RoutingDelegate != nil {
		enc.AddString("routingDelegate", *v.RoutingDelegate)
	}
	if v.Body != nil {
		enc.AddString("body", base64.StdEncoding.EncodeToString(v.Body))
	}
	return err
}
209906
func (v _Map_I32_Set_String_Item_Zapper) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	enc.AddInt32("key", v.Key)
	err = multierr.Append(err, enc.AddArray("value", (_Set_String_Zapper)(v.Value)))
	return err
}
168936
func (v *Hello_Sink_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Snk != nil {
		err = multierr.Append(err, enc.AddObject("snk", v.Snk))
	}
	return err
}
261825
func (v _Map_ModuleID_Module_Item_Zapper) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	enc.AddInt32("key", (int32)(v.Key))
	err = multierr.Append(err, enc.AddObject("value", v.Value))
	return err
}
374297
func (v *ServiceGenerator_Generate_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Request != nil {
		err = multierr.Append(err, enc.AddObject("request", v.Request))
	}
	return err
}
381465
func (p Procedure) MarshalLogObject(enc zapcore.ObjectEncoder) error {
	// Passing a Procedure as a zap.ObjectMarshaler allocates, so we shouldn't
	// do it on the request path.
	enc.AddString("name", p.Name)
	enc.AddString("service", p.Service)
	enc.AddString("encoding", string(p.Encoding))
	enc.AddString("signature", p.Signature)
	return enc.AddObject("handler", p.HandlerSpec)
}
315636
func MarshalKubeadmConfigObject(obj runtime.Object) ([]byte, error) {
	switch internalcfg := obj.(type) {
	case *kubeadmapi.InitConfiguration:
		return MarshalInitConfigurationToBytes(internalcfg, kubeadmapiv1beta2.SchemeGroupVersion)
	case *kubeadmapi.ClusterConfiguration:
		return MarshalClusterConfigurationToBytes(internalcfg, kubeadmapiv1beta2.SchemeGroupVersion)
	default:
		return kubeadmutil.MarshalToYamlForCodecs(obj, kubeadmapiv1beta2.SchemeGroupVersion, kubeadmscheme.Codecs)
	}
}
20877
func (v *LargeDeltas) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.B1 != nil {
		err = multierr.Append(err, enc.AddObject("b1", v.B1))
	}
	if v.B10 != nil {
		err = multierr.Append(err, enc.AddObject("b10", v.B10))
	}
	if v.B100 != nil {
		err = multierr.Append(err, enc.AddObject("b100", v.B100))
	}
	if v.CheckTrue != nil {
		enc.AddBool("check_true", *v.CheckTrue)
	}
	if v.B1000 != nil {
		err = multierr.Append(err, enc.AddObject("b1000", v.B1000))
	}
	if v.CheckFalse != nil {
		enc.AddBool("check_false", *v.CheckFalse)
	}
	if v.Vertwo2000 != nil {
		err = multierr.Append(err, enc.AddObject("vertwo2000", v.Vertwo2000))
	}
	if v.ASet2500 != nil {
		err = multierr.Append(err, enc.AddArray("a_set2500", (_Set_String_Zapper)(v.ASet2500)))
	}
	if v.Vertwo3000 != nil {
		err = multierr.Append(err, enc.AddObject("vertwo3000", v.Vertwo3000))
	}
	if v.BigNumbers != nil {
		err = multierr.Append(err, enc.AddArray("big_numbers", (_List_I32_Zapper)(v.BigNumbers)))
	}
	return err
}
701348
func (v *Service) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("name", v.Name)
	enc.AddString("thriftName", v.ThriftName)
	if v.ParentID != nil {
		enc.AddInt32("parentID", (int32)(*v.ParentID))
	}
	err = multierr.Append(err, enc.AddArray("functions", (_List_Function_Zapper)(v.Functions)))
	enc.AddInt32("moduleID", (int32)(v.ModuleID))
	if v.Annotations != nil {
		err = multierr.Append(err, enc.AddObject("annotations", (_Map_String_String_Zapper)(v.Annotations)))
	}
	return err
}
1056773
func (v *NestedListsI32x2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Integerlist != nil {
		err = multierr.Append(err, enc.AddArray("integerlist", (_List_List_I32_Zapper)(v.Integerlist)))
	}
	return err
}
1146811
func (b BoolOption) MarshalTo(data []byte) (int, error) {
	return b.protoType().MarshalTo(data)
}
974921
func (h HandlerSpec) MarshalLogObject(enc zapcore.ObjectEncoder) error {
	enc.AddString("rpcType", h.t.String())
	return nil
}
635197
func (b *Bool) MarshalJSON() ([]byte, error) {
	if b == nil || !b.Valid {
		return []byte("null"), nil
	}

	return json.Marshal(b.Bool)
}
1096091
func (v *SinkRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	enc.AddString("message", v.Message)
	return err
}
805694
func (v *OneField) MarshalLogObject(enc zapcore.ObjectEncoder) (err error) {
	if v == nil {
		return nil
	}
	if v.Field != nil {
		err = multierr.Append(err, enc.AddObject("field", v.Field))
	}
	return err
}