func (x MyEnumWithEnumStringer) MarshalJSON() ([]byte, error) { return proto.MarshalJSONEnum(MyEnumWithEnumStringer_name, int32(x)) }
func (x MyCustomUnprefixedEnum) MarshalJSON() ([]byte, error) { return proto.MarshalJSONEnum(MyCustomUnprefixedEnum_name, int32(x)) }
func (x TheTestEnum) MarshalJSON() ([]byte, error) { return proto.MarshalJSONEnum(TheTestEnum_name, int32(x)) }