// Code generated by protoc-gen-goext. DO NOT EDIT.

package postgresql

import (
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

func (m *User) SetName(v string) {
	m.Name = v
}

func (m *User) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *User) SetPermissions(v []*Permission) {
	m.Permissions = v
}

func (m *User) SetConnLimit(v int64) {
	m.ConnLimit = v
}

func (m *User) SetSettings(v *UserSettings) {
	m.Settings = v
}

func (m *User) SetLogin(v *wrapperspb.BoolValue) {
	m.Login = v
}

func (m *User) SetGrants(v []string) {
	m.Grants = v
}

func (m *User) SetDeletionProtection(v *wrapperspb.BoolValue) {
	m.DeletionProtection = v
}

func (m *User) SetUserPasswordEncryption(v UserPasswordEncryption) {
	m.UserPasswordEncryption = v
}

func (m *User) SetConnectionManager(v *ConnectionManager) {
	m.ConnectionManager = v
}

func (m *User) SetAuthMethod(v AuthMethod) {
	m.AuthMethod = v
}

func (m *Permission) SetDatabaseName(v string) {
	m.DatabaseName = v
}

func (m *ConnectionManager) SetConnectionId(v string) {
	m.ConnectionId = v
}

func (m *UserSpec) SetName(v string) {
	m.Name = v
}

func (m *UserSpec) SetPassword(v string) {
	m.Password = v
}

func (m *UserSpec) SetPermissions(v []*Permission) {
	m.Permissions = v
}

func (m *UserSpec) SetConnLimit(v *wrapperspb.Int64Value) {
	m.ConnLimit = v
}

func (m *UserSpec) SetSettings(v *UserSettings) {
	m.Settings = v
}

func (m *UserSpec) SetLogin(v *wrapperspb.BoolValue) {
	m.Login = v
}

func (m *UserSpec) SetGrants(v []string) {
	m.Grants = v
}

func (m *UserSpec) SetDeletionProtection(v *wrapperspb.BoolValue) {
	m.DeletionProtection = v
}

func (m *UserSpec) SetUserPasswordEncryption(v UserPasswordEncryption) {
	m.UserPasswordEncryption = v
}

func (m *UserSpec) SetGeneratePassword(v *wrapperspb.BoolValue) {
	m.GeneratePassword = v
}

func (m *UserSpec) SetAuthMethod(v AuthMethod) {
	m.AuthMethod = v
}

func (m *PGAuditSettings) SetLog(v []PGAuditSettings_PGAuditSettingsLog) {
	m.Log = v
}

func (m *UserSettings) SetDefaultTransactionIsolation(v UserSettings_TransactionIsolation) {
	m.DefaultTransactionIsolation = v
}

func (m *UserSettings) SetLockTimeout(v *wrapperspb.Int64Value) {
	m.LockTimeout = v
}

func (m *UserSettings) SetLogMinDurationStatement(v *wrapperspb.Int64Value) {
	m.LogMinDurationStatement = v
}

func (m *UserSettings) SetSynchronousCommit(v UserSettings_SynchronousCommit) {
	m.SynchronousCommit = v
}

func (m *UserSettings) SetTempFileLimit(v *wrapperspb.Int64Value) {
	m.TempFileLimit = v
}

func (m *UserSettings) SetLogStatement(v UserSettings_LogStatement) {
	m.LogStatement = v
}

func (m *UserSettings) SetPoolMode(v UserSettings_PoolingMode) {
	m.PoolMode = v
}

func (m *UserSettings) SetPreparedStatementsPooling(v *wrapperspb.BoolValue) {
	m.PreparedStatementsPooling = v
}

func (m *UserSettings) SetCatchupTimeout(v *wrapperspb.Int64Value) {
	m.CatchupTimeout = v
}

func (m *UserSettings) SetWalSenderTimeout(v *wrapperspb.Int64Value) {
	m.WalSenderTimeout = v
}

func (m *UserSettings) SetIdleInTransactionSessionTimeout(v *wrapperspb.Int64Value) {
	m.IdleInTransactionSessionTimeout = v
}

func (m *UserSettings) SetStatementTimeout(v *wrapperspb.Int64Value) {
	m.StatementTimeout = v
}

func (m *UserSettings) SetPgaudit(v *PGAuditSettings) {
	m.Pgaudit = v
}
