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

package trino

func (m *AccessControlConfig) SetCatalogs(v []*CatalogAccessRule) {
	m.Catalogs = v
}

func (m *AccessControlConfig) SetSchemas(v []*SchemaAccessRule) {
	m.Schemas = v
}

func (m *AccessControlConfig) SetTables(v []*TableAccessRule) {
	m.Tables = v
}

func (m *AccessControlConfig) SetFunctions(v []*FunctionAccessRule) {
	m.Functions = v
}

func (m *AccessControlConfig) SetProcedures(v []*ProcedureAccessRule) {
	m.Procedures = v
}

func (m *AccessControlConfig) SetQueries(v []*QueryAccessRule) {
	m.Queries = v
}

func (m *AccessControlConfig) SetSystemSessionProperties(v []*SystemSessionPropertyAccessRule) {
	m.SystemSessionProperties = v
}

func (m *AccessControlConfig) SetCatalogSessionProperties(v []*CatalogSessionPropertyAccessRule) {
	m.CatalogSessionProperties = v
}

type CatalogAccessRuleMatcher_MatchBy = isCatalogAccessRuleMatcher_MatchBy

func (m *CatalogAccessRuleMatcher) SetMatchBy(v CatalogAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *CatalogAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &CatalogAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *CatalogAccessRuleMatcher) SetIds(v *CatalogAccessRuleMatcher_CatalogIds) {
	m.MatchBy = &CatalogAccessRuleMatcher_Ids{
		Ids: v,
	}
}

func (m *CatalogAccessRuleMatcher) SetNames(v *CatalogAccessRuleMatcher_CatalogNames) {
	m.MatchBy = &CatalogAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *CatalogAccessRuleMatcher_CatalogIds) SetAny(v []string) {
	m.Any = v
}

func (m *CatalogAccessRuleMatcher_CatalogNames) SetAny(v []string) {
	m.Any = v
}

type SchemaAccessRuleMatcher_MatchBy = isSchemaAccessRuleMatcher_MatchBy

func (m *SchemaAccessRuleMatcher) SetMatchBy(v SchemaAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *SchemaAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &SchemaAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *SchemaAccessRuleMatcher) SetNames(v *SchemaAccessRuleMatcher_SchemaNames) {
	m.MatchBy = &SchemaAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *SchemaAccessRuleMatcher_SchemaNames) SetAny(v []string) {
	m.Any = v
}

type TableAccessRuleMatcher_MatchBy = isTableAccessRuleMatcher_MatchBy

func (m *TableAccessRuleMatcher) SetMatchBy(v TableAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *TableAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &TableAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *TableAccessRuleMatcher) SetNames(v *TableAccessRuleMatcher_TableNames) {
	m.MatchBy = &TableAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *TableAccessRuleMatcher_TableNames) SetAny(v []string) {
	m.Any = v
}

type FunctionAccessRuleMatcher_MatchBy = isFunctionAccessRuleMatcher_MatchBy

func (m *FunctionAccessRuleMatcher) SetMatchBy(v FunctionAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *FunctionAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &FunctionAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *FunctionAccessRuleMatcher) SetNames(v *FunctionAccessRuleMatcher_FunctionNames) {
	m.MatchBy = &FunctionAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *FunctionAccessRuleMatcher_FunctionNames) SetAny(v []string) {
	m.Any = v
}

type ProcedureAccessRuleMatcher_MatchBy = isProcedureAccessRuleMatcher_MatchBy

func (m *ProcedureAccessRuleMatcher) SetMatchBy(v ProcedureAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *ProcedureAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &ProcedureAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *ProcedureAccessRuleMatcher) SetNames(v *ProcedureAccessRuleMatcher_ProcedureNames) {
	m.MatchBy = &ProcedureAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *ProcedureAccessRuleMatcher_ProcedureNames) SetAny(v []string) {
	m.Any = v
}

type PropertyAccessRuleMatcher_MatchBy = isPropertyAccessRuleMatcher_MatchBy

func (m *PropertyAccessRuleMatcher) SetMatchBy(v PropertyAccessRuleMatcher_MatchBy) {
	m.MatchBy = v
}

func (m *PropertyAccessRuleMatcher) SetNameRegexp(v string) {
	m.MatchBy = &PropertyAccessRuleMatcher_NameRegexp{
		NameRegexp: v,
	}
}

