func (mwpnc *MessageWithPackageNameCreate) SetName(s string) *MessageWithPackageNameCreate {
	mwpnc.mutation.SetName(s)
	return mwpnc
}
SetName sets the "name" field.
package ent
import (
	"context"
	"errors"
	"fmt"
	"entgo.io/contrib/entproto/internal/entprototest/ent/messagewithpackagename"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
)
type MessageWithPackageNameCreate struct {
	config
	mutation *MessageWithPackageNameMutation
	hooks    []Hook
}