// Code generated by protoc-gen-jsonshim. DO NOT EDIT.
package v1alpha3

import (
	bytes "bytes"
	jsonpb "github.com/golang/protobuf/jsonpb"
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	EnvoyFilterMarshaler   = &jsonpb.Marshaler{}
	EnvoyFilterUnmarshaler = &jsonpb.Unmarshaler{AllowUnknownFields: true}
)