func (m *PropertyAccessRuleMatcher) SetNames(v *PropertyAccessRuleMatcher_PropertyNames) {
	m.MatchBy = &PropertyAccessRuleMatcher_Names{
		Names: v,
	}
}

func (m *PropertyAccessRuleMatcher_PropertyNames) SetAny(v []string) {
	m.Any = v
}

func (m *CatalogAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *CatalogAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *CatalogAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *CatalogAccessRule) SetPermission(v CatalogAccessRule_Permission) {
	m.Permission = v
}

func (m *CatalogAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *SchemaAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *SchemaAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *SchemaAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *SchemaAccessRule) SetSchema(v *SchemaAccessRuleMatcher) {
	m.Schema = v
}

func (m *SchemaAccessRule) SetOwner(v SchemaAccessRule_Owner) {
	m.Owner = v
}

func (m *SchemaAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *TableAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *TableAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *TableAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *TableAccessRule) SetSchema(v *SchemaAccessRuleMatcher) {
	m.Schema = v
}

func (m *TableAccessRule) SetTable(v *TableAccessRuleMatcher) {
	m.Table = v
}

func (m *TableAccessRule) SetPrivileges(v []TableAccessRule_Privilege) {
	m.Privileges = v
}

func (m *TableAccessRule) SetColumns(v []*TableAccessRule_Column) {
	m.Columns = v
}

func (m *TableAccessRule) SetFilter(v string) {
	m.Filter = v
}

func (m *TableAccessRule) SetDescription(v string) {
	m.Description = v
}

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

func (m *TableAccessRule_Column) SetAccess(v TableAccessRule_Column_AccessMode) {
	m.Access = v
}

func (m *TableAccessRule_Column) SetMask(v string) {
	m.Mask = v
}

func (m *FunctionAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *FunctionAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *FunctionAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *FunctionAccessRule) SetSchema(v *SchemaAccessRuleMatcher) {
	m.Schema = v
}

func (m *FunctionAccessRule) SetFunction(v *FunctionAccessRuleMatcher) {
	m.Function = v
}

func (m *FunctionAccessRule) SetPrivileges(v []FunctionAccessRule_Privilege) {
	m.Privileges = v
}

func (m *FunctionAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *ProcedureAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *ProcedureAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *ProcedureAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *ProcedureAccessRule) SetSchema(v *SchemaAccessRuleMatcher) {
	m.Schema = v
}

func (m *ProcedureAccessRule) SetProcedure(v *ProcedureAccessRuleMatcher) {
	m.Procedure = v
}

func (m *ProcedureAccessRule) SetPrivileges(v []ProcedureAccessRule_Privilege) {
	m.Privileges = v
}

func (m *ProcedureAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *QueryAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *QueryAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *QueryAccessRule) SetQueryOwners(v []string) {
	m.QueryOwners = v
}

func (m *QueryAccessRule) SetPrivileges(v []QueryAccessRule_Privilege) {
	m.Privileges = v
}

func (m *QueryAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *SystemSessionPropertyAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *SystemSessionPropertyAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *SystemSessionPropertyAccessRule) SetProperty(v *PropertyAccessRuleMatcher) {
	m.Property = v
}

func (m *SystemSessionPropertyAccessRule) SetAllow(v SystemSessionPropertyAccessRule_Allow) {
	m.Allow = v
}

func (m *SystemSessionPropertyAccessRule) SetDescription(v string) {
	m.Description = v
}

func (m *CatalogSessionPropertyAccessRule) SetUsers(v []string) {
	m.Users = v
}

func (m *CatalogSessionPropertyAccessRule) SetGroups(v []string) {
	m.Groups = v
}

func (m *CatalogSessionPropertyAccessRule) SetCatalog(v *CatalogAccessRuleMatcher) {
	m.Catalog = v
}

func (m *CatalogSessionPropertyAccessRule) SetProperty(v *PropertyAccessRuleMatcher) {
	m.Property = v
}

func (m *CatalogSessionPropertyAccessRule) SetAllow(v CatalogSessionPropertyAccessRule_Allow) {
	m.Allow = v
}

func (m *CatalogSessionPropertyAccessRule) SetDescription(v string) {
	m.Description = v
}
