public override int GetHashCode() { int hash = 1; if (GlobalTxId.Length != 0) { hash ^= GlobalTxId.GetHashCode(); } if (LocalTxId.Length != 0) { hash ^= LocalTxId.GetHashCode(); } if (ParentTxId.Length != 0) { hash ^= ParentTxId.GetHashCode(); } if (CompensationMethod.Length != 0) { hash ^= CompensationMethod.GetHashCode(); } if (Payloads.Length != 0) { hash ^= Payloads.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Timestamp != 0L) { hash ^= Timestamp.GetHashCode(); } if (GlobalTxId.Length != 0) { hash ^= GlobalTxId.GetHashCode(); } if (LocalTxId.Length != 0) { hash ^= LocalTxId.GetHashCode(); } if (ParentTxId.Length != 0) { hash ^= ParentTxId.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } if (CompensationMethod.Length != 0) { hash ^= CompensationMethod.GetHashCode(); } if (Payloads.Length != 0) { hash ^= Payloads.GetHashCode(); } if (ServiceName.Length != 0) { hash ^= ServiceName.GetHashCode(); } if (InstanceId.Length != 0) { hash ^= InstanceId.GetHashCode(); } if (Timeout != 0) { hash ^= Timeout.GetHashCode(); } if (Retries != 0) { hash ^= Retries.GetHashCode(); } if (RetryMethod.Length != 0) { hash ^= RetryMethod.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }