Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
// Code generated by protoc-gen-equal-go. DO NOT EDIT.
// source: v1/common.proto
package v1
func (x *Position) Equal(y *Position) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if x.Line != y.Line {
return false
}
if x.Column != y.Column {
return false
}
return true
}
func (x *Range) Equal(y *Range) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if x.Start != y.Start {
return false
}
if x.End != y.End {
return false
}
return true
}
func (x *PermissionDeniedDetail) Equal(y *PermissionDeniedDetail) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if x.Method != y.Method {
return false
}
if len(x.RequiredPermissions) != len(y.RequiredPermissions) {
return false
}
for i := 0; i < len(x.RequiredPermissions); i++ {
if x.RequiredPermissions[i] != y.RequiredPermissions[i] {
return false
}
}
if len(x.Resources) != len(y.Resources) {
return false
}
for i := 0; i < len(x.Resources); i++ {
if x.Resources[i] != y.Resources[i] {
return false
}
}
return true
}