// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: meta/v1alpha1/status.proto

package v1alpha1

import (
	bytes "bytes"
	fmt "fmt"
	github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
	proto "github.com/gogo/protobuf/proto"
	_ "github.com/gogo/protobuf/types"
	_ "istio.io/api/analysis/v1alpha1"
	_ "istio.io/gogo-genproto/googleapis/google/api"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// MarshalJSON is a custom marshaler for IstioStatus
func (this *IstioStatus) MarshalJSON() ([]byte, error) {
	str, err := StatusMarshaler.MarshalToString(this)
	return []byte(str), err
}

// UnmarshalJSON is a custom unmarshaler for IstioStatus
func (this *IstioStatus) UnmarshalJSON(b []byte) error {
	return StatusUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}

// MarshalJSON is a custom marshaler for IstioCondition
func (this *IstioCondition) MarshalJSON() ([]byte, error) {
	str, err := StatusMarshaler.MarshalToString(this)
	return []byte(str), err
}

// UnmarshalJSON is a custom unmarshaler for IstioCondition
func (this *IstioCondition) UnmarshalJSON(b []byte) error {
	return StatusUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}

var (
	StatusMarshaler   = &github_com_gogo_protobuf_jsonpb.Marshaler{}
	StatusUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{AllowUnknownFields: true}
)
