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: store/sample_instance.proto
package store
func (x *SaaSSampleInstanceSetupPayload) Equal(y *SaaSSampleInstanceSetupPayload) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if x.ProjectId != y.ProjectId {
return false
}
if x.InstanceId != y.InstanceId {
return false
}
if x.Title != y.Title {
return false
}
if p, q := x.EnvironmentId, y.EnvironmentId; (p == nil && q != nil) || (p != nil && (q == nil || *p != *q)) {
return false
}
if x.DatabaseName != y.DatabaseName {
return false
}
if x.RoleName != y.RoleName {
return false
}
return true
}
func (x *SelfHostSampleInstanceSetupPayload_Instance) Equal(y *SelfHostSampleInstanceSetupPayload_Instance) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if x.InstanceId != y.InstanceId {
return false
}
if x.Title != y.Title {
return false
}
if p, q := x.EnvironmentId, y.EnvironmentId; (p == nil && q != nil) || (p != nil && (q == nil || *p != *q)) {
return false
}
if x.PortOffset != y.PortOffset {
return false
}
if x.DatabaseName != y.DatabaseName {
return false
}
if x.RoleName != y.RoleName {
return false
}
if p, q := x.ProjectId, y.ProjectId; (p == nil && q != nil) || (p != nil && (q == nil || *p != *q)) {
return false
}
return true
}
func (x *SelfHostSampleInstanceSetupPayload) Equal(y *SelfHostSampleInstanceSetupPayload) bool {
if x == y {
return true
}
if x == nil || y == nil {
return x == nil && y == nil
}
if len(x.Instances) != len(y.Instances) {
return false
}
for i := 0; i < len(x.Instances); i++ {
if !x.Instances[i].Equal(y.Instances[i]) {
return false
}
}
return true
}