func (mwoc *MessageWithOptionalsCreate) SetUUIDOptional(u uuid.UUID) *MessageWithOptionalsCreate {
	mwoc.mutation.SetUUIDOptional(u)
	return mwoc
}
SetUUIDOptional sets the "uuid_optional" field.
package ent
import (
	"context"
	"fmt"
	"time"
	"entgo.io/contrib/entproto/internal/entprototest/ent/messagewithoptionals"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
	"github.com/google/uuid"
)
type MessageWithOptionalsCreate struct {
	config
	mutation *MessageWithOptionalsMutation
	hooks    []Hook
}
func (mwoc *MessageWithOptionalsCreate) SetStrOptional(s string) *MessageWithOptionalsCreate {
	mwoc.mutation.SetStrOptional(s)
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetNillableStrOptional(s *string) *MessageWithOptionalsCreate {
	if s != nil {
		mwoc.SetStrOptional(*s)
	}
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetIntOptional(i int8) *MessageWithOptionalsCreate {
	mwoc.mutation.SetIntOptional(i)
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetNillableIntOptional(i *int8) *MessageWithOptionalsCreate {
	if i != nil {
		mwoc.SetIntOptional(*i)
	}
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetUintOptional(u uint8) *MessageWithOptionalsCreate {
	mwoc.mutation.SetUintOptional(u)
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetNillableUintOptional(u *uint8) *MessageWithOptionalsCreate {
	if u != nil {
		mwoc.SetUintOptional(*u)
	}
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetFloatOptional(f float32) *MessageWithOptionalsCreate {
	mwoc.mutation.SetFloatOptional(f)
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetNillableFloatOptional(f *float32) *MessageWithOptionalsCreate {
	if f != nil {
		mwoc.SetFloatOptional(*f)
	}
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetBoolOptional(b bool) *MessageWithOptionalsCreate {
	mwoc.mutation.SetBoolOptional(b)
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetNillableBoolOptional(b *bool) *MessageWithOptionalsCreate {
	if b != nil {
		mwoc.SetBoolOptional(*b)
	}
	return mwoc
}
func (mwoc *MessageWithOptionalsCreate) SetBytesOptional(b []byte) *MessageWithOptionalsCreate {
	mwoc.mutation.SetBytesOptional(b)
	return mwoc
}