func (msg *GateConfig) MarshalJSON() ([]byte, error) {
	var buf bytes.Buffer
	err := (&jsonpb.Marshaler{
		EnumsAsInts:  false,
		EmitDefaults: false,
		OrigName:     false,
	}).Marshal(&buf, msg)
	return buf.Bytes(), err
}
MarshalJSON implements json.Marshaler
package etc
import (
	"bytes"
	"github.com/golang/protobuf/jsonpb"
)